Subject: Re: make release with new toolchain
To: FUKAUMI Naoki <naoki@fukaumi.org>
From: Todd Vierling <tv@wasabisystems.com>
List: port-hpcmips
Date: 11/14/2001 23:14:36
On Thu, 15 Nov 2001, FUKAUMI Naoki wrote:

: 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

As reported on port-mips, there are some serious reloc problems with the new
toolchain.  (This is why it is not enabled by default on mipseb/mipsel.  :)

This is being worked on, but I don't think there is a direct fix just yet.
There were some fixes added to make mipseb work, but it broke the ABI, and
this is also being worked on....

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/