Cannot build OpenJDK8

Raahul Kumar raahul.kumar at gmail.com
Thu Oct 24 05:40:08 UTC 2013


make all --debug
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Reading makefiles...
Updating goal targets....
 File 'all' does not exist.
   File 'images' does not exist.
     File 'source-tips' does not exist.
         File 'FRC' does not exist.
        Must remake target 'FRC'.
        Successfully remade target file 'FRC'.
       Prerequisite 'FRC' of target
'/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/source_tips'
does not exist.
      Must remake target
'/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/source_tips'.
      Successfully remade target file
'/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/source_tips'.
    Must remake target 'source-tips'.
    Successfully remade target file 'source-tips'.
     File 'demos' does not exist.
       File 'jdk' does not exist.
         File 'langtools' does not exist.
           File 'langtools-only' does not exist.
             File 'start-make' does not exist.
            Must remake target 'start-make'.
Building OpenJDK for target 'all' in configuration
'linux-x86_64-normal-server-release'

            Successfully remade target file 'start-make'.
          Must remake target 'langtools-only'.
## Starting langtools
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Reading makefiles...
Updating goal targets....
 File 'default' does not exist.
   File 'all' does not exist.
  Must remake target 'all'.
  Successfully remade target file 'all'.
Must remake target 'default'.
Successfully remade target file 'default'.
## Finished langtools (build time 00:00:01)

          Successfully remade target file 'langtools-only'.
        Must remake target 'langtools'.
        Successfully remade target file 'langtools'.
         File 'hotspot' does not exist.
           File 'hotspot-only' does not exist.
          Must remake target 'hotspot-only'.
## Starting hotspot
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Reading makefiles...
Updating goal targets....
 File 'default' does not exist.
   File 'all' does not exist.
     File 'hotspot' does not exist.
       File
'/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp'
does not exist.
      Must remake target
'/home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp'.
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Reading makefiles...
Updating goal targets....
 File 'product' does not exist.
Must remake target 'product'.
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Reading makefiles...
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Updating goal targets....
 File 'generic_build2' does not exist.
Must remake target 'generic_build2'.
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
INFO: ALT_OBJCOPY=/usr/bin/objcopy
INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
INFO: STRIP_POLICY=min_strip
INFO: ZIP_DEBUGINFO_FILES=1
Updating goal targets....
 File 'product' does not exist.
Must remake target 'product'.
GNU Make 4.0
Built for x86_64-unknown-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets....
 File 'default' does not exist.
   File 'vm_build_preliminaries' does not exist.
     File 'checks' does not exist.
    Must remake target 'checks'.
    Successfully remade target file 'checks'.
     File 'ad_stuff' does not exist.
    Must remake target 'ad_stuff'.
/usr/bin/make: invalid option -- '8'
/usr/bin/make: invalid option -- '/'
/usr/bin/make: invalid option -- 'c'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
  [Cut out majority of make cmdline options]
                              Consider FILE to be infinitely new.
  This program built for x86_64-unknown-linux-gnu
Report bugs to <bug-make at gnu.org>
make[5]: *** [ad_stuff] 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
make[4]: *** [product] Error 2
Makefile:216: recipe for target 'generic_build2' failed
make[3]: *** [generic_build2] Error 2
Makefile:167: recipe for target 'product' failed
make[2]: *** [product] Error 2
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




On Thu, Oct 24, 2013 at 2:32 PM, David Holmes <david.holmes at oracle.com>wrote:

> 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