[Bug target/54882] New: build fails for rl78-elf building libstdc++
hp at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 10 03:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54882
Bug #: 54882
Summary: build fails for rl78-elf building libstdc++
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hp@gcc.gnu.org
CC: dj@gcc.gnu.org
Host: x64_86-unknown-linux-gnu
Target: rl78-elf
At r191852, a tree configured with --target=rl78-elf failed as follows:
libtool: compile: /tmp/rl78b/gccobj/./gcc/xgcc -shared-libgcc
-B/tmp/rl78b/gccobj/./gcc -nostdinc++
-L/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/src
-L/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/src/.libs -nostdinc
-B/tmp/rl78b/gccobj/rl78-elf/newlib/ -isystem
/tmp/rl78b/gccobj/rl78-elf/newlib/targ-include -isystem
/tmp/rl78b/gcc/newlib/libc/include -B/tmp/rl78b/gccobj/rl78-elf/libgloss/rl78
-L/tmp/rl78b/gccobj/rl78-elf/libgloss/libnosys -L/tmp/rl78b/gcc/libgloss/rl78
-B/tmp/rl78b/pre/rl78-elf/bin/ -B/tmp/rl78b/pre/rl78-elf/lib/ -isystem
/tmp/rl78b/pre/rl78-elf/include -isystem /tmp/rl78b/pre/rl78-elf/sys-include
-I/tmp/rl78b/gcc/libstdc++-v3/../libgcc
-I/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/include/rl78-elf
-I/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/include
-I/tmp/rl78b/gcc/libstdc++-v3/libsupc++ -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=new_opnt.lo -g -O2 -c
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc -o new_opnt.o
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc: In function 'void* operator
new(std::size_t, const std::nothrow_t&)':
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc:37:1: error: type precision
mismatch in switch statement
operator new (std::size_t sz, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
switch (_18) <default: <L14>, case 1: <L10>>
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc:37:1: internal compiler
error: verify_gimple failed
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc:37:1: internal compiler
error: Segmentation fault
xgcc: internal compiler error: Segmentation fault (program cc1plus)
../libtool: line 1155: 27516 Segmentation fault
/tmp/rl78b/gccobj/./gcc/xgcc -shared-libgcc -B/tmp/rl78b/gccobj/./gcc
-nostdinc++ -L/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/src
-L/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/src/.libs -nostdinc
-B/tmp/rl78b/gccobj/rl78-elf/newlib/ -isystem
/tmp/rl78b/gccobj/rl78-elf/newlib/targ-include -isystem
/tmp/rl78b/gcc/newlib/libc/include -B/tmp/rl78b/gccobj/rl78-elf/libgloss/rl78
-L/tmp/rl78b/gccobj/rl78-elf/libgloss/libnosys -L/tmp/rl78b/gcc/libgloss/rl78
-B/tmp/rl78b/pre/rl78-elf/bin/ -B/tmp/rl78b/pre/rl78-elf/lib/ -isystem
/tmp/rl78b/pre/rl78-elf/include -isystem /tmp/rl78b/pre/rl78-elf/sys-include
-I/tmp/rl78b/gcc/libstdc++-v3/../libgcc
-I/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/include/rl78-elf
-I/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/include
-I/tmp/rl78b/gcc/libstdc++-v3/libsupc++ -Wall -Wextra -Wwrite-strings
-Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -frandom-seed=new_opnt.lo -g -O2 -c
/tmp/rl78b/gcc/libstdc++-v3/libsupc++/new_opnt.cc -o new_opnt.o
make[4]: *** [new_opnt.lo] Error 1
make[4]: Leaving directory `/tmp/rl78b/gccobj/rl78-elf/libstdc++-v3/libsupc++'
More information about the Gcc-bugs
mailing list