http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57828
Bug ID: 57828 Summary: linker error: undefined reference to '.LLSTxxx' Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: pluto at agmk dot net Created attachment 30462 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30462&action=edit testcase. $ ~/dvm/sandbox/toolchain/gcc/sysroot/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ -v Using built-in specs. COLLECT_GCC=/ahome/pawels/dvm/sandbox/toolchain/gcc/sysroot/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ COLLECT_LTO_WRAPPER=/home/users/pawels/dvm/sandbox/toolchain/gcc/sysroot/x86_64-gnu-linux/bin/../lib64/gcc/x86_64-gnu-linux/4.7.3/lto-wrapper Target: x86_64-gnu-linux Configured with: ../configure --target=x86_64-gnu-linux --with-arch=x86-64 --prefix=/home/pawels/buildenv.git/gcc/sysroot/x86_64-gnu-linux --with-sysroot=/home/pawels/buildenv.git/gcc/sysroot/x86_64-gnu-linux --libdir=/home/pawels/buildenv.git/gcc/sysroot/x86_64-gnu-linux/lib64 --libexecdir=/home/pawels/buildenv.git/gcc/sysroot/x86_64-gnu-linux/lib64 --with-slibdir=/home/pawels/buildenv.git/gcc/sysroot/x86_64-gnu-linux/lib64 --with-gmp-include=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/include --with-gmp-lib=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/lib --with-mpfr-include=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/include --with-mpfr-lib=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/lib --with-mpc-include=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/include --with-mpc-lib=/home/pawels/buildenv.git/gcc/x86_64-gnu-linux/gcc-math-runtime/lib --disable-multilib --enable-nls --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libitm --enable-tls --enable-libstdcxx-allocator=new --enable-extern-template --enable-libstdcxx-time=rt --enable-libstdcxx-threads --disable-libstdcxx-pch --disable-lto --disable-plugin --enable-c99 --enable-long-long --enable-linux-futex --enable-threads=posix --enable-shared --with-pic --enable-gold --enable-libgomp --enable-__cxa_atexit --disable-initfini-array --enable-languages=c,c++ --enable-checking=release --with-long-double-128 --disable-cld --disable-bootstrap Thread model: posix gcc version 4.7.3 (GCC) $ ~/dvm/sandbox/toolchain/gcc/sysroot/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ dogGenTop.ii -c -fPIC -std=gnu++11 --save-temps -fdwarf2-cfi-asm -fno-strict-aliasing -O1 -g2 -gdwarf-4 $ ~/dvm/sandbox/toolchain/gcc/sysroot/x86_64-gnu-linux/bin/x86_64-gnu-linux-g++ *.o -fPIC -shared -o dog.so -zdefs 2>&1 | grep '.LL' dogGenTop.o(.debug_types+0x87e): error: undefined reference to '.LLST376' dogGenTop.o(.debug_types+0x95e): error: undefined reference to '.LLST381' dogGenTop.o(.debug_types+0xa3a): error: undefined reference to '.LLST385' dogGenTop.o(.debug_types+0xdb9): error: undefined reference to '.LLST204' dogGenTop.o(.debug_types+0x854): error: undefined reference to '.LLST376' dogGenTop.o(.debug_types+0x934): error: undefined reference to '.LLST381' dogGenTop.o(.debug_types+0xa10): error: undefined reference to '.LLST385' dogGenTop.o(.debug_types+0xd8f): error: undefined reference to '.LLST204' dogGenTop.o(.debug_types+0x5b6): error: undefined reference to '.LLST376' dogGenTop.o(.debug_types+0x696): error: undefined reference to '.LLST381' dogGenTop.o(.debug_types+0x772): error: undefined reference to '.LLST385' dogGenTop.o(.debug_types+0xae2): error: undefined reference to '.LLST204' dogGenTop.o(.debug_types+0x58f): error: undefined reference to '.LLST376' dogGenTop.o(.debug_types+0x66f): error: undefined reference to '.LLST381' dogGenTop.o(.debug_types+0x74b): error: undefined reference to '.LLST385' dogGenTop.o(.debug_types+0xabb): error: undefined reference to '.LLST204'