Subject: port-sparc/11333: make build fails on sparc machine.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <motoyuki@bsdclub.org>
List: netbsd-bugs
Date: 10/29/2000 16:20:13
>Number: 11333
>Category: port-sparc
>Synopsis: make build fails on sparc machine.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 29 16:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Motoyuki Konno
>Release: NetBSD-current (NetBSD 1.5H)
>Organization:
BSD Club
>Environment:
NetBSD sparc.mk.bsdclub.org 1.5H NetBSD 1.5H (SPARC $Revision: 1.7 $) #0: Sun Oct 29 13:07:02 JST 2000 motoyuki@sparc.mk.bsdclub.org:/usr/src/sys/arch/sparc/compile/SPARC sparc
>Description:
make build on sparc machine fails.
dependall ===> sys/arch/sparc/stand
dependall ===> sys/arch/sparc/stand/boot
[snip]
ld -o boot.3C8000.tmp -N -e start -Ttext 3C8000 srt0.o promdev.o dvma.o promlib.
o boot.o net.o netif_sun.o conf.o openfirm.o bootinfo.o vers.o /usr/src/sys/arc
h/sparc/stand/boot/obj/lib/sa/libsa.a /usr/src/sys/arch/sparc/stand/boot/obj/lib
/z/libz.a /usr/src/sys/arch/sparc/stand/boot/obj/lib/kern/libkern.a
size boot.3C8000.tmp
text data bss dec hex filename
56740 5224 2044 64008 fa08 boot.3C8000.tmp
objcopy -O binary boot.3C8000.tmp boot.3C8000
rm -f boot.3C8000.tmp
(printf '\01\03\01\07\060\200\0\07\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\0'; cat boot.3C8000 ) > boot.net
make: don't know how to make boot.700000. Stop
*** Error code 2
>How-To-Repeat:
On NetBSD-current sparc box, run "make build"
>Fix:
--- syssrc/sys/arch/sparc/stand/Makefile.buildboot.original Sun Oct 29 12:13:03 2000
+++ syssrc/sys/arch/sparc/stand/Makefile.buildboot Mon Oct 30 09:07:09 2000
@@ -13,6 +13,7 @@
# Note: relocating `boot' at 0x3C8000 seems to work on most machines
RELOC_DEFAULT?= 3C8000
RELOCS= $(RELOC_DEFAULT)
+RELOCS+= 700000
#RELOCS+= 200000 400000 700000 # additional link addresses
# `bootxx' is linked at a different address to circumvent i-cache
>Release-Note:
>Audit-Trail:
>Unformatted: