[erlang-questions] Cannot build R14B04 in Solaris 10 with libatomic_ops

Claudio A. Costagliola Fiedler jsmastropiero@REDACTED
Tue Dec 13 19:49:08 CET 2011


Hi,

I've been unsuccesfully tying to build OTP in this platform, using the Sun
Studio compiler (cc). I'm not been able to configure the build, because the
configure script fails when it looks up for a usable libatomic_ops
installation. Such library has been successfully built and is available for
OTP building process.


The configure command:
./configure CC='cc' ERL_TOP='<otp_src_path>' --prefix=<instalation_path>
--enable-threads --enable-smp-support --enable-hipe --enable-native-libs
--enable-shared-zlib --with-libatomic_ops=<libatomic_ops_path>

The output:
.
.
.
checking for sched_yield... no
checking for sched_yield in -lrt... yes
checking whether sched_yield() returns an int... yes
checking for pthread_yield... no
checking for pthread_rwlock_init... yes
checking for pthread_rwlockattr_setkind_np... no
checking for pthread_attr_setguardsize... yes
checking for Linux futexes... no
checking for GCC atomic operations... no
checking for a usable libatomic_ops implementation... no
configure: error: No usable libatomic_ops implementation found
configure: error: /bin/bash
'/produccion/tmmprov2/claudio/temp/otp_src_R14B04/erts/configure' failed
for erts

Any help would be appreciated.

Regards,

-- 
Claudio A. Costagliola Fiedler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111213/486db1bb/attachment.htm>


More information about the erlang-questions mailing list