-
Bug
-
Resolution: Fixed
-
P3
-
21
-
b17
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313911 | 17.0.10-oracle | Ravi Reddy | P3 | Resolved | Fixed | b01 |
JDK-8318929 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
On Alpine Linux, using gcc12, we run now into this compile warning as error :
In file included from /openjdk/linuxmuslx86_64/jdk/test/jdk/java/io/File/libGetXSpace.c:31:
/usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^~~~~~~
cc1: all warnings being treated as errors
Not sure if this warning makes a lot of sense, but we probably better just include <errno.h> like it is done at almost all other places in the codebase ?
In file included from /openjdk/linuxmuslx86_64/jdk/test/jdk/java/io/File/libGetXSpace.c:31:
/usr/include/sys/errno.h:1:2: error: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^~~~~~~
cc1: all warnings being treated as errors
Not sure if this warning makes a lot of sense, but we probably better just include <errno.h> like it is done at almost all other places in the codebase ?
- backported by
-
JDK-8313911 compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
-
- Resolved
-
-
JDK-8318929 compile error on Alpine with gcc12 after 8298619 in libGetXSpace.c
-
- Resolved
-
- relates to
-
JDK-8298619 java/io/File/GetXSpace.java is failing
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/f85053f5
-
Commit openjdk/jdk/a3137c75
-
Review openjdk/jdk17u-dev/1912
-
Review openjdk/jdk/13349
(2 links to)