Relates :
|
GCC 8 fails with plenty of builds like this: linux-arm-server-fastdebug linux-s390x-server-fastdebug linux-riscv64-server-fastdebug ``` src/hotspot/share/utilities/globalDefinitions_gcc.hpp:144:40: error: requested alignment 16 is larger than 8 [-Werror=attributes] alignas(16) char space[sizeof (klass)]; \ ^ src/hotspot/share/utilities/sizes.hpp:62:56: note: in expansion of macro 'offset_of' #define byte_offset_of(klass,field) in_ByteSize((int)offset_of(klass, field)) ... (rest of output omitted) * For target hotspot_variant-server_libjvm_objs_abstractInterpreter_arm.o: In file included from src/hotspot/share/utilities/globalDefinitions.hpp:36, from src/hotspot/share/memory/allocation.hpp:30, from src/hotspot/share/memory/arena.hpp:28, from src/hotspot/share/runtime/handles.hpp:28, from src/hotspot/share/code/oopRecorder.hpp:28, from src/hotspot/share/asm/codeBuffer.hpp:28, from src/hotspot/share/asm/assembler.hpp:28, from src/hotspot/cpu/arm/abstractInterpreter_arm.cpp:26: src/hotspot/share/utilities/exceptions.hpp: In lambda function: ``` I think it is a bona-fide GCC bug that was not fixed to GCC 8, but was fixed in later compilers: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89357