Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I run `nm -u libc.so on the produced library I still find unresolved symbols. Can this be ok?

0
10 Posted

When I run `nm -u libc.so on the produced library I still find unresolved symbols. Can this be ok?

0
10

{UD} Yes, this is ok. There can be several kinds of unresolved symbols: • magic symbols automatically generated by the linker. These have names like __start_* and __stop_* • symbols starting with _dl_* come from the dynamic linker • weak symbols, which need not be resolved at all (fabs for example) Generally, you should make sure you find a real program which produces errors while linking before deciding there is a problem.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123