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

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Fri Dec 19 16:11:36 UTC 2014


Hi Volker, 

it's good to fix these two issues, thanks!
The patch works nicely.

Best regards,
  Goetz.


-----Original Message-----
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

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