29 Commits

Author SHA1 Message Date
Mike Duigou
f312adb9c5 8047734: Backout use of -Og
Reviewed-by: iveresov
2014-07-09 21:56:16 +00:00
Igor Veresov
147f6a0926 8048298: Clang needs to lower optimization level for some files
Optimization options need to be lowered for some files when using clang 5.0 and 5.1

Reviewed-by: twisti
2014-06-26 12:01:44 -07:00
Igor Veresov
6abe4955a6 8047321: Hotspot debug builds with clang are broken
Don't use -Og with clang

Reviewed-by: twisti
2014-06-20 11:25:08 -07:00
Mike Duigou
ce91145032 8032045: Enable compiler and linker safety switches for debug builds
Enable GCC linker protections, runtime bounds checks and stack protection.

Reviewed-by: dholmes, kvn, coleenp
2014-06-12 16:31:07 -07:00
Goetz Lindenmaier
4b9933a012 8036122: Fix warning 'format not a string literal'
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Henry Jen
ac4f26242b 8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
2014-02-25 23:59:04 -08:00
Mike Duigou
b633a889a7 8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
2014-02-12 09:37:18 -08:00
Christian Thalinger
dd042bf16e 8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
2014-01-07 14:26:12 -08:00
Daniel D. Daugherty
232c4efbdb 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:25:43 -07:00
Christian Thalinger
9376d94e6c 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00
Dmitry Samersoff
dc7c7c5e13 8022617: Openjdk hotspot build is broken on BSD platforms using gcc
Enforce of preprocessing of all assembly sources by assembler-with-cpp

Reviewed-by: dholmes, erikj
2013-09-12 15:53:49 +04:00
Lois Foltan
0f6bcbe0b5 8024050: Incorrect optimization level and comment specified for unsafe.cpp
Fix comments and optimization level.

Reviewed-by: rdurbin, coleenp, hseigel
2013-08-30 15:07:23 -04:00
Lois Foltan
02440bce37 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.

Reviewed-by: coleenp, twisti, dholmes
2013-08-29 13:44:07 -04:00
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00
David Holmes
e5fa731ce9 8014326: [OSX] All libjvm symbols are exported
Add support for a MacOS X compatible form of the libjvm mapfile.

Reviewed-by: dcubed, rdurbin, coleenp
2013-06-19 13:14:03 -07:00
Volker Simonis
9fbd8582b4 8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn
2013-06-04 22:16:15 -07:00
Joseph Provino
a68c69fd65 Merge 2013-03-08 12:35:18 -05:00
Joseph Provino
94853afaee 8008474: Add -Wundef to warning flags
Force use of undefined macros to be and error.

Reviewed-by: dholmes, mikael
2013-03-06 13:50:54 -05:00
Erik Joelsson
f167bb36ab 8008451: Make mac builds on 10.8 work on 10.7
Reviewed-by: jcoomes, ohair
2013-03-04 22:39:00 -08:00
Ron Durbin
af7cedec67 7153050: remove crufty '_g' support from HotSpot repo makefiles
Phase 1 is removing '_g' support from the Makefiles.

Reviewed-by: dcubed, sspitsyn, coleenp, tbell
2012-12-14 10:06:52 -08:00
Joseph Provino
c5eaaaa070 7189254: Change makefiles for more flexibility to override defaults
Change makefiles so that targets and parameters can be overridden by alternate makefiles.

Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Volker Simonis
7c17e9e75b 7175914: Usage of gcc with precompiled headers produces wrong build dependencies
Add -fpch-deps flag to gcc builds

Reviewed-by: kamg, coleenp
2012-06-11 13:10:14 -04:00
Erik Joelsson
cfc6c74d02 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
Reviewed-by: dholmes, ohair
2012-03-19 10:09:24 +01:00
Erik Joelsson
97612e5913 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
2012-02-22 09:24:35 +01:00
Erik Joelsson
a1b4a3f698 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
Cleaned up make variables for compilers and linker to consistently use CXX for C++ compiler, CC for C compiler and LD for linker.

Reviewed-by: dholmes, ohrstrom
2012-02-06 09:14:22 +01:00
Stefan Karlsson
78d7be03bf 7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.

Reviewed-by: dholmes, brutisso
2011-11-28 14:58:31 +01:00
Rickard Backman
2c5cec930a 7106766: Move the precompiled header from the src/share/vm directory
Moved precompiled.hpp to src/share/vm/precompiled

Reviewed-by: coleenp, dholmes
2011-11-01 13:44:40 +01:00
Christos Zoulas
32708baef1 7098194: integrate macosx-port changes
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.

Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Kurt Miller
95c56a472b 7089790: integrate bsd-port changes
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00