ld -shared -pie vs. unresolved symbols
Tue Jul 3 14:12:00 GMT 2007
"H.J. Lu" <firstname.lastname@example.org> writes:
> On Tue, Jul 03, 2007 at 03:30:36PM +0200, Andreas Schwab wrote:
>> There is a problem with the ia64 linker that it crashes when seeing a
>> R_IA64_PCREL21B relocation against an unresolved symbol, because no PLT
>> has been allocated for it. This can be fixed with the patch below, but
>> I'm not sure whether that combination should be allowed in the first
> Is this the same as
> Does the Linux binutils 126.96.36.199.17 crash?
It silently generates a shared library that crashes at runtime, so I'd
rather ban the combination of -shared with -pie regardless of how the
crash is resolved.
Andreas Schwab, SuSE Labs, email@example.com
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils