Re: Cannot build OpenJDK8

2013-11-19 Thread Andrey Panasyuk
Hello, I've applied patch from JDK-8028407 and things started working properly. Thank you, Andrey On 11/19/2013 07:31 PM, Tim Bell wrote: The bug number for this 'j' issue in the hotspot adjust-mflags.sh script is JDK-8028407 https://bugs.openjdk.java.net/browse/JDK-8028407 The email thre

Re: Cannot build OpenJDK8

2013-11-19 Thread Tim Bell
The bug number for this 'j' issue in the hotspot adjust-mflags.sh script is JDK-8028407 https://bugs.openjdk.java.net/browse/JDK-8028407 The email thread is here: http://mail.openjdk.java.net/pipermail/build-dev/2013-November/010941.html Tim On 11/19/13 07:58 AM, David Holmes wrote: Hi An

Re: Cannot build OpenJDK8

2013-11-19 Thread David Holmes
Hi Andrey, This is a known issue that I thought had been fixed - probably in build forest and perhaps not in jdk8 master yet. It is an issue with the adjust_flags.sh file and the specific version of make as I recall. David On 19/11/2013 10:53 PM, Andrey Panasyuk wrote: The issue is related

Cannot build OpenJDK8

2013-11-19 Thread Andrey Panasyuk
The issue is related to the folder name where OpenJDK is cloned. If the folder has lower case "j" letter in it the build fails. In my case I've got. /usr/bin/make: invalid option -- '8' /usr/bin/make: invalid option -- '/' /usr/bin/make: invalid option -- 'c' In the case if jdk is cloned to the

Re: Cannot build OpenJDK8

2013-10-24 Thread Magnus Ihse Bursie
On 2013-10-24 11:41, David Holmes wrote: On 24/10/2013 4:17 PM, Raahul Kumar wrote: Output of make --trace ... /usr/bin/mkdir -p /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot (cd /home/rkumar/openjdk8/hotspot/make && /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -

Re: Cannot build OpenJDK8

2013-10-24 Thread David Holmes
On 24/10/2013 4:17 PM, Raahul Kumar wrote: Output of make --trace ... /usr/bin/mkdir -p /home/rkumar/openjdk8/build/linux-x86_64-normal-server-release/hotspot (cd /home/rkumar/openjdk8/hotspot/make && /usr/bin/make -s VERBOSE="-s" LOG_LEVEL="warn" -R -I /home/rkumar/openjdk8/common/makefiles -

Re: Cannot build OpenJDK8

2013-10-23 Thread David Holmes
On 24/10/2013 3:40 PM, Raahul Kumar wrote: make all --debug No there is a LOG=trace setting you can add when running make (from the top-level build). This --debug doesn't show the command that was being attempted. Thanks, David GNU Make 4.0 Built for x86_64-unknown-linux-gnu Reading makef

Re: Cannot build OpenJDK8

2013-10-23 Thread Raahul Kumar
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'. Successf

Re: Cannot build OpenJDK8

2013-10-23 Thread David Holmes
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:

Re: Cannot build OpenJDK8

2013-10-23 Thread Raahul Kumar
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 make

Re: Cannot build OpenJDK8

2013-10-23 Thread Raahul Kumar
Forgot to mention I'm building on Linux. On Thu, Oct 24, 2013 at 11:44 AM, Raahul Kumar 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

Re: Cannot build OpenJDK8

2013-10-23 Thread Raahul Kumar
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 wrote: > What platform are you building on? What exact error me

Re: Cannot build OpenJDK8

2013-10-23 Thread Dan Xu
On 10/23/2013 04:40 PM, Weijun Wang 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 wr

Re: Cannot build OpenJDK8

2013-10-23 Thread Weijun Wang
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

Cannot build OpenJDK8

2013-10-23 Thread Raahul Kumar
Gcc seems to have been configured with -Werror, because it halts on just error messages. How do I build OpenJDK8 currently?