Date: Mon, 28 Jun 2010 14:06:08 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no> Cc: freebsd-current@freebsd.org, Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ia64@freebsd.org Subject: Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem' Message-ID: <20100628130607.GA69122@mech-cluster241.men.bris.ac.uk> In-Reply-To: <86y6dz5o3x.fsf@ds4.des.no> References: <86vd98aj7p.fsf@ds4.des.no> <8639wcafhn.fsf@ds4.des.no> <20100624110511.GD10082@mech-cluster241.men.bris.ac.uk> <86tyos8u57.fsf@ds4.des.no> <20100624151121.GA29609@mech-cluster241.men.bris.ac.uk> <86lja48m58.fsf@ds4.des.no> <20100625084429.GA42107@mech-cluster241.men.bris.ac.uk> <86vd97e94g.fsf@ds4.des.no> <20100628121253.GA61909@mech-cluster241.men.bris.ac.uk> <86y6dz5o3x.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 28, 2010 at 02:38:10PM +0200, Dag-Erling Sm=F8rgrav wrote: > Anton Shterenlikht <mexas@bristol.ac.uk> writes: > > # cc -v -static -o rescue [...] > > cc: cat.lo: No such file or directory >=20 > Umm, try again from the object directory, /usr/obj/usr/src/rescue/rescue/ that's better: # cd /usr/src/ # make buildenv Entering world for ia64:ia64 # cd /usr/obj/usr/src/rescue/rescue # pwd /usr/obj/usr/src/rescue/rescue # cat /usr/src/rescue/rescue/zzz cc -v -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo d= ate.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kil= l.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo ealpath.lo rm.lo rmd= ir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo = badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dum= pfs.lo dumpon.lo fsck.lo fsck_ffs. o fsck_msdosfs.lo fsdb.lo fsirand.lo gbd= e.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunlo= ad.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd966= 0.lo mount_msd sfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.= lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo re= store.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.l sppp= control.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo ping6.lo ip= f.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo tail.lo tee.lo= gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot lo chown.lo /usr/obj/usr/= src/rescue/rescue/../librescue/exec.o /usr/obj/usr/src/rescue/rescue/../lib= rescue/getusershell.o /usr/obj/usr/src/rescue/rescue/../librescue/login_cla= ss.o /usr/obj/usr/src/rescue/ escue/../librescue/popen.o /usr/obj/usr/src/r= escue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/rescue/rescue/../libres= cue/sysctl.o /usr/obj/usr/src/rescue/rescue/../librescue/system.o -lcrypt -= ledit -lk m -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -= lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lkiconv -lmd -lre= adline -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm # sh < /usr/src/rescue/rescue/zzz Using built-in specs. Target: ia64-undermydesk-freebsd Configured with: FreeBSD/ia64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] /usr/obj/usr/src/tmp/usr/bin/ld -Bstatic -o rescue /usr/obj/usr/src/tmp/us= r/lib/crt1.o /usr/obj/usr/src/tmp/usr/lib/crti.o /usr/obj/usr/src/tmp/usr/l= ib/crtbeginT.o -L/usr/local/lib -L/usr/local/lib -L/us /obj/usr/src/tmp/usr= /lib -L/usr/obj/usr/src/tmp/usr/lib rescue.o cat.lo chflags.lo chio.lo chmo= d.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo= kenv.lo kill.lo ln.lo ls.lo mkdir lo mv.lo pkill.lo ps.lo pwd.lo realpath.= lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo at= acontrol.lo badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo= dump.lo dumpf .lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fs= irand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldsta= t.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mo nt.lo= mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.l= o mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo = reboot.lo restore.lo rcorder.lo route.lo routed.l rtquery.lo rtsol.lo save= core.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo= ping6.lo ipf.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo ta= il.lo tee.lo gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo /= usr/obj/usr/src/rescue/rescue/../librescue/exec.o /usr/obj/usr/src/rescue/r= escue/../librescue/getusershell.o /usr/obj/usr/src/rescue/rescue/../libresc= ue/login_ lass.o /usr/obj/usr/src/rescue/rescue/../librescue/popen.o /usr/o= bj/usr/src/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/rescue/resc= ue/../librescue/sysctl.o /usr/obj/usr/src/rescue/rescue/../libre cue/system= =2Eo -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldev= stat -lipsec -lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lki= conv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -l zma -larchive -lcrypto -lm -= lgcc -lgcc_eh -lc -lgcc -lgcc_eh /usr/obj/usr/src/tmp/usr/lib/crtend.o /usr= /obj/usr/src/tmp/usr/lib/crtn.o xz.lo(.text+0x5202): In function `hardware_init': : undefined reference to `lzma_physmem' >=20 > > # /usr/obj/usr/src/rescue/rescue/../librescue/exec.o: Permission > > denied >=20 > That's weird, can you check the ownership of that file? Did you run > buildworld as root and buildenv as a regular user? # ls -al /usr/obj/usr/src/rescue/rescue/../librescue/exec.o -rw-r--r-- 1 root wheel 8256 28 Jun 11:57 /usr/obj/usr/src/rescue/rescue= /../librescue/exec.o # no, both buildworld and buildenv are run as root. thank you anton --=20 Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100628130607.GA69122>