From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RBP3X-0006pQ-UB for ptxdist@pengutronix.de; Wed, 05 Oct 2011 12:50:31 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1RBP3X-00051l-TO for ptxdist@pengutronix.de; Wed, 05 Oct 2011 12:50:31 +0200 Date: Wed, 5 Oct 2011 12:50:31 +0200 From: Michael Olbrich Message-ID: <20111005105031.GK27444@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] gcc versions supported by PTXDist. Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Wed, Oct 05, 2011 at 09:48:51AM +0000, Andrew M. wrote: > I hope this is the correct mailing list to ask this question, it's just I > couldn't find the answer anywhere else. If not, please direct me to the correct > one. > > I was wondering what versions of gcc are supported by the 2011-08.0 version of > PTXDist. The reason I ask is because I tried compiling nano (with the given > nano.make rule given with ptxdist, without modifications), and I got a > compilation error, regarding line 1600 in the file `files.c`: > fnctl.h:51: error: call to '__open_missing_mode' declared with attribute error: > open with O_CREAT in second argument needs 3 arguments. This is an Ubuntu Problem: https://wiki.ubuntu.com/CompilerFlags > My compiler is gcc 4.4.3 for arm crotex a8. Also, compiling the same package > (nano 1.3.12) using my host's compiler (gcc 4.4.3, supplied with Ubunutu 10.4) > gave the same error. > > Compiling a newer version of nano (2.2.3) on the host works fine. > > I also noticed that the 'out-of-the-box' configuration enforces the 4.3.2 > version of gcc for the toolchain configuration. (Under platforms/toolchain.in, > line 22) > > My questions are: > 1. Does ptxdist supposed to work _only_ with version 4.3.2 of gcc? (Or is it a > bug in the nano configuration?) > 2. If so, is there a planned upgrade sometime? This is just an old default that was never updated. The latest OSELAS.Toolchain-2011.03.0 uses gcc-4.5.2 and works just fine. > I know I can update the nano receipe and make the newer version of nano > compile, I'm just wondering if there is a reason that the 4.3.2 version of gcc > is enforced. (Maybe because other packages rely on the 4.3.2 version of gcc?) Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de