From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 045E23F660 for ; Wed, 13 Nov 2002 22:26:26 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gAE3QPf03143 for axp-list@listman.redhat.com; Wed, 13 Nov 2002 22:26:25 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gAE3QPD03139 for ; Wed, 13 Nov 2002 22:26:25 -0500 Received: from skarpsey.dyndns.org (12-237-135-160.client.attbi.com [12.237.135.160]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gAE337w21967 for ; Wed, 13 Nov 2002 22:03:08 -0500 Received: from valhalla (Valhalla.attbi.com [192.168.0.2]) by skarpsey.dyndns.org (8.12.6/8.12.5) with ESMTP id gAE3LSlm026065 for ; Wed, 13 Nov 2002 21:21:30 -0600 Content-Type: text/plain; charset="us-ascii" From: Kelledin To: axp-list@redhat.com Subject: Shared objects+global variables? Date: Wed, 13 Nov 2002 22:21:28 -0500 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Message-Id: <200211132121.28796.kelledin+AXP@skarpsey.dyndns.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by int-mx1.corp.redhat.com id gAE3QPD03139 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: I recently ran into some problems compiling Linux-PAM, and I've traced it back to a deficiency in the current GNU toolchain for alpha (gcc-3.2, glibc-2.2.5, binutils-2.13). Apparently, a shared object is not permitted to reference its own global variables; whenever I try to compile a library that does this, ld complains about "gp-relative relocations" and refuses to link. Is this normal on alpha platforms? It's most certainly not normal on x86... -- Kelledin "If a server crashes in a server farm and no one pings it, does it still cost four figures to fix?"