hidden symbol `__divdi3' is referenced by DSO

Shaun Jackman sjackman@gmail.com
Fri Dec 3 19:29:00 GMT 2004


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



More information about the Newlib mailing list