-
Bug
-
Resolution: Fixed
-
P4
-
17, 18
-
b23
-
aarch64
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8287252 | 18u-cpu | Adam Farley | P4 | Resolved | Fixed | master |
JDK-8287182 | 18.0.2 | Adam Farley | P4 | Resolved | Fixed | b08 |
JDK-8287184 | 17.0.4 | Adam Farley | P4 | Resolved | Fixed | b04 |
JDK-8338318 | 11.0.25 | Adam Farley | P4 | Resolved | Fixed | b03 |
Total text output on JDK17 is approximately 170mb, and the output on JDK18 is around 90mb. This feels excessive, especially when compared with the JDK11 output (under 1mb).
After checking flags-cflags.m4, it seems we don't set BUILD_CC_DISABLE_WARNING_PREFIX to "-Wno-", which results in the buildjdk-spec.gmk file (generated from buildjdk-spec.gmk.in) not using the same set of warning suppression flags as:
- when you're building the buildjdk and full jdk with gcc
and
- when you're building the full jdk with clang
In short, I propose we set that variable in the same way we do when using the gcc compiler and when using clang for making the full jdk; ignoring the same warnings. This has been tested, and knocks the output down to under 1mb, while still producing a healthy build.
My plan is to propose this change in the head branch before proposing a backport to 18 and 17.
- backported by
-
JDK-8287182 Mac Aarch: Excessive warnings to be ignored for build jdk
-
- Resolved
-
-
JDK-8287184 Mac Aarch: Excessive warnings to be ignored for build jdk
-
- Resolved
-
-
JDK-8287252 Mac Aarch: Excessive warnings to be ignored for build jdk
-
- Resolved
-
-
JDK-8338318 Mac Aarch: Excessive warnings to be ignored for build jdk
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u/461fb320
-
Commit openjdk/jdk18u/c5754962
-
Commit openjdk/jdk/40f43c6b
-
Commit(master) openjdk/jdk11u-dev/f7217d75
-
Review openjdk/jdk17u/339
-
Review openjdk/jdk18u/130
-
Review openjdk/jdk18u/131
-
Review openjdk/jdk/8665
-
Review(master) openjdk/jdk11u-dev/2897