This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libmudflap/24420] New: mudflap doesnt work with DSOs?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]