Strange behavior of libstdc++ regression test

Terry Guo terry.guo@arm.com
Thu Apr 19 07:03:00 GMT 2012


Hi,

I built a cross compiler for arm-none-eabi and ran regression test on QEMU
with command: "make -k check
RUNTESTFLAGS="--target_board=arm-none-eabi-qemu/-mthumb/-mcpu=cortex-m3"".

And then I end up with following strange errors on libstdc++:

make[6]: Entering directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3/python'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3/python'
make[6]: Entering directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
"CC_FOR_TARGET=/home/build/gcc-4-7-daily-test/build-linux/gcc-final/./gcc/xg
cc
-B/home/build/gcc-4-7-daily-test/build-linux/gcc-final/./gcc/"
"CFLAGS=-g -O2  -mthumb -march=armv7-r -mfloat-abi=hard -mfpu=vfpv3-d16"
"CXXFLAGS=-g -O2  -mthumb -march=armv7-r -mfloat-abi=hard
-mfpu=vfpv3-d16" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2"
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "LDFLAGS=-mthumb -march=armv7-r -mfloat-abi=hard -mfpu=vfpv3-d16"
"LIBCFLAGS=-g -O2  -mthumb -march=armv7-r -mfloat-abi=hard
-mfpu=vfpv3-d16" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make"
"MAKEINFO=makeinfo --split-size=5000000      " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"RUNTESTFLAGS=--target_board=arm-none-eabi-qemu/-mthumb/-mcpu=cortex-m3"
"exec_prefix=/home/build/gcc-4-7-daily-test/install-linux"
"infodir=/home/build/gcc-4-7-daily-test/install-linux/share/info"
"libdir=/home/build/gcc-4-7-daily-test/install-linux/lib"
"includedir=/home/build/gcc-4-7-daily-test/install-linux/include"
"prefix=/home/build/gcc-4-7-daily-test/install-linux"
"tooldir=/home/build/gcc-4-7-daily-test/install-linux/arm-none-eabi"
"gxx_include_dir=/home/build/gcc-4-7-daily-test/install-linux/arm-none-eabi/
include/c++/4.7.1"
"AR=/home/build/gcc-4-7-daily-test/install-linux/arm-none-eabi/bin/ar"
"AS=/home/build/gcc-4-7-daily-test/build-linux/gcc-final/./gcc/as"
"LD=/home/build/gcc-4-7-daily-test/build-linux/gcc-final/./gcc/collect-ld"
"RANLIB=/home/build/gcc-4-7-daily-test/install-linux/arm-none-eabi/bin/ranli
b"
"NM=/home/build/gcc-4-7-daily-test/build-linux/gcc-final/./gcc/nm"
"NM_FOR_BUILD="
"NM_FOR_TARGET=/home/build/gcc-4-7-daily-test/install-linux/arm-none-eabi/bi
n/nm"
"DESTDIR=" "WERROR=" DO=all multi-do # make
make[6]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3'
make[5]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3'
make[4]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/armv7-r/
thumb/fpu/libstdc++-v3'
make[3]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/libstdc+
+-v3'
make[2]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/libstdc+
+-v3'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory
`/home/build/gcc-4-7-daily-test/build-linux/gcc-final/arm-none-eabi/libstdc+
+-v3'
make: *** [check-target-libstdc++-v3] Error 2
make: Target `check-target' not remade because of errors.

A complete log file is attached. If the make target is check-gcc, everything
is fine. The Multilib is enabled and configured for different ARM targets. I
did some investigation and can't find any clue, could someone please help
me? Thanks.

BR,
Terry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 87754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120419/8f794ab9/attachment.obj>


More information about the Libstdc++ mailing list