From owner-freebsd-questions@freebsd.org Fri Apr 8 06:03:42 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E1A7B0807B for ; Fri, 8 Apr 2016 06:03:42 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from relay11.nicmail.ru (relay11.nicmail.ru [195.208.3.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2411C13D3 for ; Fri, 8 Apr 2016 06:03:41 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from [109.70.25.214] (port=41859 helo=fujitsu) by f06.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1aoP6N-0009dO-2s; Fri, 08 Apr 2016 08:37:03 +0300 Received: from [188.123.231.37] (account afiskon@devzen.ru HELO fujitsu) by proxy01.mail.nic.ru (Exim 5.55) with id 1aoP68-00076K-Nt; Fri, 08 Apr 2016 08:36:48 +0300 Date: Fri, 8 Apr 2016 08:36:14 +0300 From: Aleksander Alekseev To: Gary Aitken Cc: FreeBSD Mailing List Subject: Re: llvm37 build failure, libatomic? Message-ID: <20160408083614.5af4c89e@fujitsu> In-Reply-To: <57067324.8070603@dreamchaser.org> References: <57067324.8070603@dreamchaser.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 06:03:42 -0000 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/