make/solaris/makefiles/build_vm_def.sh

Fri, 07 Jun 2013 09:46:58 -0700

author
tamao
date
Fri, 07 Jun 2013 09:46:58 -0700
changeset 5309
feae15578b2f
parent 0
f90c822e73f8
permissions
-rw-r--r--

7122222: GC log is limited to 2G for 32-bit
Summary: Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation
Reviewed-by: tbell, mgerdin, dcubed
Contributed-by: tamao <tao.mao@oracle.com>

     1 #!/bin/sh
     3 /usr/ccs/bin/nm -p $* \
     4     | awk '{
     5           if ($2 == "U") next
     6           if ($3 ~ /^__1c.*__vtbl_$/ || $3 ~ /^gHotSpotVM/) print "\t" $3 ";"
     7           if ($3 ~ /^UseSharedSpaces$/) print "\t" $3 ";"
     8           if ($3 ~ /^__1cJArgumentsRSharedArchivePath_$/) print "\t" $3 ";"
     9           }' \
    10     | sort -u

mercurial