-
Bug
-
Resolution: Fixed
-
P3
-
19
-
b27
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8288374 | 20 | Aleksey Shipilev | P3 | Resolved | Fixed | b02 |
gcc version 9.4.0 (also 9.3.1) produces build warning after JDK-8214976:
os_posix.cpp:786:34: error: call to 'exit' declared with attribute warning: use os::exit [-Werror=attribute-warning]
786 | ALLOW_C_FUNCTION(::exit, ::exit(num);)
| ~~~~~~^~~~~
Workaround: Use configure flag --disable-warnings-as-errors
os_posix.cpp:786:34: error: call to 'exit' declared with attribute warning: use os::exit [-Werror=attribute-warning]
786 | ALLOW_C_FUNCTION(::exit, ::exit(num);)
| ~~~~~~^~~~~
Workaround: Use configure flag --disable-warnings-as-errors
- backported by
-
JDK-8288374 False build warning-as-error with GCC 9 after JDK-8214976
-
- Resolved
-
- relates to
-
JDK-8214976 Warn about uses of functions replaced for portability
-
- Resolved
-
- links to
-
Commit openjdk/jdk19/d9c1364d
-
Review openjdk/jdk19/1
-
Review openjdk/jdk/9108
-
Review openjdk/jdk/9109
(1 links to)