cannot compile graal with gcc 6.1 on 64bit linux and jdk 8u92

Tortonesi Mauro mauro.tortonesi at
Mon May 30 14:51:52 UTC 2016

Dear all,

sorry to bother you again, but I really can't get Graal to compile
with Arch Linux 64bit, GCC 61, and JDK 8u92. I keep getting C++11
compilation problems such as:

error: invalid suffix on literal; C++11 requires a space between
literal and string macro [-Werror=literal-suffix]

          err_msg("Index "SIZE_FORMAT" corresponding to "PTR_FORMAT


In file included from








error: left operand of shift expression ‘(-1 << 28)’ is negative

     option_bits_mask           = ~(((-1) << tos_state_shift) |
(field_index_mask | parameter_size_mask))


error: enumerator value for ‘option_bits_mask’ is not an integer

     option_bits_mask           = ~(((-1) << tos_state_shift) |
(field_index_mask | parameter_size_mask))


even when using:

CXXFLAGS="-O2 -std=c++0x" mx --vm server build

(Disclaimer: I am not familiar with mx. FWIW, it might just ignore the
CXXFLAGS environment variable.)

Could you please give me some advise on how to fix this? I would very
much appreciate it!

Best regards,
Mauro Tortonesi

Mauro Tortonesi, Ph.D.

Assistant Professor
Distributed Systems Research Group
Engineering Department
University of Ferrara

More information about the graal-dev mailing list