comparison make/linux/makefiles/amd64.make @ 12108:badf4244ceae

8022183: GCC 4.6 change sdefault setting for omit-frame-pointer which breaks hotspot stack walking Summary: Explicitly specify -fno-omit-frame-pointer. Reviewed-by: coleenp, dholmes, dcubed
author hseigel
date Sun, 25 Aug 2013 21:21:18 -0400
parents f95d63e2154a
children
comparison
equal deleted inserted replaced
12107:cacc421f39d7 12108:badf4244ceae
1 # 1 #
2 # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2003, 2013, 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.
29 # Must also specify if CPU is little endian 29 # Must also specify if CPU is little endian
30 CFLAGS += -DVM_LITTLE_ENDIAN 30 CFLAGS += -DVM_LITTLE_ENDIAN
31 31
32 CFLAGS += -D_LP64=1 32 CFLAGS += -D_LP64=1
33 33
34 # The serviceability agent relies on frame pointer (%rbp) to walk thread stack
35 ifndef USE_SUNCC
36 CFLAGS += -fno-omit-frame-pointer
37 endif
38
39 OPT_CFLAGS/compactingPermGenGen.o = -O1 34 OPT_CFLAGS/compactingPermGenGen.o = -O1