NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/45253: amd64 libgcc_eh.a broken



The following reply was made to PR toolchain/45253; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/45253: amd64 libgcc_eh.a broken
Date: Sun, 14 Aug 2011 22:35:42 +0000

 On Sun, Aug 14, 2011 at 08:15:00PM +0000, martin%NetBSD.org@localhost wrote:
  > ld: /usr/lib/libgcc_eh.a(unwind-dw2.o): relocation R_X86_64_32S against `a 
local symbol' can not be used when making a shared object; recompile with -fPIC
  > /usr/lib/libgcc_eh.a: could not read symbols: Bad value
  > 
  > The R_X86_64_32S relocations in that library are:
  > [...]
  > 
  > I'm not sure how any of those would qualify as "a local symbol".
 
 As I recall in this context "a local symbol" means a .L12345-type
 symbol that no longer has a name in the object file's symbol table, so
 any of them could be.
 
 I guess libgcc_eh should be built with -fPIC if it's needed in .so
 images. And if it's not needed in .so images I expect this means the
 gcc specs are wrong.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index