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



Hi,

I get that too. It's another issue with MKPIE=yes builds.

-e.

Mecislav Salar wrote:
dependall ===> gnu/usr.bin/binutils/addr2line
/usr/obj/tooldir.NetBSD-x86_64/lib/gcc/x86_64--netbsd/4.1.3/../../../../x86_64--netbsd/bin/ld:
/usr/obj/gnu/lib/libiberty/libiberty.a(unlink-if-ordinary.o):
relocation R_X86_64_32 against `a local symbol' can not
be used when making a shared object; recompile with -fPIC
/usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

*** Failed target:  addr2line
*** 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 -o addr2line addr2line.o
budemang
.o bucomm.o version.o filemode.o -lintl -L/usr/obj/gnu/lib/libbfd
-lbfd -L/usr/obj/gnu/lib/libiberty -liberty
-L/usr/obj/destdir.amd64/usr/lib
-Wl,-rpath-link,/usr/obj/destdir.amd64/lib -L/usr/obj/destdir.amd64/li
b -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/gnu/usr.bin/binutils/addr2line

*** Failed target:  dependall
*** Failed command: cd /usr/src/gnu/usr.bin/binutils/addr2line;
/usr/obj/tooldir.NetBSD-x86_64/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/binutils/addr2line

*** Failed target:  dependall-addr2line
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="gnu/usr.bin/binutils/"; real="/usr/src/gnu/usr.bin/binutils" ;;
*) this="g
nu/usr.bin/binutils/${dir}/";
real="/usr/src/gnu/usr.bin/binutils/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/obj/tooldir.NetBSD-x86_64/bin/nbmake _THIS
DIR_="${this}" "$@" ${target}; }; _makedirtarget addr2line dependall
*** Error code 1

Stop.

so so sorry




Home | Main Index | Thread Index | Old Index