From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Build C++ cross-compiler by default. Date: Wed, 13 Jan 2016 21:52:14 +0100 Message-ID: <87fuy12oe9.fsf@gnu.org> References: <8760z03q9v.fsf@elephly.net> 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]:45157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJSOy-0004xH-Ti for guix-devel@gnu.org; Wed, 13 Jan 2016 15:52:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJSOv-0002Pa-OI for guix-devel@gnu.org; Wed, 13 Jan 2016 15:52:20 -0500 In-Reply-To: <8760z03q9v.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 11 Jan 2016 19:49:32 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: Guix-devel Ricardo Wurmus skribis: > the configure flags defined in =E2=80=9Ccross-gcc-arguments=E2=80=9D disa= bled the C++ > compiler to prevent an error that happens when building libstdc++-v3. > Since I needed a C++ cross-compiler for ARM I added =E2=80=9Cc++=E2=80=9D= to the list of > enabled languages and added the configure flag > =E2=80=9C--disable-libstdc++-v3=E2=80=9D. This is now the same as what i= s done in > =E2=80=9Cgcc-boot0=E2=80=9D in =E2=80=9Ccommencement.scm=E2=80=9D. Cool. > Will this cause a rebuild of every package on ARM? Is it okay to push > this to core-updates? AFAICS, this causes a rebuild of the cross-compilation infrastructure only (for Hydra, that=E2=80=99s several times GCC plus a bunch of packages = that we cross-build to make sure the basic functionality is alright.) So it could even go to =E2=80=98master=E2=80=99, but since Hydra is now bui= lding all of =E2=80=98core-updates=E2=80=99, it=E2=80=99s more energy-efficient to push = it to =E2=80=98core-updates=E2=80=99 as well. > From 021febc7f7f35ccffe381af798e0b20d7687c94e Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > Date: Mon, 11 Jan 2016 19:43:25 +0100 > Subject: [PATCH] gnu: cross-gcc-arguments: Enable C++, disable building of > libstdc++-v3. > > * gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Disable > building libstdc++-v3 and enable building C++ compiler. LGTM! Thanks, Ludo=E2=80=99.