This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] Fix for PR bootstrap/58951


On Tue, 12 Nov 2013, Iyer, Balaji V wrote:
>> Are you linking with -nostdlib or something similar?  IIRC those 
>> routines are provided by libc on *bsd*.  On other systems you may need 
>> to link in libdl via -ldl.
> Yes, I am. In my system SUSE, I need to explicitly link it.
>> I'm sure there's autoconf bits to test whether or not -ldl should be 
>> used for any given system.
> Ah Ok. I will dig into it tomorrow. 

Thanks, appreciated!  As a most simple approach, if others prove
too complex, you could start by not linking in -ldl if it does not
exist.  I believe that'd be a strict improvement unbreaking several
non-GNU/Linux platforms by itself.

Gerald


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]