Merged with jdk8/tl and Ubuntu 12.10 build issues

Werner Dietl wdietl at gmail.com
Thu Nov 8 22:39:16 PST 2012


I repeated the build with all four possible combinations of patched vs
unpatched hotspot and new vs old build system.
I can successfully build with the old build system and the hotspot
patch (attached again). Note that the hotspot patch does not seem to
be necessary with gcc 4.6.
The new build system with patched hotspot fails at link time of the jdk project.
The unpatched hotspot fails in both old and new build system.

Find the output for each combination at [1]. I completely removed the
"build" directory after each failure.

All comments welcome.

Thanks,
cu, WMD.

[1] http://homes.cs.washington.edu/~wmdietl/tmp/build-jdk-msgs.tar.gz

On Thu, Nov 8, 2012 at 7:31 PM, Werner Dietl <wdietl at gmail.com> wrote:
> I repeated the build with all four possible combinations of patched vs
> unpatched hotspot and new vs old build system.
> I can successfully build with the old build system and the hotspot
> patch (attached again). Note that the hotspot patch does not seem to
> be necessary with gcc 4.6.
> The new build system with patched hotspot fails at link time of the jdk project.
> The unpatched hotspot fails in both old and new build system.
>
> Find the output for each combination attached in
> build-jdk-msgs.tar.gz. I completely removed the "build" directory
> after each failure.
>
> All comments welcome.
>
> Thanks,
> cu, WMD.
>
>
> On Wed, Nov 7, 2012 at 11:04 PM, Werner Dietl <wdietl at gmail.com> wrote:
>> FYI, I merged with all repositories in jdk8/tl and pushed to
>> type-annotations.
>>
>> On my Ubuntu 12.10 system with gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2 I
>> currently cannot build the hotspot and jdk repositories.
>>
>> File build-jdk-error-hotspot.txt.gz contains the whole build configuration
>> and error message.
>> The attached diff (2012-11-07-hotspot.diff) resolves the problems in hotspot
>> by a few simple additions.
>>
>> However, the jdk project still doesn't build anymore; see
>> build-jdk-error-jdk.txt.gz for the link error I have there.
>>
>> I tried with both the old build system and the new build system, with the
>> same results.
>>
>> Note that these errors seem to be connected with my recent upgrade from
>> Ubuntu 12.04 to 12.10. On Ubuntu 12.04 I could successfully build
>> everything.
>>
>> Also note that I can successfully build all repositories on our build
>> server, a Fedora 15 system with gcc 4.6.3:
>>
>> http://buffalo.cs.washington.edu:8080/job/type-annotations/lastBuild/console
>> http://buffalo.cs.washington.edu:8080/job/type-annotations-langtools/lastBuild/console
>>
>> Does anyone successfully compile OpenJDK with gcc 4.7.2 and/or Ubuntu 12.10?
>>
>> I tried providing "CC" and "CXX" environment variables to the new configure
>> script to switch to a gcc-4.6 installation. However, the build system
>> insisted on using the default gcc-4.7 installation.
>> Does anyone know how to use a different gcc installation?
>>
>> There is currently an ambiguity between annotated type casts and a form of
>> lambda expressions. I will investigate these additional failures.
>> I only merged the repositories so far. I did not integrate type annotations
>> with lambda yet.
>>
>> All help with these build issues would be greatly appreciated!
>>
>> Cheers,
>> cu, WMD.
>>
>> --
>> http://www.google.com/profiles/wdietl
>
>
>
> --
> http://www.google.com/profiles/wdietl



-- 
http://www.google.com/profiles/wdietl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2012-11-07-hotspot.diff
Type: application/octet-stream
Size: 1679 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/type-annotations-dev/attachments/20121108/93992798/2012-11-07-hotspot.diff 


More information about the type-annotations-dev mailing list