Linker report unsupported file format for OpenJDK 8 and derivated

David Holmes david.holmes at oracle.com
Thu Aug 23 19:10:55 PDT 2012


On 24/08/2012 11:20 AM, Phil Race wrote:
> On 8/23/12 6:03 PM, David Holmes wrote:
>>
>> Wasn't this issue (or a similar one) previously reported and "simply"
>> a case where the current JDK build process does not support
>> cross-compiling a 32-bit JDK on a 64-bit host?
>
>
> As a general statement, this is not correct.
> 64 Bit windows builds 32 bit JDK for windows just fine

Correct, it has worked on windows for a long time.

> 64 bit Solaris (all there is really on SPARC), builds a 32 bit JDK just
> fine.

Ok. But some of the issues on Linux do not seem obviously linux specific.

> Same should be true for Linux as far as I know.

No Linux is broken. There are a few places where the compiler is invoked 
without -m32 or -m64 and so defaults to building the native format ie 
64-bit on 64-bit. See 7171653 for a problem with the sizers utility, and 
7153072 in general.

David
-----

> -phil.
>
>


More information about the jdk8-dev mailing list