[Top][All Lists]

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

-no-undefined support for GNU/Linux

From: Mike Frysinger
Subject: -no-undefined support for GNU/Linux
Date: Wed, 18 Mar 2009 01:22:18 -0400
User-agent: KMail/1.11.1 (Linux/2.6.28; KDE/4.2.1; x86_64; ; )

in a project for a LD_PRELOAD module, i like to use -no-undefined because 
undefined symbols will not work in it at all.  i would like to see a link 
error up front rather than random runtime failures.  googling around shows 
patches from 6-8 years ago.  they refer to an older glibc bug (which at this 
point makes it a bug on decade old systems) that should be accounted for, but 
otherwise there wasnt any response to the proposed patch.  is there any real 
reason for Linux not supporting something so basic as -no-undefined ?  
especially considering it only needs one linker flag (-Wl,--no-undefined) ?

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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