Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2017 10:59:49 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   After ino64 update: devel/libunwind failure: cannot preempt symbol '_Ux86_64_local_addr_space' defined
Message-ID:  <20170529105949.1cecf4e2@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | raw e-mail | index | archive | help
After updating several boxes running CURRENT after introduction of  ino64, I
have one box which persitently rejects compiling and installing
devel/libunwind, as you can finde below.

The box in question is running FreeBSD 12.0-CURRENT #22 r319083: Sun May 28
21:18:52 CEST 2017 amd64, WITH_LLD_IS_LD=yes set.

Another system, which has also been update to meet ino64, but hasn't completely
switch over all ports to the new ABI by recompiling, seems to work. The OS
version in question is FreeBSD 12.0-CURRENT #1 r319088: Mon May 29 06:56:45
CEST 2017  amd64, also WITH_LLD_IS_LD=yes set.

I tried to recompile again all required ports for devel/libunwind via
portmaster -f, even some addtional ports on a hunch like gmake, gperf etc., but
without any success.

The difference on both hosts is the CPU: the failing is IvyBridge XEON, the
working one is a Haswell XEON.

I'm out of ideas :-(

If someone has some ideas, please send me an email.

thanks,

Oliver

[...]
libtool: link: cc -O2 -pipe -O3 -fstack-protector -fno-strict-aliasing
-fexceptions -Wall -Wsign-compare -fstack-protector -o .libs/Gperf-trace
Gperf-trace.o  ../src/.libs/libunwind-x86_64.so /usr/ports/devel/libunwind/work/libunwind-1.2/src/.libs/libunwind.so ../src/.libs/libunwind.so
-lgcc_s -llzma -Wl,-rpath -Wl,/usr/local/lib --- Gperf-simple --- /usr/bin/ld:
error: Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_init_local' defined in ../src/.libs/libunwind-x86_64.so /usr/bin/ld:
error: Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_init_local' defined in ../src/.libs/libunwind-x86_64.so /usr/bin/ld:
error: Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function main): cannot preempt symbol
'_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error:
Gperf-simple.c:(function measure_unwind): cannot preempt symbol
'_Ux86_64_init_local' defined in ../src/.libs/libunwind-x86_64.so /usr/bin/ld:
error: Gperf-simple.c:(function measure_unwind): cannot preempt symbol
'_Ux86_64_step' defined in ../src/.libs/libunwind-x86_64.so --- Gperf-trace
--- /usr/bin/ld: error: Gperf-trace.c:(function main): cannot preempt symbol
'_Ux86_64_init_local' defined in ../src/.libs/libunwind-x86_64.so /usr/bin/ld:
error: Gperf-trace.c:(function main): cannot preempt symbol
'_Ux86_64_init_local' defined in ../src/.libs/libunwind-x86_64.so /usr/bin/ld:
error: Gperf-trace.c:(function main): cannot preempt symbol
'_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error: Gperf-trace.c:(function
main): cannot preempt symbol '_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error: Gperf-trace.c:(function
main): cannot preempt symbol '_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error: Gperf-trace.c:(function
main): cannot preempt symbol '_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error: Gperf-trace.c:(function
main): cannot preempt symbol '_Ux86_64_local_addr_space' defined
in ../src/.libs/libunwind-x86_64.so /usr/bin/ld: error: Gperf-trace.c:(function
main): cannot preempt symbol '_Ux86_64_set_caching_policy' defined
in ../src/.libs/libunwind-x86_64.so --- Gperf-simple --- cc: error: linker
command failed with exit code 1 (use -v to see invocation) --- Gperf-trace ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [Gperf-trace] Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170529105949.1cecf4e2>