[erlang-bugs] otp --with-libatomic_ops compile hangs

Mikael Pettersson mikpe@REDACTED
Wed Sep 15 11:48:32 CEST 2010


Feng Yu wrote:
> Build Options:  --with-libatomic_ops=/usr
> 
> Arch:
>     Linux yufeng-laptop 2.6.32-25-generic #43-Ubuntu SMP Wed Sep 1 09:46:13
> UTC 2010 x86_64 GNU/Linux
> 
> Libatomic_ops:
>     apt-get -y install libatomic-ops-dev
> 
> Symptom: beam.smp hangs/doesn't terminate
> 
> Steps to reproduce:
> 
> There are two known ways to reproduce the issue and the simplest is:
> 
> $ git clone git://github.com/erlang/otp.git
> $ cd otp
> $ ./otp_build autoconf
> $ ./configure --with-libatomic_ops=/usr
> $ make
> [...]
> make[4]:=D5=FD=D4=DA=C0=EB=BF=AA=C4=BF=C2=BC `/usr/src/otp/lib/hipe/main'
> erlc -W  +debug_info +inline -o../ebin hipe_rtl.erl
> 
> make hang here.

Configuring with libatomic_ops seems to be a new option since
post-R14A.  Since you're on x86_64 Linux you shouldn't need it.

Does it work without that option?


More information about the erlang-bugs mailing list