Open pdbain-ibm opened 5 years ago
Is this issue regarding the compiler warnings seen when building the Test Compiler on macOS?
I don't know if it is the test compiler; the error occurs, amongst other places, compiling compiler/codegen/J9Instruction.cpp
. Please see attached build log:
build.log
In that case this is an OpenJ9 macOS build/configure issue. Getting rid of these warnings when building OpenJ9 JIT would not require any changes in OMR. eclipse/openj9#4156 would get rid of these warnings.
Those options are also used in the test compiler a JitBuilder, so compiling either of those with clang will probably also generate those warnings.
As far as I remember these warnings are seen only in test compiler builds using automake when Clang is used instead of GCC. CMake builds do not specify these options. Furthermore, JITBuilder build sets these options only for xLinux using platform guards in the makefiles.
I see.
JIT compilation produces these warning when compiling on MacOS: