< prev index next >

make/linux/makefiles/gcc.make

Print this page
rev 9666 : 8144695: --disable-warnings-as-errors does not work for HotSpot build
Reviewed-by: duke
rev 9323 : Merge
rev 9322 : Merge
rev 9285 : 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux.
Reviewed-by: stuefe, coleenp, roland
rev 9234 : 8141416: "expr: syntax error" due to gcc -dumpversion excluding micro
Reviewed-by: erikj, stuefe
rev 9163 : 8140091: remove VMStructs cast_uint64_t workaround for GCC 4.1.1 bug
Reviewed-by: erikj, kvn
rev 9129 : 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
Summary: Also fix one problematic format on ppc.
Reviewed-by: david, simonis
rev 9092 : 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
rev 8042 : 8075511: Enable -Woverloaded-virtual C++ warning for HotSpot build
Reviewed-by: erikj, simonis, ehelin
rev 7982 : 8073315: Enable gcc -Wtype-limits and fix upcoming issues.
Summary: Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.
Reviewed-by: jwilhelm, kbarrett, simonis
rev 7960 : 8072383: resolve conflicts between open and closed ports
Summary: refactor close to remove references to closed ports
Reviewed-by: kvn, simonis, dholmes
rev 7922 : Merge
rev 7921 : 8064611: AARCH64: Changes to HotSpot shared code
Summary: Everything except cpu/ and os_cpu/
Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
rev 7432 : 8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
rev 6848 : 8047952: Remove _FORTIFY_SOURCE from fastdebug and slowdebug builds
Reviewed-by: dholmes
rev 6678 : 8047734: Backout use of -Og
Reviewed-by: iveresov
rev 6565 : 8032045: Enable compiler and linker safety switches for debug builds
Summary: Enable GCC linker protections, runtime bounds checks and stack protection.
Reviewed-by: dholmes, kvn, coleenp
rev 6232 : 8033251: Use DWARF debug symbols for Linux 32-bit as default
Reviewed-by: dcubed, dholmes, coleenp
rev 6115 : 8036122: Fix warning 'format not a string literal'
Reviewed-by: mduigou, kvn
rev 6017 : Merge
rev 6002 : 8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
rev 5865 : Merge
rev 5855 : Merge
rev 5845 : 8019922: PPC64 (part 8): Implement Linux/PPC64 support in HotSpot makefiles
Summary: HotSpot make changes to build the HotSpot on Linux/PPC64
Reviewed-by: dholmes, kvn
rev 5362 : 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
rev 5141 : 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
rev 4880 : 8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
rev 4824 : 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Reviewed-by: dholmes, coleenp
Contributed-by: jeremymanson@google.com, calvin.cheung@oracle.com
rev 4795 : 8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn
rev 4454 : 8003310: Enable -Wunused-function when compiling with gcc
Summary: Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
rev 4287 : 8008474: Add -Wundef to warning flags.
Summary: Force use of undefined macros to be and error.
Reviewed-by: dholmes, mikael
rev 3909 : 7153050: remove crufty '_g' support from HotSpot repo makefiles
Summary: Phase 1 is removing '_g' support from the Makefiles.
Reviewed-by: dcubed, sspitsyn, coleenp, tbell
Contributed-by: ron.durbin@oracle.com
rev 3730 : 7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
rev 3554 : 7188168: 7071904 broke the DEBUG_BINARIES option on Linux
Summary: Change DEBUG_BINARIES option logic to be more clear.
Reviewed-by: fparain, andrew
rev 3397 : 7175914: Usage of gcc with precompiled headers produces wrong build dependencies
Summary: Add -fpch-deps flag to gcc builds
Reviewed-by: kamg, coleenp
Contributed-by: volker.simonis@gmail.com
rev 3291 : Merge
rev 3289 : 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files.
Reviewed-by: dholmes, ohair, sspitsyn
rev 3214 : 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
Reviewed-by: dholmes, ohair
rev 3165 : 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
rev 3083 : 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
Summary: 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
rev 2890 : 7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
Summary: Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.
Reviewed-by: dholmes, brutisso
rev 2794 : 7106766: Move the precompiled header from the src/share/vm directory
Summary: Moved precompiled.hpp to src/share/vm/precompiled
Reviewed-by: coleenp, dholmes
Contributed-by: rbackman <rickard.backman@oracle.com>
rev 2715 : 7071904: 4/4 HotSpot: Full Debug Symbols
Summary: Add support for .debuginfo files for HSX libraries.
Reviewed-by: poonam, dholmes, never
rev 2404 : 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Summary: Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic
Reviewed-by: dsamersoff, dholmes
Contributed-by: omajid@redhat.com
rev 2273 : 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
Summary: Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
rev 2248 : 7029017: Additional architecture support for c2 compiler
Summary: Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.
Reviewed-by: kvn, never
rev 2072 : 6588413: Use -fvisibility=hidden for gcc compiles
Summary: Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.
Reviewed-by: kamg, never
rev 1927 : 7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
Summary: Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH
Reviewed-by: acorn, ohair
rev 1890 : 7003125: precompiled.hpp is included when precompiled headers are not used
Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.
Reviewed-by: coleenp, kvn
rev 1879 : 6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
rev 1612 : 6976186: integrate Shark HotSpot changes
Summary: Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.
Reviewed-by: kvn, twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
rev 1601 : 6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
rev 1472 : 6941466: Oracle rebranding changes for Hotspot repositories
Summary: Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
rev 1010 : 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
Contributed-by: gbenson@redhat.com
rev 770 : Merge
rev 767 : 6829575: 100028: Debug information is incomplete or missing
Summary: Enable debugging in many places
Reviewed-by: ohair
Contributed-by: Andrew Haley <aph@redhat.com>
rev 744 : 6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Summary: Switch off GCC 4.3.0 optimized compilation for mulnode.o.
Reviewed-by: johnc
rev 579 : 6814575: Update copyright year
Summary: Update copyright for files that have been modified in 2009, up to 03/09
Reviewed-by: katleman, tbell, ohair
rev 576 : 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
Reviewed-by: tbell
rev 235 : Merge
rev 229 : 6718830: Hotspot fails to build with gcc 4.3
Summary: Fixed linux make file and couple adlc code to meet the changes of gcc 4.3
Reviewed-by: kamg, igor
rev 198 : 6647068: libjvm.so is not built PIC
Summary: Remove the preferred base address built with libjvm.so and unified the PIC approach on Solaris & Linux.
Reviewed-by: never, kamg
Contributed-by: xiaobin.lu@sun.com
rev 196 : 6719955: Update copyright year
Summary: Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
rev 91 : 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
Summary: Moved makefiles out of build and build/closed into make/
Reviewed-by: kvn, ohair

*** 201,211 **** else CFLAGS += -pipe endif # Compiler warnings are treated as errors ! WARNINGS_ARE_ERRORS = -Werror ifeq ($(USE_CLANG), true) # However we need to clean the code up before we can unrestrictedly enable this option with Clang WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare --- 201,211 ---- else CFLAGS += -pipe endif # Compiler warnings are treated as errors ! WARNINGS_ARE_ERRORS ?= -Werror ifeq ($(USE_CLANG), true) # However we need to clean the code up before we can unrestrictedly enable this option with Clang WARNINGS_ARE_ERRORS += -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses WARNINGS_ARE_ERRORS += -Wno-switch -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare
< prev index next >