llvm37 build failure, libatomic?

Aleksander Alekseev afiskon at devzen.ru
Fri Apr 8 06:03:42 UTC 2016

Hello, Gary

> Updated ports (it's been quite a while) and attempting to rebuild x11
> fails for llvm37 claiming the compiler needs libatomic and it's not
> there. What's the deal with libatomic?

I've just checked:

cd /usr/ports
sudo portsnap fetch update
cd devel/llvm37
sudo make -DBATCH reinstall

Everything seems to work. Its 10.2 with following /etc/make.conf:



CFLAGS+=-O2 -pipe -g
CXXFLAGS+=-O2 -pipe -g

.. and default port flags. I hope it will help you a little bit. Also
try to upgrade LLVM using `pkg` and/or just install libatomic_ops. Its
available both as a port and as a package. I personally don't have it
in my system though.

If you still have a problem with libatomic could you please provide
more information - OS version, make.conf, port flags, more logs, etc?

Best regards,
Aleksander Alekseev

More information about the freebsd-questions mailing list