From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id h7GHBkN21781 for ; Sat, 16 Aug 2003 13:11:46 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h7GHDQj04289 for axp-list@listman.back-rdu.redhat.com; Sat, 16 Aug 2003 13:13:26 -0400 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 h7GHDQs04285 for ; Sat, 16 Aug 2003 13:13:26 -0400 Received: from skarpsey.home.lan (12-207-41-15.client.attbi.com [12.207.41.15]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h7GHDIt15524 for ; Sat, 16 Aug 2003 13:13:26 -0400 Received: from valhalla.home.lan (valhalla.home.lan [192.168.0.2]) by skarpsey.home.lan (8.12.9/8.12.9) with ESMTP id h7GHE88l025225 for ; Sat, 16 Aug 2003 12:14:08 -0500 From: Kelledin To: axp-list@redhat.com Subject: Re: gp-relative relocation against dynamic symbol SwGlobalDocShell::pObjectFactory Date: Sat, 16 Aug 2003 12:15:52 -0500 User-Agent: KMail/1.5.2 References: <3F3DE4CA.80304@gatworks.com> In-Reply-To: <3F3DE4CA.80304@gatworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308161215.52948.kelledin+AXP@skarpsey.dyndns.org> 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.13 Precedence: junk 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: On Saturday 16 August 2003 03:01 am, Uncle George wrote: > What does this statement mean? I cant tell if its an error or > not > > /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../.. >/../../alphaev56-unknown-linux-gnu/bin/ld: > /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib >/libswlib.a(swlib.o): gp-relative relocation against dynamic > symbol > SwGlobalDocShell::pObjectFactory > /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../.. >/../../alphaev56-unknown-linux-gnu/bin/ld: > /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib >/libswlib.a(swlib.o): gp-relative relocation against dynamic > symbol > SwGlobalDocShell::pObjectFactory > /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2.2/../.. >/../../alphaev56-unknown-linux-gnu/bin/ld: > /mnt/sdb4/redhat/BUILD/oo_1.0.2_src/solver/641/unxlnga.pro/lib >/libswlib.a(swlib.o): gp-relative relocation against dynamic > symbol > SwGlobalDocShell::pObjectFactory > collect2: ld returned 1 exit status That means libswlib.a wasn't compiled with -fpic or -fPIC. Any object file or static library that gets linked to a dynamic library needs to be compiled with -fpic or -fPIC on Alpha, otherwise you're likely to get the "gp-relative relocation" error. -- Kelledin "If a server crashes in a server farm and no one pings it, does it still cost four figures to fix?"