libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] arm cross-compile/link errors: undefined reference


From: Arun Sharma
Subject: Re: [Libunwind-devel] arm cross-compile/link errors: undefined reference to AO_fetch_and_add & AO_fetch_and_add1
Date: Tue, 19 Aug 2014 20:22:09 +0530

On Tue, Aug 19, 2014 at 7:57 PM, Allen Hamedany <address@hidden> wrote:

> ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
> ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
> collect2: ld returned 1 exit status
> make[2]: *** [test-proc-info] Error 1
> make[2]: Leaving directory
> `/scratch/home/test/libunwind/libunwind-1.1-arm/tests'
> make[1]: *** [check-am] Error 2

Could you try uncommenting this line here:

> AC_CHECK_LIB(atomic_ops, main)

http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob_plain;f=acinclude.m4;hb=HEAD

ARM was probably not an interesting platform when the comment was
written. Also not clear why it can't be an inline-able implementation
like other platforms.

 -Arun



reply via email to

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