Here's the actual process.

It seems that gcc now send the linker flag --as-needed to ld.
This has the effect of discarding any specified libraries that do not have 
symbols that are required for linking.
In the first instance, all the libraries were being discarded be cause there 
were no unresolved symbols then in the linking phase, the symbols could not be 
found.
In the second instance, ld had collected the list of unresolved symbols and 
then found them in the specified libraries and therefore kept them when it came 
to the actual linking phase.

Upon reading the gcc manpage, this is not Ubuntu related.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993991

Title:
  nm and ld cannot find symbols in libblas.so and other files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/993991/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to