[Bug libstdc++/45730] New: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*, long)

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Mon Sep 20 00:15:00 GMT 2010


At r164422, on x86_64-apple-darwin10, the following libstdc++ test regressions
are present at both -m32/-m64...

FAIL: ext/stdio_sync_filebuf/char/1.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/1.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/char/12048-3.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/12048-3.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/char/12048-4.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/char/12048-4.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/wchar_t/1.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/1.cc compilation failed to produce
executable
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-3.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/12948-3.cc compilation failed to
produce executable
FAIL: ext/stdio_sync_filebuf/wchar_t/12948-4.cc (test for excess errors)
WARNING: ext/stdio_sync_filebuf/wchar_t/12948-4.cc compilation failed to
produce executable

These are all of the form...

Executing on host: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/g++
-shared-libgcc -B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include -m32
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections
-g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.5.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/testsuite/util
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100919/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc
   -include bits/stdc++.h ./libtestc++.a   -lm   -m32 -o ./1.exe    (timeout =
600)
Undefined symbols:^M
  "__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::xsgetn(char*,
int)", referenced from:
      test01()    in ccoWrU4N.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.5.0/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10.5.0
Configured with: ../gcc-4.6-20100919/configure --prefix=/sw
--prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes
Thread model: posix
gcc version 4.6.0 20100919 (experimental) (GCC)


-- 
           Summary: Undefined symbol __gnu_cxx::stdio_sync_filebuf<char,
                    std::char_traits<char> >::xsgetn(char*, long)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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



More information about the Gcc-bugs mailing list