Mercurial > hg > graal-jvmci-8
comparison make/linux/makefiles/saproc.make @ 4919:54d3535a6dd3
7009098: SA cannot open core files larger than 2GB on Linux 32-bit
Summary: Added Large File Support by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64, and a small change with which SA should first load libraries from the path specified with SA_ALTROOT.
Reviewed-by: dholmes, kevinw, dcubed, minqi
author | poonam |
---|---|
date | Sun, 12 Feb 2012 19:33:11 -0800 |
parents | da0999c4b733 |
children | d652a62d6e03 |
comparison
equal
deleted
inserted
replaced
4918:ea527c5cde03 | 4919:54d3535a6dd3 |
---|---|
1 # | 1 # |
2 # Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
73 echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \ | 73 echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \ |
74 exit 1; \ | 74 exit 1; \ |
75 fi | 75 fi |
76 @echo Making SA debugger back-end... | 76 @echo Making SA debugger back-end... |
77 $(QUIETLY) $(CC) -D$(BUILDARCH) -D_GNU_SOURCE \ | 77 $(QUIETLY) $(CC) -D$(BUILDARCH) -D_GNU_SOURCE \ |
78 -D_FILE_OFFSET_BITS=64 \ | |
78 $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ | 79 $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ |
79 -I$(SASRCDIR) \ | 80 -I$(SASRCDIR) \ |
80 -I$(GENERATED) \ | 81 -I$(GENERATED) \ |
81 -I$(BOOT_JAVA_HOME)/include \ | 82 -I$(BOOT_JAVA_HOME)/include \ |
82 -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ | 83 -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ |