From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer. Date: Mon, 04 Jul 2016 10:25:00 +0200 Message-ID: <8737nphktf.fsf@gnu.org> References: <56C322C4.3040706@gmail.com> <56CC4E79.7030706@gmail.com> <87pouyt3sz.fsf@gnu.org> <57065B8D.5060009@gmail.com> <20160624083231.GA7766@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJzBk-0004xS-0c for guix-devel@gnu.org; Mon, 04 Jul 2016 04:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJzBf-0005qa-Rv for guix-devel@gnu.org; Mon, 04 Jul 2016 04:25:06 -0400 In-Reply-To: <20160624083231.GA7766@debian-netbook> (Efraim Flashner's message of "Fri, 24 Jun 2016 11:32:31 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org Hi, Efraim Flashner skribis: > On Thu, Apr 07, 2016 at 04:07:25PM +0300, Manolis Ragkousis wrote: >> Hey Ludo, >>=20 >> I have reproduced the problem on the latest master targeting i686-linux >> and arm-linux-gnueabihf. >>=20 >> The problem is that those libraries will fail to build when glibc is not >> present. Also if target os is none, this problem will not appear because >> the libs will not get built at all. >>=20 >> You can reproduce it with ./pre-inst-env guix build -e '((@@(gnu >> packages cross-base) cross-gcc) "arm-linux-gnueabihf")' >>=20 >> This does not happen when targeting mips. >>=20 >> I have added an explanation to the patch and a link to this thread. >>=20 >> Manolis > > This patch was instrumental in building aarch64 bootstrap tarballs. > Without it, when building the cross-gcc compiler from x86_64 to aarch64 > it would fail to compile when trying to build libitm. Searching around > the internet suggested that this was only when building a cross-compiler > that targeted C++ and not only C. > > I understand that it's too late to push this to core-updates, but we > should push it to core-updates-next. Sorry for the delay again. Since it touches the cross toolchain and not the main toolchain (Manolis, could you double-check that this is correct, by making sure that =E2=80=9C./pre-inst-env guix build coreutils -= d=E2=80=9D is the same both before and after the patch?), it=E2=80=99s still OK to push to =E2=80=98core-updates=E2=80=99. Manolis: OK to push? Thanks for the heads-up, Efraim! Ludo=E2=80=99.