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 <[email protected]> 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


_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to