mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [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
@ 2015-01-09 14:55 genieplus
  2015-01-14 10:35 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: genieplus @ 2015-01-09 14:55 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 926 bytes --]

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<void>'
     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

[-- Attachment #1.2: Type: text/html, Size: 3166 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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
  2015-01-09 14:55 [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 genieplus
@ 2015-01-14 10:35 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2015-01-14 10:35 UTC (permalink / raw)
  To: ptxdist

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<void>'
>      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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-14 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-09 14:55 [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 genieplus
2015-01-14 10:35 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox