sh-elf build failure on mainline]

Joern RENNECKE joern.rennecke@st.com
Thu Jun 15 14:22:00 GMT 2006


David Ayers wrote:

>  
>
>(I assume you didn't configure with --enable-objc-gc or java.)
>  
>
No, I didn't.  I've used a unified tree, created like this:

mv trunk gcc
mkdir srcw-l
cd srcw-l
ln -s ../gcc/* .
rm libgfortran
ln -s ../src/* .
rm include
mkdir include
cd include
ln -s ../../gcc/include/* .
ln -s ../../src/include/* .
cd ../..
cp -a srcw-l srcw

with:

../srcw/configure --target=sh-elf --with-headers --with-newlib

On the 5th of June, boehm-gc was reported as being in noconfigdirs.

objc showed only three test failures:

FAIL: objc/execute/exceptions/foward-1.m execution,  -O3 
-fomit-frame-pointer  -fgnu-runtime
FAIL: objc/execute/exceptions/foward-1.m execution,  -O3 
-fomit-frame-pointer -funroll-loops  -fgnu-runtime
FAIL: objc/execute/exceptions/foward-1.m execution,  -O3 
-fomit-frame-pointer -funroll-all-loops -finline-functions  -fgnu-runtime
...
                === objc Summary for sh-hms-sim ===

# of expected passes            1751
# of unexpected failures        3
# of expected failures          7
# of unsupported tests          24

                === objc Summary for sh-hms-sim/-m4/-ml ===

# of expected passes            1754
# of expected failures          7
# of unsupported tests          24

With the patch I posted yesterday, the objc test results are identical 
to the ones from 5th of June, so whatever functionality boehm-gc
adds is either not tested for or broken.

gcc test results differ because 37 new passig tests and one defective 
testcase were added:

Executing on host: /mnt/scratch/nightly/2006-06-14/sh-elf-1/gcc/xgcc 
-B/mnt/scratch/nightly/2006-06-14/sh-elf-1/gcc/ 
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma6.c    
-ansi -pedantic-errors -DSTACK_SIZE=16384 -fno-show-column -S  -isystem 
/mnt/scratch/nightly/2006-06-14/sh-elf-1/sh-elf/./newlib/targ-include 
-isystem /mnt/scratch/nightly/2006-06-14/srcw/newlib/libc/include   -o 
_Pragma6.s    (timeout = 300)
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:8: 
warning: #pragma pack(push[, id], <n>) is not supported on this target^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:10: 
warning: #pragma pack(pop[, id], <n>) is not supported on this target^M
output is:
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:8: 
warning: #pragma pack(push[, id], <n>) is not supported on this target^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma6.c:10: 
warning: #pragma pack(pop[, id], <n>) is not supported on this target^M

FAIL: gcc.dg/cpp/_Pragma6.c (test for excess errors)
 
for g++, there is something similar:

/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/cpp/_Pragma1.C:8: 
warning: #pragma pack(push[, id], <n>) is not supported on this target^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/cpp/_Pragma1.C:10: 
warning: #pragma pack(pop[, id], <n>) is not supported on this target^M
output is:
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/cpp/_Pragma1.C:8: 
warning: #pragma pack(push[, id], <n>) is not supported on this target^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/cpp/_Pragma1.C:10: 
warning: #pragma pack(pop[, id], <n>) is not supported on this target^M

FAIL: g++.dg/cpp/_Pragma1.C (test for excess errors)

plus an actual regression:

Executing on host: 
/mnt/scratch/nightly/2006-06-14/sh-elf-1/gcc/testsuite/g++/../../g++ 
-B/mnt/scratch/nightly/2006-06-14/sh-elf-1/gcc/testsuite/g++/../../ 
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C  
-nostdinc++ 
-I/mnt/scratch/nightly/2006-06-14/sh-elf-1/sh-elf/libstdc++-v3/include/sh-elf 
-I/mnt/scratch/nightly/2006-06-14/sh-elf-1/sh-elf/libstdc++-v3/include 
-I/mnt/scratch/nightly/2006-06-14/srcw/libstdc++-v3/libsupc++ 
-I/mnt/scratch/nightly/2006-06-14/srcw/libstdc++-v3/include/backward 
-I/mnt/scratch/nightly/2006-06-14/srcw/libstdc++-v3/testsuite/util 
-fmessage-length=0    -S  -isystem 
/mnt/scratch/nightly/2006-06-14/sh-elf-1/sh-elf/./newlib/targ-include 
-isystem /mnt/scratch/nightly/2006-06-14/srcw/newlib/libc/include   -o 
complit1.s    (timeout = 300)
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C: 
In constructor 'Foo::Foo(int, int)':^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C:14: 
error: ISO C++ forbids assignment of arrays^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C: 
In constructor 'Foo::Foo(int, int)':^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C:14: 
internal compiler error: in emit_move_insn, at expr.c:3275^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <URL:http://gcc.gnu.org/bugs.html> for instructions.^M
compiler exited with status 1
output is:
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C: 
In constructor 'Foo::Foo(int, int)':^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C:14: 
error: ISO C++ forbids assignment of arrays^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C: 
In constructor 'Foo::Foo(int, int)':^M
/mnt/scratch/nightly/2006-06-14/srcw/gcc/testsuite/g++.dg/ext/complit1.C:14: 
internal compiler error: in emit_move_insn, at expr.c:3275^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <URL:http://gcc.gnu.org/bugs.html> for instructions.^M

FAIL: g++.dg/ext/complit1.C (internal compiler error)

>Is there a PR for this already?
>  
>
As far as a know, no, there isn't.



More information about the Gcc-patches mailing list