RFR(XS): 8136690: AIX: libjimage should be linked with the C++ compiler

Volker Simonis volker.simonis at gmail.com
Thu Sep 17 10:08:58 UTC 2015


can somebody please review the following AIX change which fixes the
build on AIX after "8087181 Move native jimage code to its own library
(maybe libjimage)":


Change 8087181 moved the jimage code into its own library into the jdk
repository. Although libjimage is a C++ library it is currently linked
by the C compiler together with platform dependent C++ system
libraries (and I'm not sure if this is done intentionally or if it is
just a copy-and-paste error).

On AIX linking a C++ library with the C-compiler doesn't work and we
have to link the library with the C++ compiler which automatically
adds all the required dependencies.

Thank you and best regards,

More information about the core-libs-dev mailing list