C99 Math library incomplete in GCC 4.9.* ARM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I try to build the Eigen library on a ARM with cxx11. The library builds with ARM GCC 4.8.* but not with ARM 4.9.*
It also builds on a native environment. See: https:/
Other people reported the same problems: http://
As parts of GCC's standard library are protected by guard DEFs, compilation on GCC 4.8 was only possible with such a construct, but with GCC 4.9.* I get new problems (see below):
#pragma once
#pragma GCC diagnostic push
#define RAND_MAX __RAND_MAX
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wfloat-equal"
#define _GLIBCXX_
..
Here is the short version of my compiler error:
/home/travis/
In file included from /home/travis/
/home/travis/
/home/travis/
_M_d = std::round(
compilation terminated due to -Wfatal-errors.
Please fix this fast, it cannot be that half of the standard library cannot be used with ARM.
description: | updated |
Changed in gcc-arm-embedded: | |
status: | New → Confirmed |