Problems building JDK8 on x64 Linux with new build

Erik Joelsson erik.joelsson at oracle.com
Mon Nov 12 01:01:35 PST 2012


Fredrik fixed both of these in jdk8/build as soon as we found out. The 
missing endif was a merge artifact with a stray '\' hiding it. The only 
way to prevent this that I can see would be for integrators to test both 
builds from now on.

/Erik

On 2012-11-10 03:12, Kelly O'Hair wrote:
> Fredrik fixed one endif related bug:
>
> http://hg.openjdk.java.net/build-infra/jdk8/jdk/rev/1e79fec4a01f
>
> -kto
>
> On Nov 9, 2012, at 5:11 PM, Mike Duigou wrote:
>
>> Backing out cc998992dc32 currently isn't sufficient to produce a working x64 Linux image with new build. There appears to also be a problem with CreateJars.gmk running the `images` target:
>>
>> make[2]: Entering directory `/home/mike/code/jdk/jdk8/jdk/makefiles'
>> /bin/sh: 1: cannot create /home/mike/code/jdk/jdk8/build/linux-x86_64-normal-server-fastdebug/images/lib/ext//_the.localedata.jar_include: Directory nonexistent
>> /bin/grep: /home/mike/code/jdk/jdk8/build/linux-x86_64-normal-server-fastdebug/images/lib/ext//_the.localedata.jar_include: No such file or directory
>> make[3]: Entering directory `/home/mike/code/jdk/jdk8/jdk/makefiles'
>> CreateJars.gmk:905: *** missing `endif'.  Stop.
>> make[3]: Leaving directory `/home/mike/code/jdk/jdk8/jdk/makefiles'
>>
>> I spent some time trying to find the missing endif but it was elusive. (wouldn't it be useful if make told you the start line of the unclosed if!)
>>
>> The preceding failed output lines are also suspicious to me.
>>
>> This kind of problem shouldn't be getting in to the master jdk8 repo.
>>
>> Mike
>>
>>
>> On Nov 7 2012, at 08:35 , Mike Duigou wrote:
>>
>>> Building jdk8 currently fails :
>>>
>>> /home/mike/code/jdk8/jdk/build/linux-x86_64-normal-server-fastdebug/jdk/objs/liblcms/cmspack.o: In function `UnrollHalfToFloat':
>>> cmspack.c:(.text+0x276b): undefined reference to `_cmsHalf2Float'
>>> cmspack.c:(.text+0x27c6): undefined reference to `_cmsHalf2Float'
>>>
>>> presumably caused by:
>>>
>>> http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/cc998992dc32
>>>
>>>



More information about the build-infra-dev mailing list