Subject: problems cross-compiling port-sparc on i386-current?
To: None <>
From: Hisashi T Fujinaka <>
List: port-sparc
Date: 10/30/2005 08:39:38
I'm trying to cross-compile sparc-current on i386-current and for the past
several days I've seen the following:

#   compile  bootxx/bootxx.o
/usr/cross/sparc/bin/sparc--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -ffreestanding  c
/usr/cross/sparc/bin/sparc--netbsdelf-ld -o bootxx.sym -N -Ttext 300000 -e start srt0.o promdev.o dvma.o proma
    text    data     bss     dec     hex filename
    6392     700     576    7668    1df4 bootxx.sym
/usr/cross/sparc/bin/sparc--netbsdelf-objcopy -O binary bootxx.sym bootxx
dependall ===> sys/arch/sparc/stand/bootblk
#    create  bootblk/.depend
rm -f .depend
CC=/usr/cross/sparc/bin/sparc--netbsdelf-gcc /usr/cross/sparc/bin/nbmkdep -d -f .depend -s .o\ .ln
ln -s /usr/src/sys/arch/sparc/stand/bootblk/../../../sparc/include machine
/usr/cross/sparc/bin/nbgenassym -f -- /usr/cross/sparc/bin/sparc--netbsdelf-gcc -O2   -Werror  -I. -I/usr/srch
In file included from /usr/src/sys/sys/signalvar.h:134,
                  from /usr/src/sys/sys/proc.h:52,
                  from /usr/src/sys/dev/raidframe/raidframevar.h:111,
                  from /tmp/genassym.11119/assym.c:7:
/usr/src/sys/sys/systm.h:203: warning: conflicting types for built-in function `printf'
/usr/src/sys/sys/systm.h:208: warning: conflicting types for built-in function `vprintf'
/usr/cross/sparc/bin/nbfgen -o bootblk /usr/src/sys/arch/sparc/stand/bootblk/bootblk.fth
/usr/cross/sparc/bin/nbfgen: undefined token `sbsize'

*** Failed target:  bootblk
*** Failed command: /usr/cross/sparc/bin/nbfgen -o bootblk /usr/src/sys/arch/sparc/stand/bootblk/bootblk.fth
*** Error code 1

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte