Cannot build OpenJDK8

David Holmes david.holmes at oracle.com
Thu Oct 24 04:32:28 UTC 2013


Can you run with LOG=trace so we can see the actual commands used.

Thanks,
David

On 24/10/2013 2:18 PM, Raahul Kumar wrote:
> I'm getting a different error message now. The Werror issue has been
> resolved, the bugfix worked.
>
> Creating sa.make ...
> /usr/bin/make: invalid option -- '8'
> /usr/bin/make: invalid option -- '/'
> /usr/bin/make: invalid option -- 'c'
> This program built for x86_64-unknown-linux-gnu
> Report bugs to <bug-make at gnu.org>
> make[5]: *** [ad_stuff] Error 2
> make[4]: *** [product] Error 2
> make[3]: *** [generic_build2] Error 2
> make[2]: *** [product] Error 2
> /home/rkumar/openjdk8/hotspot/make/linux/makefiles/top.make:91: recipe for
> target 'ad_stuff' failed
> /home/rkumar/openjdk8/hotspot/make/linux/Makefile:289: recipe for target
> 'product' failed
> Makefile:216: recipe for target 'generic_build2' failed
> Makefile:167: recipe for target 'product' failed
> HotspotWrapper.gmk:44: recipe for target
> '/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp'
> failed
> make[1]: ***
> [/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
> Error 2
> /home/rkumar/openjdk8//common/makefiles/Main.gmk:108: recipe for target
> 'hotspot-only' failed
> make: *** [hotspot-only] Error 2
>
>
> Build Environment
>
> Configuration summary:
> * Debug level:    release
> * JDK variant:    normal
> * JVM variants:   server
> * OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
>
> Tools summary:
> * Boot JDK:       java version "1.7.0_45" OpenJDK Runtime Environment
> (IcedTea 2.4.3) (ArchLinux build 7.u45_2.4.3-1-x86_64) OpenJDK 64-Bit
> Server VM (build 24.45-b08, mixed mode)  (at /usr/lib/jvm/java-7-openjdk)
> * C Compiler:     gcc (GCC) version 4.8.2 (at /usr/bin/gcc)
> * C++ Compiler:   g++ (GCC) version 4.8.2 (at /usr/bin/g++)
>
> Build performance summary:
> * Cores to use:   1
> * Memory limit:   997 MB
> * ccache status:  installed and in use
>
>
>
> On Thu, Oct 24, 2013 at 11:45 AM, Raahul Kumar <raahul.kumar at gmail.com>wrote:
>
>> Forgot to mention I'm building on Linux.
>>
>>
>> On Thu, Oct 24, 2013 at 11:44 AM, Raahul Kumar <raahul.kumar at gmail.com>wrote:
>>
>>> Yes. I'm currently trying to build the jdk 8 and I will confirm in a few
>>> hours if your fix worked. You've left Werror flag intact, all you've done is
>>> just ignore missing param error msg.
>>>
>>>
>>> On Thu, Oct 24, 2013 at 9:40 AM, Weijun Wang <weijun.wang at oracle.com>wrote:
>>>
>>>> What platform are you building on? What exact error messages have you
>>>> seen? It will be helpful if you provide these info.
>>>>
>>>> If it's SCTP on latest Linux, yes, there is a problem and we've just
>>>> fixed it.
>>>>
>>>> Thanks
>>>> Max
>>>>
>>>>
>>>> On 10/7/13 8:22 PM, Raahul Kumar wrote:
>>>>
>>>>> Gcc seems to have been configured with -Werror, because it halts on just
>>>>> error messages.
>>>>> How do I build OpenJDK8 currently?
>>>>>
>>>>>
>>>
>>



More information about the build-dev mailing list