make build /usr/src failing on Sparc64

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

make build /usr/src failing on Sparc64

gareth
Having a problem compiling src -rOPENBSD_6_7 on Sparc64.
This is an old Sun Microsystems Workstation Ultra 45.
Not sure what other info is required. Let me know and I will provide

===> sys/arch/sparc64/stand/bootblk
sh /usr/src/sys/arch/sparc64/stand/bootblk/genassym.sh -f cc -O2 -pipe
-fno-stack-protector -msoft-float -ffreestanding  -MD -MP -I.
-I/usr/src/sys/arch/sparc64/stand/bootblk/../../../../arch
-I/usr/src/sys/arch/sparc64/stand/bootblk/../../../.. -nostdinc  
-D_STANDALONE -DSUN4U -I.   <
/usr/src/sys/arch/sparc64/stand/bootblk/genfth.cf >ffs.fth.h.tmp &&  mv -f
ffs.fth.h.tmp ffs.fth.h
awk '/fload/ { print "#include \"" $2 "\"" }; !/fload/'
/usr/src/sys/arch/sparc64/stand/bootblk/bootblk.fth | /usr/bin/cpp -P >
bootblk.text.tmp &&  mv -f bootblk.text.tmp bootblk.text
fgen -o bootblk /usr/src/sys/arch/sparc64/stand/bootblk/bootblk.fth
fgen: undefined token `,'
*** Error 1 in sys/arch/sparc64/stand/bootblk (Makefile:40 'bootblk')
*** Error 2 in sys/arch/sparc64/stand (<bsd.subdir.mk>:48 'all': @for
entry in bootblk libsa libz ofwboot ofwboot.net ofwbootfd; do  set -e;...)
*** Error 2 in sys/arch/sparc64 (<bsd.subdir.mk>:48 'all': @for entry in
stand compile; do  set -e; if test -d /usr/src/sys/arch/sparc64/${e...)
*** Error 2 in sys (<bsd.subdir.mk>:48 'all': @for entry in dev/microcode
arch/alpha arch/amd64 arch/arm64 arch/armv7  arch/hppa arch/i386 ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin
libexec sbin usr.bin usr.sbin share games gnu sys; do  set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')

sparky# dmesg |head
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2020 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.6-current (GENERIC) #245: Fri Mar 20 18:37:19 MDT 2020
    [hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1036615680 (988MB)
mpath0 at root
sparky#