# HG changeset patch # User simonis # Date 1419010435 -3600 # Node ID 4fa1813a03b0a97f22370002a076f386fd853666 # Parent f97f21d8d58c0cf876236fdb25b9a98ed8d3bf84 8067923: AIX: link libjvm.so with -bernotok to detect missing symbols at build time and suppress warning 1540-1639 Reviewed-by: goetz diff -r f97f21d8d58c -r 4fa1813a03b0 make/aix/makefiles/ppc64.make --- a/make/aix/makefiles/ppc64.make Mon Aug 25 09:10:13 2014 +0200 +++ b/make/aix/makefiles/ppc64.make Fri Dec 19 18:33:55 2014 +0100 @@ -46,7 +46,9 @@ # - 1540-1090 (I) The destructor of "..." might not be called. # - 1500-010: (W) WARNING in ...: Infinite loop. Program may not stop. # There are several infinite loops in the vm, suppress. -CFLAGS += -qsuppress=1540-1090 -qsuppress=1500-010 +# - 1540-1639 (I) The behavior of long type bit fields has changed ... +# ... long type bit fields now default to long, not int. +CFLAGS += -qsuppress=1540-1090 -qsuppress=1500-010 -qsuppress=1540-1639 # Suppress # - 540-1088 (W) The exception specification is being ignored. diff -r f97f21d8d58c -r 4fa1813a03b0 make/aix/makefiles/xlc.make --- a/make/aix/makefiles/xlc.make Mon Aug 25 09:10:13 2014 +0200 +++ b/make/aix/makefiles/xlc.make Fri Dec 19 18:33:55 2014 +0100 @@ -130,7 +130,7 @@ # MAPFLAG = -Xlinker --version-script=FILENAME # Build shared library -SHARED_FLAG = -q64 -b64 -bexpall -G -bnoentry -qmkshrobj -brtl -bnolibpath +SHARED_FLAG = -q64 -b64 -bexpall -G -bnoentry -qmkshrobj -brtl -bnolibpath -bernotok #------------------------------------------------------------------------ # Debug flags