Subject: weirdness building rescue partition binaries on Cobalt?
To: None <current-users@netbsd.org>
From: Kevin Lahey <kml@selresearch.net>
List: current-users
Date: 10/02/2002 12:50:10
I had some trouble trying to build the rescue partition binaries on a
build of -current from a couple of days ago. It worked fine on my various
-i386 systems, but got fairly unhappy on my Cobalt Raq and Qube. I'm sort
of perplexed, as I saw this error on both systems, with two different
distinct cvs updates. It recurs even after I successfully installed
the rest of the build and made cleandir and delete the obj directory,
so it isn't just old trash in the tree, and it isn't old binaries.
Any ideas?
/usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-ld -dc -r -o fdisk.cro fdisk_stub.o fdisk/fdisk.o
/usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-objcopy --keep-global-symbol _crunched_fdisk_stub fdisk.cro
/usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-gcc -static -o rescue -nostdlib -Wl,-rpath-link,//lib://usr/lib -L//lib //usr/lib/crt0.o //usr/lib/crtbegin.o rescue.o cat.cro chio.cro chmod.cro cp.cro csh.cro date.cro dd.cro df.cro domainname.cro echo.cro ed.cro expr.cro hostname.cro kill.cro ksh.cro ln.cro ls.cro mkdir.cro mt.cro mv.cro pax.cro ps.cro pwd.cro rcmd.cro rcp.cro rm.cro rmdir.cro sh.cro sleep.cro stty.cro sync.cro systrace.cro test.cro atactl.cro badsect.cro brconfig.cro ccdconfig.cro clri.cro disklabel.cro dkctl.cro dmesg.cro dump.cro dump_lfs.cro fsck.cro fsck_ext2fs.cro fsck_ffs.cro fsck_lfs.cro fsck_msdos.cro fsdb.cro fsirand.cro ifconfig.cro init.cro lmcctl.cro mbrlabel.cro mknod.cro modload.cro modunload.cro mount.cro mount_portal.cro newfs.cro newfs_lfs.cro newfs_msdos.cro ping.cro ping6.cro pppoectl.cro raidctl.cro rcorder.cro reboot.cro restore.cro rndctl.cro route.cro routed.cro rtsol.cro savecore.cro scsictl.cro setkey.cro shutdown.cro slattach.cro swapctl.cro sysctl.cro ttyflags.cro tunefs.cro umount.cro wdogctl.cro wsconsctl.cro bzip2.cro kdump.cro ktrace.cro ktruss.cro ldd.cro chown.cro gzip.cro fdisk.cro -lbz2 -lcrypt -ledit -lipsec -lkvm -ll -lm -lrmt -ltermcap -lutil -lz -L//usr/lib -lgcc -lc -lgcc //usr/lib/crtend.o
/usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/mipsel--netbsd/bin/ld: cat.cro: CALL16 reloc at 0x1c not against global symbol
cat.cro: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** [rescue] Error code 1
1 error
nbmake: stopped in /usr/src/rescue/obj.cobalt
*** Error code 2
Thanks,
Kevin
kml@selresearch.net