After compiling with latest g++ build, my test program fails with a link error.
I haven't seen this before:

/usr/local/bin/g++ -g -fno-elide-constructors -pedantic-errors -Werror -ansi 
-fno-common -fstrict-aliasing -Wall -Wold-style-cast -Wsign-promo 
-Wpointer-arith -Wconversion -Wundef -Wwrite-strings -Winvalid-pch 
-Woverloaded-virtual -Wcast-qual -Wextra -Wredundant-decls 
-Wshadow -Wcast-align -Wunused -fvisibility-inlines-hidden -MMD      
-fimplicit-templates  -Wl,-warn-common -L.. -o test.exe test.o -lPatternDriver 
-lintl
/usr/local/lib/gcc/alphaev56-unknown-linux-gnu/4.3.0/../../../libstdc++.so: 
undefined reference to `__tls_get_addr'
collect2: ld returned 1 exit status

alpha1:mckelvey>g++ -v
Using built-in specs.
Target: alphaev56-unknown-linux-gnu
Configured with: ../gcc/configure --verbose --enable-languages=c++ 
--disable-linux-futex --disable-nls
Thread model: posix
gcc version 4.3.0 20061104 (experimental)

Configured:

alpha1:mckelvey>alias CONFIGURECVS
alias CONFIGURECVS='../gcc/configure --verbose --enable-languages=c++ 
--disable-linux-futex --disable-nls >clog 2>&1 &'

Built:

alias BUILD='nice gmake CFLAGS='\'''\'' BOOT_CFLAGS='\'''\''
LIBCFLAGS='\''-g'\'' LIBCXXFLAGS='\''-g'\'' bootstrap >log 2>&1 &'


-- 
           Summary: Latest CVS: undefined reference to __tls_get_addr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckelvey at maskull dot com
 GCC build triplet: alphaev56-unknown-linux-gnu
  GCC host triplet: alphaev56-unknown-linux-gnu
GCC target triplet: alphaev56-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29720

Reply via email to