[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] problems linking with gold

From: Hochhaus, Andrew
Subject: [Libunwind-devel] problems linking with gold
Date: Fri, 2 Sep 2011 15:21:30 -0500


When I link libunwind-1.0 with gold I receive the following error:

/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -fexceptions
-Wall -Wsign-compare   -o Gperf-simple Gperf-simple.o
libtool: link: gcc -g -O2 -fexceptions -Wall -Wsign-compare -o
.libs/Gperf-simple Gperf-simple.o  ../src/.libs/
/usr/bin/ld: Gperf-simple.o: in function
measure_init:Gperf-simple.c:179: error: undefined reference to
/usr/bin/ld: Gperf-simple.o: in function
measure_init:Gperf-simple.c:206: error: undefined reference to
/usr/bin/ld: Gperf-simple.o: in function
measure_unwind:Gperf-simple.c:64: error: undefined reference to
collect2: ld returned 1 exit status

This problem with gold came up once before:

The linking issues was fixed in this commit:;a=commit;h=4dc222cf8af663b4557b56281737f2c2f1115827

However, the problem was introduced again here:;a=commit;h=d589e205068843548d57116e2e228c6f552a12f4

I manually re-added "$(LIBUNWIND_local)" in "tests/" to a
fresh checkout of HEAD and everything linked correctly with gold.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]