RFR(XS): 8136690: AIX: libjimage should be linked with the C++ compiler
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Sep 17 13:00:13 UTC 2015
On 2015-09-17 12:08, Volker Simonis wrote:
> Hi,
>
> 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)":
>
> http://cr.openjdk.java.net/~simonis/webrevs/2015/8136690/
> https://bugs.openjdk.java.net/browse/JDK-8136690
Looks good to me.
/Magnus
>
> 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,
> Volker
More information about the build-dev
mailing list