Mercurial > hg > graal-jvmci-8
comparison agent/src/os/linux/Makefile @ 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 | c18cbe5936b8 |
children | 5a98bf7d847b |
comparison
equal
deleted
inserted
replaced
4918:ea527c5cde03 | 4919:54d3535a6dd3 |
---|---|
1 # | 1 # |
2 # Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 2002, 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. |
38 | 38 |
39 OBJS = $(SOURCES:.c=.o) | 39 OBJS = $(SOURCES:.c=.o) |
40 | 40 |
41 LIBS = -lthread_db | 41 LIBS = -lthread_db |
42 | 42 |
43 CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) | 43 CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) -D_FILE_OFFSET_BITS=64 |
44 | 44 |
45 LIBSA = $(ARCH)/libsaproc.so | 45 LIBSA = $(ARCH)/libsaproc.so |
46 | 46 |
47 all: $(LIBSA) | 47 all: $(LIBSA) |
48 | 48 |