This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/24420] New: mudflap doesnt work with DSOs?
- From: "SLTxLQEc4vuR5kMzK at anime dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2005 04:52:59 -0000
- Subject: [Bug libmudflap/24420] New: mudflap doesnt work with DSOs?
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
dlopen() on a -fmudflap -lmudflap'd DSO fails:
Sys_LoadDll(/home/wolf/.etwolf/etpro/qagame.mp.i386.so) failed:
"/usr/lib/libmudflap.so.0: undefined symbol: _start"
standalone binaries work fine.
$ ldd .etwolf/etpro/qagame.mp.i386.so
linux-gate.so.1 => (0xffffe000)
libmudflap.so.0 => /usr/lib/libmudflap.so.0 (0x55585000)
libm.so.6 => /lib/libm.so.6 (0x5566c000)
libc.so.6 => /lib/libc.so.6 (0x55691000)
libdl.so.2 => /lib/libdl.so.2 (0x557ba000)
/lib/ld-linux.so.2 (0x56555000)
$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)
--
Summary: mudflap doesnt work with DSOs?
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libmudflap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: SLTxLQEc4vuR5kMzK at anime dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24420