This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

stringstream.cc failure



I'm now getting this with default builds of libstdc++:

FAIL: 27_io/stringstream.cc (test for excess errors)
WARNING: 27_io/stringstream.cc compilation failed to produce executable

This only happens with -O2: with -O0 things are fine.

The log says this:

Executing on host: /mnt/hd/bld/bld-x86-gcc/gcc/g++ -shared-libgcc -B/mnt/hd/bld/bld-x86-gcc/gcc/ -nostdinc++ -L/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/src -L/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/bin/ -B/mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/lib/ -isystem /mnt/hd/bld/H-x86-gcc/i686-pc-linux-gnu/include -g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT -DLOCALEDIR="/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/po/share/locale" -nostdinc++ -I/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include -I/mnt/hd/src/src.gcc/libstdc++-v3/libsupc++ -I/mnt/hd/src/src.gcc/libstdc++-v3/libio -I/mnt/hd/src/src.gcc/libstdc++-v3/include/backward -I/mnt/hd/src/src.gcc/libstdc++-v3/testsuite /mnt/hd/src/src.gcc/libstdc++-v3/testsuite/27_io/stringstream.cc    -DDEBUG_ASSERT  -lm   -o ./strin!
gstream.exe    (timeout = 300)
/mnt/hd/bld/H-x86-src/bin/ld: ./stringstream.exe: Not enough room for program headers (allocated 7, need 8)
/mnt/hd/bld/H-x86-src/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/mnt/hd/bld/H-x86-src/bin/ld: ./stringstream.exe: Not enough room for program headers (allocated 7, need 8)
/mnt/hd/bld/H-x86-src/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

FAIL: 27_io/stringstream.cc (test for excess errors)

Is there something I need to do to make this go away?

-benjamin


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