This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GNU/Linux vs. libtool --no-undefined
- To: gcc at gcc dot gnu dot org
- Subject: GNU/Linux vs. libtool --no-undefined
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 05 Feb 2001 21:17:08 -0800
- Organization: CodeSourcery, LLC
First, libtool didn't actually do anything with --no-undefined on
GNU/Linux. It took a while to figure that out.
Second, I get:
/lib/libc.so.6: undefined reference to `_dl_init_next@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1'
These symbols are defined in ld-linux.so. Is it reasonable to link
against that library, or is that harmful? I know it isn't necessary,
but does it hurt?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com