Re: [Gc] Missed AO_compare_and_swap_full on Solaris 10 SPARC building

Ivan Maidanski ivmai at mail.ru
Wed Sep 14 23:19:30 PDT 2011


Hi Claudio,

Seems that the scripts need some fixing:

1. Check that emul_cas.h is included from atomic_ops.h (it should redirect AO_compare_and_swap_full to AO_compare_and_swap_emulation.
2. Check that atomic_ops.c (which has AO_compare_and_swap_emulation) is compiled.

Regards.

15 09 2011, 02:30 Claudio Costagliola <claudio.costagliola at gmail.com>:
> I'm trying to build libatomic_ops version 7.2alpha6 on a Solaris 10 SPARC. The
> configuration and building process seems successful, but the generated
> libraries don't have the symbol AO_compare_and_swap_full. I need it to build
> Erlang R14B03, which complains about de missing symbol.
> 
> The command line I'm using to configure is:
> CC=cc CXX=CC ./configure --prefix=<path>
> 
> The missed symbols:
> bash-3.00$ nm libatomic_ops_gpl.a | grep AO_compare_and_swap_full
> bash-3.00$ nm libatomic_ops.a | grep AO_compare_and_swap_full
> bash-3.00$
> 
> Any help would be appreciated
> 
> Regards,
> Claudio
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list