8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639
volker.simonis at gmail.com
Fri Dec 19 14:45:27 UTC 2014
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