[Bug bootstrap/92484] In tree build of ISL 0.22 fails: requires C++11

2019-11-25 Thread franz.flasch at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484

--- Comment #5 from franz  ---
OK, I've now digged a little further in to this issue.

According to the GCC docs for a native build a 3-stage-build is performed
automatically. So with "--disable-bootstrap" the build should behave the same
as the crosscompile build. I've tested it and isl builds fine with this
setting.

I've checked config.log from isl and yes, c++11 flags are not added in this
case. However I actually don't know why this even has any influence on that.

It seems that in the newest isl version they now use the M4 macro
"AX_CXX_COMPILE_STDCXX_11" for the whole build. In the previous versions it was
only used for "interface/isl_test_cpp", that's the reason why this problem
actually came up.

[Bug bootstrap/92484] In tree build of ISL 0.22 fails: requires C++11

2019-11-25 Thread franz.flasch at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92484

franz  changed:

   What|Removed |Added

 CC||franz.flasch at gmx dot at

--- Comment #4 from franz  ---
It seems this issue only occurs if the host machine and the target machine are
identical, as it does not occur when crosscompilers are built.

E.g. when building a crosscompiler for arm isl builds just fine. I checked the
config.status and it seems that the c++11 compiler flag is not being set in
case of a crosscompiler build:

CXX variable for arm crosscompiler build in config.log:
CXX='g++'

CXX variable for x86_64 native compiler build in config.log:
CXX='g++ -std=gnu++98 -std=c++11'


Is there any way of telling the buildprocess to not use those c++11 compiler
flag for isl?