This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: hidden symbol `__divdi3' is referenced by DSO


I added -lgcc to LIBS and my problem is solved. It seems to me that
every Makefile.am that specifies -nostdlib should also specify -lgcc.
This affects some thirty odd files though.

Cheers,
Shaun


> newlib's libc.so has undefined references to __divdi3 and __udivdi3.
> It seems to me these should have been resolved at the link time of
> libc.so, from libgcc.a. libm.so does not have this problem. I'll see
> if I can find the cause.
> 
> Cheers,
> Shaun


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