RFR: 8254702: jpackage app launcher crashes on CentOS [v2]
Erik Joelsson
erikj at openjdk.java.net
Mon Feb 1 18:26:44 UTC 2021
On Mon, 1 Feb 2021 16:17:35 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> "common" was perfectly enough until this change. Unfortunately we cant just drop new C sources in "common" dir because we don't want them to be compiled with g++. That is why need new common directory (applauncherlibcommon) for C sources.
We pick compiler based on file suffix, not directory, so it shouldn't matter where you put a .c file, it should always be compiled with gcc and .cpp files with g++. Which compiler is used to launch the linker can however differ. That's configured for each SetupNativeCompilation call with the different TOOLCHAIN settings.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2320
More information about the build-dev
mailing list