This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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 [SOLVED]


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


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