Hi,

Just wondered if anyone has tried building OpenJDK10 under Solaris 11.4 x86_64 yet?

Trying to build it on an solaris-x86_64 and not getting very far.

1) "os_solaris.cpp", line 1666: Error: EM_486 is not defined. Ref: https://bugs.openjdk.java.net/browse/JDK-8182035?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

    Solaris 11.4 has removed EM_486, but that a quick fix is in os_solaris.cpp:

    #ifndef EM_486
    #define EM_486          6               /* Intel 80486 */
    #endif

2) But then I get tons of the following:

"/opt/developerstudio124/lib/compilers/include/CC/stlport4/stl/_stdio_file.h", line 165: Error: __pad is not a member of const __FILE. "/opt/developerstudio124/lib/compilers/include/CC/stlport4/stl/_stdio_file.h", line 167: Error: __pad is not a member of const __FILE. "/opt/developerstudio124/lib/compilers/include/CC/stlport4/stl/_stdio_file.h", line 170: Error: __pad is not a member of __FILE. "/opt/developerstudio124/lib/compilers/include/CC/stlport4/stl/_stdio_file.h", line 170: Error: __pad is not a member of __FILE.

Guess need to keep a Solaris 11.3 to compile OpenJDK!

Cheers,

Andrew

--
Andrew Watkins * Birkbeck, University of London * Computer Science *
* http://notallmicrosoft.blogspot.com *
* UKOUG Systems SIG Chair *
* UKOUG Tech committee *
* tel: 020 7631 6720 *

Reply via email to