8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
goetz.lindenmaier at sap.com
Fri Dec 19 16:11:36 UTC 2014
it's good to fix these two issues, thanks!
The patch works nicely.
From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of Volker Simonis
Sent: Freitag, 19. Dezember 2014 15:45
To: HotSpot Open Source Developers; ppc-aix-port-dev at openjdk.java.net
Subject: 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
can somebody please review this tiny, AIX-only build changes:
'-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.
More information about the hotspot-dev