libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Error when installing libunwind-1.0


From: Arun Sharma
Subject: Re: [Libunwind-devel] Error when installing libunwind-1.0
Date: Mon, 5 Sep 2011 09:20:20 -0700

On Mon, Sep 5, 2011 at 8:32 AM, Arun Sharma <address@hidden> wrote:
> On Mon, Sep 5, 2011 at 2:02 AM, Harald Servat <address@hidden> wrote:
>
>> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
>> cannot find -lunwind-x86_64
>> collect2: ld returned 1 exit status
>> libtool: install: error: relink `libunwind-setjmp.la' with the above
>> command before installing it
>
> You're likely to get better support on automake related mailing lists
> on gnu.org. Based on the documentation here:

I was actually able to reproduce this. Looks like the order in which
libraries are specified in lib_LTLIBRARIES is important and it changed
between 0.99 and 1.0.

Could you please try this patch:

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,7 +9,7 @@ lib_LIBRARIES =
 lib_LTLIBRARIES =
 if !REMOTE_ONLY
 lib_LIBRARIES += libunwind-ptrace.a
-lib_LTLIBRARIES += libunwind.la libunwind-setjmp.la
+lib_LTLIBRARIES += libunwind.la
 endif

 noinst_HEADERS =
@@ -477,6 +477,9 @@ endif # ARCH_HPPA
 endif # ARCH_IA64
 endif # ARCH_ARM

+if !REMOTE_ONLY
+lib_LTLIBRARIES += libunwind-setjmp.la
+endif
 #
 # Don't link with standard libraries, because those may mention
 # libunwind already.

autoreconf; configure; make install

works for me after the patch.

Thanks for the bug report.

 -Arun



reply via email to

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