RFR: JDK-8298448: UndefinedBehaviorSanitizer [v8]

Erik Joelsson erikj at openjdk.org
Tue Dec 13 17:39:00 UTC 2022


On Tue, 13 Dec 2022 13:45:04 GMT, Justin King <jcking at openjdk.org> wrote:

> Nope. Some targets end up passing C++ flags to the C compiler, causing a failure.

Ah right, we (mis)use CFLAGS (instead of CXXFLAGS) in some SetupNativeCompilation calls when all source files are C++. In that case, your suggested patch makes sense to me.

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

PR: https://git.openjdk.org/jdk/pull/11604



More information about the build-dev mailing list