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



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}

-e.


Home | Main Index | Thread Index | Old Index