From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: GCC language front-ends Date: Wed, 04 Jun 2014 23:34:33 +0200 Message-ID: <87mwdsl5p2.fsf@gnu.org> References: <20140604212212.GA2429@debian> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsIpW-0002t8-Cb for guix-devel@gnu.org; Wed, 04 Jun 2014 17:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsIpQ-0007FF-95 for guix-devel@gnu.org; Wed, 04 Jun 2014 17:34:42 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:58444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsIpQ-0007F4-17 for guix-devel@gnu.org; Wed, 04 Jun 2014 17:34:36 -0400 In-Reply-To: <20140604212212.GA2429@debian> (Andreas Enge's message of "Wed, 4 Jun 2014 23:22:12 +0200") 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: Andreas Enge Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andreas Enge skribis: > gcc-objc++-4.8.2.mips64el-linux fails to be built because of: > > building of `/gnu/store/avdn8phqm44v33p6k42pipybcgjs92mb-gcc-objc++-4.8.2= .drv' timed out after 72000 seconds > @ build-failed /gnu/store/avdn8phqm44v33p6k42pipybcgjs92mb-gcc-objc++-4.8= .2.drv - timeout > > I think it simply takes more than 12 hours... Ahah. :-) > Do you think there might be a way of compiling all gcc languages in one go > instead of in several packages? Maybe enable all languages in gcc? Or wou= ld > this create too big a gcc package? That would be too big. Plus, when you say =E2=80=9Call=E2=80=9D, do you re= ally mean Ada and Java for instance? These make things definitely bigger. > Also, maybe we could drop one of the three gcc versions. The default package does C and C++. We could imagine another one that would in addition to Objective-C and FORTRAN, yes. That would save build time, at the expense of being somewhat confusing to the user IMO. > And finally, why are there two gcc-4.8.2 packages, and where are they act= ually? > $ guix package -A gcc > gcc 4.7.3 out gnu/packages/gcc.scm:95:4 > gcc 4.8.2 out gnu/packages/gcc.scm:95:4 > gcc 4.9.0 out gnu/packages/gcc.scm:95:4 > gcc 4.8.2 out gnu/packages/gcc.scm:95:4 One of the GCC 4.8.2 is =E2=80=98gcc-final=E2=80=99 in base.scm. > Is there a way of printing not the line 95 in which the base gcc package = is > defined from which all others inherit, but the line where the actual pack= age > is defined? Yes, good idea. I=E2=80=99ve just committed this patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -971,6 +971,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ;; The final GCC. (package (inherit gcc-boot0) (name "gcc") + (location (source-properties->location (current-source-location))) (arguments `(#:guile ,%bootstrap-guile #:implicit-inputs? #f --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpUaGFua3MsDQpMdWRv4oCZLg0K --=-=-=--