8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Dec 19 17:54:58 UTC 2014

Looks good.


On 12/19/14 6:45 AM, Volker Simonis wrote:
> Hi,
> can somebody please review this tiny, AIX-only build changes:
> http://cr.openjdk.java.net/~simonis/webrevs/8067923
> https://bugs.openjdk.java.net/browse/JDK-8067923
> '-bernotok' is the AIX linkers equivalent to Linux ld's '-z defs'.
> It's better to detect missing symbols already at build time.
> Also supress the warning "1540-1639 (I) The behavior of long type bit
> fields has changed from previous releases of this compiler. In 64-bit
> mode, long type bit fields now default to long, not int."
> The warning is only informational (i.e. "(I)") but very annoying
> because it is printed for the bit-fields in
> "src/share/vm/services/mallocTracker.hpp" which is included in
> virtually every compilation unit.
> Thanks,
> Volker

More information about the hotspot-dev mailing list