RFR: 8325176: Compiling native tests with clang on linux fails

Magnus Ihse Bursie ihse at openjdk.org
Mon Feb 5 10:41:02 UTC 2024


On Fri, 2 Feb 2024 15:27:39 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> While we do not have automatic testing of using clang instead of gcc on linux, we try to keep it in working condition. This is still the case for the JDK itself, but there is a native test which fails to compile with clang. This should be fixed.

The test native libraries are special, so I did not think DISABLED_WARNINGS would work very well. But maybe it does. (Even I am getting lost in the rules for combining arguments to SetupNativeCompilation, even if I wrote most of them :-))

I'll have a look. It is definitely cleaner if it works. (Even though the best would probably be to fix the test.)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17688#issuecomment-1926681840


More information about the build-dev mailing list