8319570: Change to GCC 13.2.0 for building on Linux at Oracle#16550
8319570: Change to GCC 13.2.0 for building on Linux at Oracle#16550vidmik wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back mikael! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
For See
It seems to be gcc bugs. AFAIK, we don't come up with better solutions for now and internal discussions are conducted. See #11858 (comment) |
magicus
left a comment
There was a problem hiding this comment.
Build changes look fine (barring the And call change).
|
@vidmik This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
…gling pointer warning with zero
@shqking Good feedback, thank you! I tried to use However, @stefank suggested another, better solution: move the relevant I just pushed a change that moves the constructor implantation to |
|
/labels add hotspot-runtime |
|
@vidmik Unknown command |
|
/label add hotspot-runtime |
|
@vidmik |
dholmes-ora
left a comment
There was a problem hiding this comment.
Looks good. Thanks for factoring out the actual warning changes.
|
Thank you for the reviews! /integrate |
|
Going to push as commit 1802cb5.
Your commit was automatically rebased without conflicts. |
Oracle is updating the version of GCC for building the JDK on Linux to 13.2.0.
Note: The changes discussed below were broken out into a separate change and integrated through #16584.
Apart from the "obvious" changes, I'll add some color to the CompileJvm.gmk changes. In particular, I ran into two different types of new warnings with GCC 13.2.0:
src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp:203:66: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]Only reproduces with fastdebug on linux-aarch64. I tried to understand why the warning is generated and how the code could be fixed but eventually had to give up.. I ended up disabling the warning for linux-aarch64-debug specifically but open to feedback and other alternatives.
src/hotspot/share/runtime/thread.hpp:579:77: error: storing the address of local variable 'rm' in '*_thr_current.Thread::_current_resource_mark' [-Werror=dangling-pointer=]The linux/zero build generates lots and lots of dangling pointer warnings. As with the first warning I tried to understand why but also gave up in the end. Like the first warning I disabled it instead, for zero builds. Again appreciating feedback/suggestions.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/16550/head:pull/16550$ git checkout pull/16550Update a local copy of the PR:
$ git checkout pull/16550$ git pull https://git.openjdk.org/jdk.git pull/16550/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 16550View PR using the GUI difftool:
$ git pr show -t 16550Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/16550.diff
Webrev
Link to Webrev Comment