Сборка openjdk8u в Solaris 10: сбой с ошибкой

Когда я создаю последний код из http://hg.openjdk.java.net/jdk8u/jdk8u, я получаю некоторые ошибки в Solaris 10. Следующие шаги из: https://hg.openjdk.java.net/jdk8u/jdk8u/raw-file/tip/README-builds.html

Мне удалось собрать jdk8 в той же системе. Но при сборке jdk8u столкнулся с некоторыми проблемами: Настройка:

 ./configure --with-tools-dir=/opt/solarisstudio12.4/bin/ --enable-jfr=yes --with-target-bits=32

bash-3.2# uname -a SunOS FFPSNetSec 5.10 Generic_148889-05 i86pc i386 i86pc

/etc/релиз:

Oracle Solaris 10 8/11 s10x_u10wos_17b X86
  Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
                            Assembled 23 August 2011

Ошибка:

ld: warning: mapfile: text segment: section '.text%ntohl' does not appear in mapfile specified input file(s)
ld: warning: mapfile: text segment: section '.text%_init' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%init64IO' does not appear in mapfile specified input file(s)
ld: warning: mapfile: text segment: section '.text%setPathEnvironment' does not appear in mapfile specified input file(s)
ld: warning: mapfile: text segment: section '.text%Java_java_io_FileSystem_getFileSystem' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_io_UnixFileSystem_canonicalize' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_lang_ClassLoader_findLoadedClass' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_lang_Float_floatToIntBits' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_lang_Double_doubleToLongBits' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_lang_Shutdown_halt' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_util_logging_FileHandler_lockFile' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%Java_java_util_logging_FileHandler_unlockFile' does not appear in any input file
ld: warning: mapfile: text segment: section '.text%readLOC' does not appear in mapfile specified input file(s)
ld: warning: mapfile: text segment: section '.text%huft_build' does not appear in mapfile specified input file(s)
Undefined                       first referenced
 symbol                             in file
_IO_stdin_used                      /export/home/preethi/openjdk8u/jdk/make/mapfiles/launchers/mapfile-x86
__xargv                             /opt/solarisstudio12.4/lib/compilers/crt1x.o  (symbol has no version assigned)
__xargc                             /opt/solarisstudio12.4/lib/compilers/crt1x.o  (symbol has no version assigned)
ld: fatal: symbol referencing errors. No output written to /export/home/preethi/openjdk8u/build/solaris-x86-normal-server-release/jdk/objs/java_objs/java
gmake[2]: *** [/export/home/preethi/openjdk8u/build/solaris-x86-normal-server-release/jdk/objs/java_objs/java] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [launchers-only] Error 2
gmake: *** [jdk-only] Error 2

Я попробовал тот же исходный код jdk8u из openjdk и собрал --with-target-bits=64, сборка завершена без ошибок. Но я не уверен, почему это не работает для 32-битной версии. Может ли кто-нибудь помочь мне решить эту проблему?


person preethi selvaraju    schedule 14.07.2020    source источник


Ответы (1)


32-разрядные сборки Java 8 в Solaris не поддерживаются.

См. Oracle JDK 8 и JRE 8. Сертифицированные конфигурации системы:

person Andrew Henle    schedule 17.07.2020