-
Bug
-
Resolution: Fixed
-
P1
-
11
-
None
-
b04
-
aarch64
It seems that JDK-8198724 "Refactor FLAGS handling in configure" broke the aarch64 build.
The new configure scheme tries to pass the argument "-m64" to the gcc compiler, but that is an x86-only flag.
configure:35228: checking whether the C compiler works
configure:35250: /usr/bin/gcc -m64 -m64 conftest.c >&5
gcc: error: unrecognized command line option '-m64'
gcc: error: unrecognized command line option '-m64'
configure:35254: $? = 1
configure:35292: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenJDK"
| #define PACKAGE_TARNAME "openjdk"
| #define PACKAGE_VERSION "jdk9"
| #define PACKAGE_STRING "OpenJDK jdk9"
| #define PACKAGE_BUGREPORT "build-dev@openjdk.java.net"
| #define PACKAGE_URL "http://openjdk.java.net"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:35297: error: in `/home/dwhite/clean-jdk11-ws':
configure:35299: error: C compiler cannot create executables
The new configure scheme tries to pass the argument "-m64" to the gcc compiler, but that is an x86-only flag.
configure:35228: checking whether the C compiler works
configure:35250: /usr/bin/gcc -m64 -m64 conftest.c >&5
gcc: error: unrecognized command line option '-m64'
gcc: error: unrecognized command line option '-m64'
configure:35254: $? = 1
configure:35292: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenJDK"
| #define PACKAGE_TARNAME "openjdk"
| #define PACKAGE_VERSION "jdk9"
| #define PACKAGE_STRING "OpenJDK jdk9"
| #define PACKAGE_BUGREPORT "build-dev@openjdk.java.net"
| #define PACKAGE_URL "http://openjdk.java.net"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:35297: error: in `/home/dwhite/clean-jdk11-ws':
configure:35299: error: C compiler cannot create executables
- relates to
-
JDK-8198724 Refactor FLAGS handling in configure
- Resolved
-
JDK-8201536 configure fails compiler check due to bad -m32 flag
- Resolved