bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into s


From: ian at airs dot com
Subject: [Bug gold/12324] GOLD do not diagnoze when non-PIC code is linked into shared library
Date: Wed, 15 Dec 2010 14:27:06 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12324

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2010-12-15 14:27:03 
UTC ---
But GNU ld is wrong here.  There is absolutely nothing wrong with resolving a
R_X86_64_PC32 reloc when creating a shared library.  There is no need to
recompile with -fPIC if the only problem is a R_X86_64_PC32 reloc.  This does
not look like a bug in gold.

As far as the problems building gold go, there is something strange happening,
because you are picking up yyscript.h from the source directory but getting
yyscript.c from the build directory.  They are both generated files.  Certainly
the simple fix is going to be to delete them from the source directory.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]