From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YBLIS-0006Lb-Gp for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:35:32 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YBLIS-0000Gr-FL for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:35:32 +0100 Date: Wed, 14 Jan 2015 11:35:32 +0100 From: Michael Olbrich Message-ID: <20150114103532.GW26436@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] Can not build Casablanca-2.3.0 with arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized 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 On Fri, Jan 09, 2015 at 03:55:54PM +0100, genieplus wrote: > I am currently trying to build Casablanca [https://casablanca.codeplex.com/] > for my ARM board using the toolchain > gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized > (from OSELAS.Toolchain-2013.12.2) and ptxdist-2014.12.0. > > The compilation fails with a lot of errors related to the C++11 standard. > For example: > > build-target/casablanca-2.3.0/tests/common/UnitTestpp/src/TestRunner.cpp:41:0: > /opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/arm-v5te-linux-gnueabi/include/c++/4.8.2/future:113:11: > error: declaration of 'class std::future' > class future; > > > I am able to build the same version of Casablanca on my x86 machine using > gcc version 4.8.2 (Ubuntu 4.8.2.-19ubuntu1). > > Am I doing something wrong, or this version of > arm-v5te-linux-gnueabi-gcc-4.8.2 do not have the same support of C++11 > features as the desktop version? There should be noch difference. Maybe the gcc command-line is not set up correctly when cross-compiling. 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