libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] make check failure on x86_64 (_Ux86_64_getcontext)


From: Dave Watson
Subject: Re: [Libunwind-devel] make check failure on x86_64 (_Ux86_64_getcontext)
Date: Tue, 4 Apr 2017 16:10:18 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On 04/04/17 03:53 PM, Paul Pluzhnikov wrote:
> Greetings,
> 
> I am getting a "make check" error on x86_64 from current trunk that I
> don't quite understand:
> 
> /bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fexceptions
> -Wall -Wsign-compare   -o Ltest-init-local-signal
> Ltest-init-local-signal.o Ltest-init-local-signal-lib.o
> ../src/libunwind-x86_64.la
> libtool: link: gcc -g -O2 -fexceptions -Wall -Wsign-compare -o
> .libs/Ltest-init-local-signal Ltest-init-local-signal.o
> Ltest-init-local-signal-lib.o  ../src/.libs/libunwind-x86_64.so
> /usr/bin/ld: Ltest-init-local-signal.o: undefined reference to symbol
> '_Ux86_64_getcontext'
> //usr/local/google/home/ppluzhnikov/Archive/libunwind.git/libunwind/build/src/.libs/libunwind.so.8:
> error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:1127: recipe for target 'Ltest-init-local-signal' failed
> make[1]: *** [Ltest-init-local-signal] Error 1
> 
> AFAICT nothing here changed in a long while, so I don't understand why
> I am getting the failure and others don't.
> 
> _Ux86_64_getcontext is in libunwind.{a,so}, but not on
> libunwind-x86_64.{a,so} and the test links the latter.
> 
> This is on "Ubuntu 14.04 LTS" using "gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 
> 4.8.4"

I got all the tests running on travis finally, which also showed this
link error.  Not sure why it was compiling on my box.  

In any case, should be fixed in commit 982e93495123635a463b1828e197cd0f027770cb.



reply via email to

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