From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lo.gmane.org ([80.91.229.12]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RBO75-0002oR-0X for ptxdist@pengutronix.de; Wed, 05 Oct 2011 11:50:08 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBO73-0006Jm-Cj for ptxdist@pengutronix.de; Wed, 05 Oct 2011 11:50:05 +0200 Received: from 77.126.205.172 ([77.126.205.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 11:50:05 +0200 Received: from andrew48217 by 77.126.205.172 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 11:50:05 +0200 From: Andrew M. Date: Wed, 5 Oct 2011 09:48:51 +0000 (UTC) Message-ID: Mime-Version: 1.0 Subject: [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 Hello, 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. 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? 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?) Thank you, Andrew M. -- ptxdist mailing list ptxdist@pengutronix.de