Linker report unsupported file format for OpenJDK 8 and derivated

Phil Race philip.race at oracle.com
Thu Aug 23 20:29:05 PDT 2012


On 8/23/12 7:10 PM, David Holmes wrote:
> 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.

SInce RE build this way I am fairly sure it must work (more than) 
adequately.
>
>> 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.
>
OK, I did say "as far as I know". I only claimed what I know to be the 
case ...

-phil.

> David
> -----
>
>> -phil.
>>
>>



More information about the jdk8-dev mailing list