Subject: Re: weirdness building rescue partition binaries on Cobalt?
To: Kevin Lahey <>
From: Luke Mewburn <>
List: current-users
Date: 10/03/2002 11:01:42
On Wed, Oct 02, 2002 at 12:50:10PM -0700, Kevin Lahey wrote:
  | 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 vari=
  | -i386 systems, but got fairly unhappy on my Cobalt Raq and Qube.  I'm s=
  | 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?

crunchgen doesn't work on mips.  There's at least one PR about it.
I'll disable rescue on these platforms.

  | /usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-l=
d -dc -r -o fdisk.cro fdisk_stub.o fdisk/fdisk.o
  | /usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-o=
bjcopy --keep-global-symbol _crunched_fdisk_stub fdisk.cro
  | /usr/src/tools/obj.cobalt/tools.NetBSD-1.6I-mipsel/bin/mipsel--netbsd-g=
cc  -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
o ps.cro pwd.cro rcmd.cro rcp.cro rm.cro rmdir.cro sh.cro sleep.cro
o sync.cro systrace.cro test.cro atactl.cro badsect.cro brconfig.cro ccdcon=
fig.cro clri.cro disklabel.cro dkctl.cro dmesg.cro dump.cro dump_lfs.cro fs=
ck.cro fsck_ext2fs.cro fsck_ffs.cro fsck_lfs.cro fsck_msdos.cro fsdb.cro fs=
irand.cro ifconfig.cro init.cro lmcctl.cro mbrlabel.cro mknod.cro modload.c=
ro modunload.cro mount.cro mount_portal.cro newfs.cro newfs_lfs.cro newfs_m=
sdos.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.c=
ro tunefs.cro umount.cro wdogctl.cro wsconsctl.cro bzip2.cro kdump.cro ktra=
ce.cro ktruss.cro ldd.cro chown.cro gzip.cro fdisk.cro  -lbz2 -lcrypt -ledi=
t -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/l=
d: 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