tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiler ICE with -msoft-float on cross-build of mvme68k



I noticed this a couple of days ago, and it persists with a build
from sources updated last night (via cvs).  I built the whole
mvme68k tree successfully:

===> build.sh command: ./build.sh -u -U -O /nbsd/mvme68k/obj -D /nbsd/mvme68k/nb
uild -T /nbsd/mvme68k/tools -m mvme68k -j 2 build
===> build.sh started: Wed Apr  2 11:40:05 EDT 2008
===> NetBSD version:   4.99.58
===> MACHINE:          mvme68k
===> MACHINE_ARCH:     m68k
===> Build platform:   SunOS 5.10 sun4u
===> HOST_SH:          /usr/xpg4/bin/sh
===> TOOLDIR path:     /nbsd/mvme68k/tools
===> DESTDIR path:     /nbsd/mvme68k/nbuild
===> RELEASEDIR path:  /nbsd/mvme68k/obj/releasedir
===> makewrapper:      /nbsd/mvme68k/tools/bin/nbmake-mvme68k
===> Updated /nbsd/mvme68k/tools/bin/nbmake-mvme68k

[...]

===> Successful make build
===> build.sh ended:   Wed Apr  2 16:27:09 EDT 2008
===> Summary of results:
         build.sh command: ./build.sh -u -U -O /nbsd/mvme68k/obj -D /nbsd/mvme68
k/nbuild -T /nbsd/mvme68k/tools -m mvme68k -j 2 build
         build.sh started: Wed Apr  2 11:40:05 EDT 2008
         NetBSD version:   4.99.58
         MACHINE:          mvme68k
         MACHINE_ARCH:     m68k
         Build platform:   SunOS 5.10 sun4u
         HOST_SH:          /usr/xpg4/bin/sh
         TOOLDIR path:     /nbsd/mvme68k/tools
         DESTDIR path:     /nbsd/mvme68k/nbuild
         RELEASEDIR path:  /nbsd/mvme68k/obj/releasedir
         makewrapper:      /nbsd/mvme68k/tools/bin/nbmake-mvme68k
         Updated /nbsd/mvme68k/tools/bin/nbmake-mvme68k
         Successful make build
         build.sh ended:   Wed Apr  2 16:27:09 EDT 2008
===> .

If I then force it to rebuild the 'strtod.c' file in libc, with -msoft-float
the compiler gets an internal error.  Log from that is attached.

I just did 'rm /nbsd/mvme68k/obj/lib/libc/strtod.o' before doing
a manual make in the right place in the source tree.

I found this posting, which shows there is at least on other
person with this problem, but since I don't know any Japanese,
it doesn't really help me any.

http://www.jp.netbsd.org/ja/JP/ml/port-mac68k-ja/200711/msg00001.html

-Kurt

#   compile  libc/strtod.o
/nbsd/mvme68k/tools/bin/m68k--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional 
-Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
-Wno-unused-parameter -std=gnu99  -Werror  -pipe  -msoft-float 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1   -D_LIBC 
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP 
-I/nbsd/src/lib/libc/include -I/nbsd/src/lib/libc -I/nbsd/src/sys 
-I/nbsd/src/lib/libc/compat/stdlib -I/nbsd/src/lib/libc/compat/../stdlib 
-I/nbsd/src/lib/libc/../../common/lib/libc/quad 
-I/nbsd/src/lib/libc/../../common/lib/libc/string 
-I/nbsd/src/lib/libc/../../common/lib/libc/arch/m68k/string 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/nbsd/src/libexec/ld.elf_so -I/nbsd/src/lib/libc/dlfcn 
-I/nbsd/src/lib/libc/gdtoa -DNO_FENV_H -I/nbsd/src/lib/libc/arch/m68k/gdtoa 
-DCITRUS_ICONV -DWITH_RUNE -I/nbsd/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES 
-DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT  
-D_FORTIFY_SOURCE=2  -nostdinc -isystem /nbsd/mvme68k/nbuild/usr/include -c    
/nbsd/src/lib/libc/gdtoa/strtod.c -o strtod.o
/nbsd/src/lib/libc/gdtoa/strtod.c: In function 'strtod':
/nbsd/src/lib/libc/gdtoa/strtod.c:1017: internal compiler error: in do_SUBST, 
at combine.c:486
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

*** Failed target:  strtod.o
*** Failed command: /nbsd/mvme68k/tools/bin/m68k--netbsdelf-gcc -O2 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wextra -Wno-unused-parameter -std=gnu99 -Werror -pipe -msoft-float 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -D_LIBC 
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP 
-I/nbsd/src/lib/libc/include -I/nbsd/src/lib/libc -I/nbsd/src/sys 
-I/nbsd/src/lib/libc/compat/stdlib -I/nbsd/src/lib/libc/compat/../stdlib 
-I/nbsd/src/lib/libc/../../common/lib/libc/quad 
-I/nbsd/src/lib/libc/../../common/lib/libc/string 
-I/nbsd/src/lib/libc/../../common/lib/libc/arch/m68k/string 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/nbsd/src/libexec/ld.elf_so -I/nbsd/src/lib/libc/dlfcn 
-I/nbsd/src/lib/libc/gdtoa -DNO_FENV_H -I/nbsd/src/lib/libc/arch/m68k/gdtoa 
-DCITRUS_ICONV -DWITH_RUNE -I/nbsd/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES 
-DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 
-nostdinc -isystem /nbsd/mvme68k/nbuild/usr/include -c 
/nbsd/src/lib/libc/gdtoa/strtod.c -o strtod.o
*** Error code 1

Stop.
nbmake: stopped in /nbsd/src/lib/libc


Home | Main Index | Thread Index | Old Index