hidden symbol `__divdi3' is referenced by DSO [SOLVED]

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


Thanks Jakub. This was exactly the problem. The link used -nostdlib,
to avoid including the standard libc, but omitted -lgcc. I added -lgcc
to LIBS and my problem was fixed.

Cheers,
Shaun


> This means that newlib was built incorrectly (-lgcc was not linked
> into that shared library).
> 
>         Jakub



More information about the Binutils mailing list