Subject: make release with new toolchain
To: None <port-hpcmips@netbsd.org>
From: FUKAUMI Naoki <naoki@fukaumi.org>
List: port-hpcmips
Date: 11/15/2001 11:50:18
Hello.

I'm testing new toolchain. "make build" was finished. (without gdb ;)
In "make release", I got an error while making miniroot...

/home/tools/bin/mipsel--netbsd-gcc  -static -o instbin -nostdlib -Wl,-rpath-link,/home/d/usr/lib /home/d/usr/lib/crt0.o /home/d/usr/lib/crtbegin.o instbin.o sysinst.cro gzip.cro chroot.cro chflags.cro stty.cro rcp.cro mknod.cro init_s.cro vi.cro rm.cro ls.cro tset.cro disklabel.cro shutdown.cro x_route.cro newfs.cro cp.cro tip.cro slattach.cro mount_ffs.cro mount_cd9660.cro sleep.cro mt.cro kill.cro mount_kernfs.cro mount_nfs.cro mv.cro cat.cro netstat.cro mount_ext2fs.cro sort.cro df.cro x_ping.cro x_ifconfig.cro expr.cro rsh.cro mount_msdos.cro fsck_ext2fs.cro sed.cro chmod.cro fdisk.cro ftp.cro fsck_ffs.cro sync.cro pax.cro ln.cro rcmd.cro chown.cro mount.cro sh.cro mkdir.cro hostname.cro x_dd.cro date.cro csh.cro umount.cro reboot.cro test.cro pwd.cro x_ed.cro  -lrmt -ledit -lutil -lcurses -ltermcap -lbz2 -lcrypt -lintl -ll -lm -lkvm -L/home/d/usr/lib -lgcc -lc -lgcc /home/d/usr/lib/crtend.o
/home/tools/mipsel--netbsd/bin/ld: sysinst.cro: CALL16 reloc at 0x1c not against global symbol
sysinst.cro: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/distrib/miniroot
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/miniroot
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src

Host is new toolchain-ed hpcmips which was built on i386 from 2001/10/21
source. Kernel is 2001/11/09. Target is hpcmips from 2001/11/09 source.

How to fix this problem ?

-- 
FUKAUMI Naoki