|
From: | Allen Hamedany |
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 11:55:51 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi Arun:Further verifying the atomic_ops libs installed correctly under /usr/local/lib:
bash-4.1$ ls -lt /usr/local/lib/*atomic* -rw-r--r-- 1 root root 5510 Aug 19 09:46 /usr/local/lib/libatomic_ops_gpl.a -rw-r--r-- 1 root root 3818 Aug 19 09:46 /usr/local/lib/libatomic_ops.a -rwxr-xr-x 1 root root 948 Aug 19 09:46 /usr/local/lib/libatomic_ops_gpl.la -rwxr-xr-x 1 root root 936 Aug 19 09:46 /usr/local/lib/libatomic_ops.la bash-4.1$ ar tv /usr/local/lib/libatomic_ops.a rw-r--r-- 2147483647/65535 3528 Aug 18 16:46 2014 atomic_ops.o Thanks, Allen On 08/19/2014 10:52 AM, Arun Sharma wrote:
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 2Could 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
[Prev in Thread] | Current Thread | [Next in Thread] |