From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ie0-x22d.google.com ([2607:f8b0:4001:c03::22d]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y9azH-0006Lz-FQ for ptxdist@pengutronix.de; Fri, 09 Jan 2015 15:56:32 +0100 Received: by mail-ie0-f173.google.com with SMTP id y20so15300029ier.4 for ; Fri, 09 Jan 2015 06:56:25 -0800 (PST) MIME-Version: 1.0 From: genieplus Date: Fri, 9 Jan 2015 15:55:54 +0100 Message-ID: Subject: [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: multipart/mixed; boundary="===============2079165318==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============2079165318== Content-Type: multipart/alternative; boundary=001a11352f724a2111050c395c20 --001a11352f724a2111050c395c20 Content-Type: text/plain; charset=UTF-8 Hi, 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? Regards, Bechir --001a11352f724a2111050c395c20 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0

I am currently trying to build Casablanca = [https://casablanca.codeplex.c= om/] for my ARM board using the toolchain gcc-4.8.2-glibc-2.18-binutils= -2.24-kernel-3.12-sanitized (from=C2=A0OSELAS.Toolchain-2013.12.2) and ptxd= ist-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/U= nitTestpp/src/TestRunner.cpp:41:0:
/opt/O= SELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binut= ils-2.24-kernel-3.12-sanitized/arm-v5te-linux-gnueabi/include/c++/4.8.2/fut= ure:113:11: error: declaration of 'class std::future<void>'
=C2=A0 =C2=A0 =C2=A0class 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 wron= g, 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?

Regards,
Bech= ir



--001a11352f724a2111050c395c20-- --===============2079165318== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2079165318==-- 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