[LLVMbugs] [Bug 10280] New: undefined reference error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 5 05:18:40 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10280

           Summary: undefined reference error
           Product: dragonegg
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I've got the link failure only when dragonegg is used.
Since the linking through the regular gcc goes well without an error I think
it's a dragonegg bug.


Linking CXX executable bin/OcelotConfig
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_lock_error::what() const'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_wait_error::~__concurrence_wait_error()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_wait_error::what() const'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_lock_error::~__concurrence_lock_error()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_unlock_error::~__concurrence_unlock_error()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_broadcast_error::what() const'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_unlock_error::what() const'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_wait_error::~__concurrence_wait_error()'
lib/libocelot.so: undefined reference to
`boost::assign::assignment_exception::what() const'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_unlock_error::~__concurrence_unlock_error()'
lib/libocelot.so: undefined reference to
`boost::assign::assignment_exception::~assignment_exception()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_lock_error::~__concurrence_lock_error()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_broadcast_error::~__concurrence_broadcast_error()'
lib/libocelot.so: undefined reference to
`boost::assign::assignment_exception::~assignment_exception()'
lib/libocelot.so: undefined reference to
`__gnu_cxx::__concurrence_broadcast_error::~__concurrence_broadcast_error()'


$ ldd -r ./lib/libocelot.so

    linux-vdso.so.1 =>  (0x00007fff2954e000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007fc8bbe00000)
    librt.so.1 => /lib/librt.so.1 (0x00007fc8bbbf8000)
    libboost_thread-mt.so.1.46.1 => /usr/lib/libboost_thread-mt.so.1.46.1
(0x00007fc8bb9de000)
    libboost_system-mt.so.1.46.1 => /usr/lib/libboost_system-mt.so.1.46.1
(0x00007fc8bb7db000)
    libLLVMX86CodeGen.so => /usr/lib/libLLVMX86CodeGen.so (0x00007fc8bb41e000)
    libLLVMSelectionDAG.so => /usr/lib/libLLVMSelectionDAG.so
(0x00007fc8bb007000)
    libLLVMAsmPrinter.so => /usr/lib/libLLVMAsmPrinter.so (0x00007fc8badae000)
    libLLVMMCParser.so => /usr/lib/libLLVMMCParser.so (0x00007fc8bab8c000)
    libLLVMX86AsmPrinter.so => /usr/lib/libLLVMX86AsmPrinter.so
(0x00007fc8ba951000)
    libLLVMX86Utils.so => /usr/lib/libLLVMX86Utils.so (0x00007fc8ba74e000)
    libLLVMX86Info.so => /usr/lib/libLLVMX86Info.so (0x00007fc8ba54c000)
    libLLVMAsmParser.so => /usr/lib/libLLVMAsmParser.so (0x00007fc8ba313000)
    libLLVMJIT.so => /usr/lib/libLLVMJIT.so (0x00007fc8ba0e2000)
    libLLVMExecutionEngine.so => /usr/lib/libLLVMExecutionEngine.so
(0x00007fc8b9ec8000)
    libLLVMCodeGen.so => /usr/lib/libLLVMCodeGen.so (0x00007fc8b99e9000)
    libLLVMScalarOpts.so => /usr/lib/libLLVMScalarOpts.so (0x00007fc8b96bd000)
    libLLVMInstCombine.so => /usr/lib/libLLVMInstCombine.so
(0x00007fc8b9421000)
    libLLVMTransformUtils.so => /usr/lib/libLLVMTransformUtils.so
(0x00007fc8b915f000)
    libLLVMipa.so => /usr/lib/libLLVMipa.so (0x00007fc8b8f3f000)
    libLLVMAnalysis.so => /usr/lib/libLLVMAnalysis.so (0x00007fc8b8b7c000)
    libLLVMTarget.so => /usr/lib/libLLVMTarget.so (0x00007fc8b8953000)
    libLLVMMC.so => /usr/lib/libLLVMMC.so (0x00007fc8b86be000)
    libLLVMCore.so => /usr/lib/libLLVMCore.so (0x00007fc8b8307000)
    libLLVMSupport.so => /usr/lib/libLLVMSupport.so (0x00007fc8b8051000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc8b7d47000)
    libm.so.6 => /lib/libm.so.6 (0x00007fc8b7ac5000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc8b78ae000)
    libc.so.6 => /lib/libc.so.6 (0x00007fc8b754d000)
    /lib/ld-linux-x86-64.so.2 (0x00007fc8bc620000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc8b7330000)
undefined symbol: _ZN5boost6assign20assignment_exceptionD2Ev   
(./lib/libocelot.so)
undefined symbol: _ZN5boost6assign20assignment_exceptionD0Ev   
(./lib/libocelot.so)
undefined symbol: _ZNK5boost6assign20assignment_exception4whatEv   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx24__concurrence_lock_errorD2Ev   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx24__concurrence_lock_errorD0Ev   
(./lib/libocelot.so)
undefined symbol: _ZNK9__gnu_cxx24__concurrence_lock_error4whatEv   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev   
(./lib/libocelot.so)
undefined symbol: _ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx29__concurrence_broadcast_errorD2Ev   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx29__concurrence_broadcast_errorD0Ev   
(./lib/libocelot.so)
undefined symbol: _ZNK9__gnu_cxx29__concurrence_broadcast_error4whatEv   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx24__concurrence_wait_errorD2Ev   
(./lib/libocelot.so)
undefined symbol: _ZN9__gnu_cxx24__concurrence_wait_errorD0Ev   
(./lib/libocelot.so)
undefined symbol: _ZNK9__gnu_cxx24__concurrence_wait_error4whatEv   
(./lib/libocelot.so)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list