RFR: 8302460: System C++ Compiler for cross compiling gcc is dangerously wrong

Thomas Stuefe stuefe at openjdk.org
Thu Feb 16 11:04:27 UTC 2023


On Tue, 14 Feb 2023 14:32:10 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> Full details in linked entry, man did this give me a scare on my local branch
> 
> All C++ compilers for the build operating system are under the name c++ (when selected compiler is gcc), but when searching for BUILD_CXX the compiler given priority is an uppercase CC, and then g++, which is not correct since this simply links to the C compiler instead

Can we please give this issue a clear name that makes sense, and a better text? What is "dangerously wrong"? For the casual reader, this issue and its description are pretty opaque.

This makes it also difficult for backporters to evaluate whether this change needs immediate attention.

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

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



More information about the build-dev mailing list