Date: Fri, 8 Apr 2016 08:36:14 +0300 From: Aleksander Alekseev <afiskon@devzen.ru> To: Gary Aitken <freebsd@dreamchaser.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: llvm37 build failure, libatomic? Message-ID: <20160408083614.5af4c89e@fujitsu> In-Reply-To: <57067324.8070603@dreamchaser.org> References: <57067324.8070603@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: ``` CC=/usr/local/bin/clang38 CXX=/usr/local/bin/clang++38 CPP=/usr/local/bin/clang-cpp38 CPUTYPE?=native 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 http://eax.me/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160408083614.5af4c89e>