Subject: port-sparc64/34863: sparc64 crossbuild from i386 ubuntu linux fails
To: None <port-sparc64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <dogcow@babymeat.com>
List: netbsd-bugs
Date: 10/20/2006 00:50:00
>Number: 34863
>Category: port-sparc64
>Synopsis: sparc64 crossbuild from i386 ubuntu linux fails
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 20 00:50:00 +0000 2006
>Originator: Tom Spindler
>Release: NetBSD 4.99.3 2006-10-19
>Organization:
>Environment:
System: Linux marble.corp.yahoo.com. 2.6.15-26-686 #1 SMP PREEMPT Thu Aug 3 03:13:28 UTC 2006 i686 GNU/Linux
Architecture: i386
Machine: i386
>Description:
In cross-compiling from i386 linux (ubuntu) to sparc64, the build crashes
in arch/sparc/stand/bootblk.
>How-To-Repeat:
./build.sh -m sparc64 -D /home/dogcow/work/nbobj/s64dd -M /home/dogcow/work/nbobj/s64obj -R /home/dogcow/work/nbobj/s64rd -T /home/dogcow/work/nbobj/tools -U -u release
[... lots ...]
dependall ===> sys/arch/sparc64/stand/../../sparc/stand/bootblk
# create bootblk/.depend
rm -f .depend
CC=/home/dogcow/work/nbobj/tools/bin/sparc64--netbsd-gcc /home/dogcow/work/nbobj/tools/bin/nbmkdep -d -f .depend -s .o\ .ln
ln -s /home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/../../../sparc64/include machine
/home/dogcow/work/nbobj/tools/bin/nbgenassym -f -- /home/dogcow/work/nbobj/tools/bin/sparc64--netbsd-gcc -O2 -msoft-float -ffreestanding -pipe -Werror -I. -I/home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/../../../../arch -I/home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/../../../.. -I/home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/../../../../../common/include -nostdinc -D_LKM -D_KERNEL -DSTANDALONE -I. -DSUN4U -nostdinc -isystem /home/dogcow/work/nbobj/s64dd/usr/include </home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/genfth.cf >assym.fth.h.tmp && mv -f assym.fth.h.tmp assym.fth.h
/tmp/genassym.31296/assym.c:20:7: error: unknown escape sequence '\#'
/tmp/genassym.31296/assym.c:21:7: error: unknown escape sequence '\#'
/tmp/genassym.31296/assym.c:22:7: error: unknown escape sequence '\#'
[more of those]
/tmp/genassym.31296/assym.c:58:7: error: unknown escape sequence '\#'
/home/dogcow/work/nbobj/tools/bin/nbfgen -o bootblk /home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/bootblk.fth
/home/dogcow/work/nbobj/tools/bin/nbfgen: undefined token `sbsize'
*** Failed target: bootblk
*** Failed command: /home/dogcow/work/nbobj/tools/bin/nbfgen -o bootblk /home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk/bootblk.fth
*** Error code 1
Stop.
nbmake: stopped in /home/dogcow/work/nbsrc/sys/arch/sparc/stand/bootblk
*** Failed target: dependall
>Fix:
unknown.
>Unformatted: