On Thu, 23 Jun 2011, Vadim Zeitlin wrote:

I.e. it created a shared library with undefined symbols without any
problems because it never actually passed -no-undefined to g++/ld.

In actual practice, it seems difficult or impossible to build programs under systems like Linux with -no-undefined. I tried this before, but glibc got in the way since it depends on some symbols which are never/rarely defined. Under Linux, programs run just fine with undefined symbols as long as they are never accessed.

I have no idea whether -no-undefined is supposed to work like this but in
any case it seems to me that it's perfectly useless right now. It's not

Not quite useless, but not pedantically useful either.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to