https://sourceware.org/bugzilla/show_bug.cgi?id=16428
Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Some of these errors are due to gcc doing the wrong thing when faced with
-static -pie.  I think gcc should report an error, not ld, since it is really
gcc that doesn't support this combination.  Well, that and the fact that your
libc doesn't either.

Theoretically, if gcc were fixed to use the proper startup files for a PIE and
invoke ld properly, and you provided a pic libc.a, *and* you fixed some nasty
issues in ld.so, then it ought to be possible for ld to handle this
combination.

> [no a.out produced]
I disbelieve.  I think you have an a.out there with an incorrect interpreter.

> *** Error in `/usr/bin/ld': corrupted double-linked list: 0x09bfc260 ***
That one does sound like a ld bug.  Maybe you can debug it a little, or bribe
HJ to look into it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to