RFR: 8302460: System C++ Compiler for cross compiling gcc is dangerously wrong
Magnus Ihse Bursie
ihse at openjdk.org
Wed Feb 15 15:41:30 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
But that still leaves my question unanswered: So then the question is: do you have CC on your path? You say "CC ends up resolving", but who is doing that resolving?
-------------
PR: https://git.openjdk.org/jdk/pull/12558
More information about the build-dev
mailing list