Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbols: Bad value
On Sun, Oct 19, 2008 at 4:25 PM, Christos Zoulas
<christos%zoulas.com@localhost> wrote:
> On Oct 19, 12:46pm, elad%NetBSD.org@localhost (Elad Efrat) wrote:
> -- Subject: Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbol
>
> | I'm getting a similar error in cpuctl:
> |
> | dependall ===> usr.sbin/cpuctl
> | # link cpuctl/cpuctl
> | /usr/netbsd/src/../tooldir/xphyre/bin/x86_64--netbsd-gcc
> | -B/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/usr/lib/
> | -B/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/usr/lib/
> | -Wl,-nostdlib -Wl,-pie -shared-libgcc -Wl,--fatal-warnings -o
> | cpuctl cpuctl.o bitmask.o x86_64.o x86_64-asm.o
> | -L/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/usr/lib
> | -Wl,-rpath-link,/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/lib
> | -L/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/lib
> | -Wl,-rpath-link,/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/usr/lib
> | -L/usr/netbsd/src/../objdir/xphyre-pie/destdir.amd64/usr/lib
> |
> /usr/netbsd/tooldir/xphyre/bin/../lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
> | x86_64-asm.o: relocation R_X86_64_32S against `cpu_info_level' can not
> | be used when making a shared object; recompile with -fPIC
> | x86_64-asm.o: could not read symbols: Bad value
> | collect2: ld returned 1 exit status
> |
> | FWIW:
> | phyre:src {4} ident share/mk/bsd.lib.mk
> | share/mk/bsd.lib.mk:
> | $NetBSD: bsd.lib.mk,v 1.287 2008/10/17 17:29:39 christos Exp $
> | phyre:src {5}
>
> Fixed, you'll need to update in share/mk and usr.sbin/cpuctl.
>
more pain
/usr/obj/tooldir.NetBSD-x86_64/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
/usr/obj/destdir.amd64/usr/lib/libc.a(flt_rounds.o): relocation
R_X86_64_32S against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/usr/obj/destdir.amd64/usr/lib/libc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** Failed target: rescue
*** Failed command:
/usr/obj/tooldir.NetBSD-x86_64/bin/x86_64--netbsd-gcc
-B/usr/obj/destdir.amd64/usr/lib/ -B/usr/obj/destdir.amd64/usr/lib/
-Wl,-nostdlib -Wl,-pie -shared-libgcc -static -o rescue rescue.o
cat.cr
o 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 test.cro atactl.cro
badsect.cro brconfig.cro ccdconfig.cro clri.cro disklabel.cro
dkctl.cro dmesg.cro dump.cro dump_lfs.cro fdisk.cro fsck.cro
fsck_ext2fs.cro fsck_ffs
.cro fsck_lfs.cro fsck_msdos.cro fsdb.cro fsirand.cro ifconfig.cro
init.cro lmcconfig.cro mbrlabel.cro mknod.cro modload.cro
modunload.cro mount.cro mount_ados.cro mount_cd9660.cro mount_efs.cro
mount_ext2fs.cro m
ount_fdesc.cro mount_ffs.cro mount_filecore.cro mount_kernfs.cro
mount_lfs.cro mount_msdos.cro mount_nfs.cro mount_ntfs.cro
mount_null.cro mount_overlay.cro mount_portal.cro mount_procfs.cro
mount_smbfs.cro mount_
tmpfs.cro mount_umap.cro mount_union.cro newfs.cro newfs_lfs.cro
newfs_msdos.cro ping.cro pppoectl.cro raidctl.cro rcorder.cro
reboot.cro restore.cro rndctl.cro route.cro routed.cro savecore.cro
scan_ffs.cro scsic
tl.cro setkey.cro shutdown.cro slattach.cro swapctl.cro sysctl.cro
ttyflags.cro tunefs.cro umount.cro wdogctl.cro veriexecctl.cro
wsconsctl.cro bzip2.cro ftp.cro grep.cro gzip.cro kdump.cro ktrace.cro
ktruss.cro l
dd.cro less.cro vi.cro chown.cro chroot.cro dumpfs.cro dumplfs.cro
installboot.cro vnconfig.cro tetris.cro lfs_cleanerd.cro ping6.cro
rtsol.cro cgdconfig.cro scp.cro ssh.cro liboverride.o -lbz2 -lcrypt
-ledit -lip
sec -lkvm -ll -lm -lrmt -lcurses -ltermcap -lutil -lz -levent -lprop
-lssh -lcrypto -L/usr/obj/destdir.amd64/usr/lib
-Wl,-rpath-link,/usr/obj/destdir.amd64/lib
-L/usr/obj/destdir.amd64/lib -Wl,-rpath-link,/usr/obj
/destdir.amd64/usr/lib -L/usr/obj/destdir.amd64/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/rescue
*** Failed target: rescue.strip
*** Failed command: /usr/obj/tooldir.NetBSD-x86_64/bin/nbmake -f
rescue.mk rescue
*** Error code 1
Stop.
nbmake: stopped in /usr/src/rescue
*** Failed target: rescue
*** Failed command: /usr/obj/tooldir.NetBSD-x86_64/bin/nbmake
RESCUEDIR=/rescue MKKERBEROS=no -f rescue.mk rescue.crunched
sorry
> christos
>
Home |
Main Index |
Thread Index |
Old Index