Re: Build error with GCC4.8 on Fedora19

2013-07-26 Thread Helio Frota
Hi, Just feedback , build was ok with fedora 19. Thanks Omair Majid for the flag tips. $ sudo yum groupinstall "Development Tools" $ sudo yum install gcc-c++ $ sudo yum install libXrender-devel $ sudo yum install freetype-devel $ sudo yum install libXt-devel $ ./configure $ make DEBUG_BINARIES=t

Re: Build error with GCC4.8 on Fedora19

2013-07-25 Thread Helio Frota
Hi sudo yum install libXt-devel solve the dependency problem. but i get other... cc1: all warnings being treated as errors gmake[2]: *** [/home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/objs/libsctp/SctpChannelImpl.o] Error 1 gmake[2]: *** Waiting for unfinished jobs...

Re: Build error with GCC4.8 on Fedora19

2013-07-25 Thread Helio Frota
Hi Omair and Alan, I get this error: In file included from /home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release/jdk/gensrc_x11wrappers/sizer.32.c:11:0: /home/hf/adopt_openjdk/openjdk8/jdk/src/solaris/native/sun/awt/awt_p.h:44:27: fatal error: X11/Intrinsic.h: No such file or dir

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi Omair, The only problem is that modern gcc versions don't produce stabs either. Try: $ make DEBUG_BINARIES=true all Thanks for the tip ! I will try again tomorrow on job (fedora19) machine. Regards, Helio 2013/7/24 Omair Majid > On 07/24/2013 04:11 PM, Helio Frota wrote: > > Hi, > > > >

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi Omair, Thanks for the tips ! About freetype: Just change to sudo yum install freetype-devel This solve the problem.. Going to validate the "alsa" now... Regards, Helio 2013/7/24 Omair Majid > On 07/24/2013 03:44 PM, Helio Frota wrote: > > Hi, > > > > Another problem: > > > > configure:

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Omair Majid
On 07/24/2013 04:11 PM, Helio Frota wrote: > Hi, > > I got the same problem with GCC 4.8.1 and Manjaro distribution ( distro > son of archlinux ) > > Generating precompiled header precompiled.hpp.gch > cc1plus: error: the "stabs" debug format cannot be used with > pre-compiled headers [-Werror=de

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, I got the same problem with GCC 4.8.1 and Manjaro distribution ( distro son of archlinux ) Generating precompiled header precompiled.hpp.gch cc1plus: error: the "stabs" debug format cannot be used with pre-compiled headers [-Werror=deprecated] cc1plus: all warnings being treated as errors gma

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Sorry, its me again. I get the configure error: configure: error: Could not find freetype2! You might be able to fix this by running 'sudo yum install freetype2-devel'. configure exiting with result code 1 But after run the command: sudo yum install freetype2-devel Fedora 19 appears not to have

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, Configure "ok" A new configuration has been successfully created in /home/hf/adopt_openjdk/openjdk8/build/linux-x86-normal-server-release using default settings. Configuration summary: * Debug level:release * JDK variant:normal *

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Omair Majid
On 07/24/2013 03:44 PM, Helio Frota wrote: > Hi, > > Another problem: > > configure: error: Could not find all X11 headers (shape.h Xrender.h > XTest.h). You might be able to fix this by running 'sudo yum install > libXtst-devel'. > configure exiting with result code 1 > > I did this, but the er

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, Please add the message: You might be able to fix this by running 'sudo yum install libXrender-devel'. sudo yum install libXrender-devel Because shape.h Xrender.h XTest.h are not installed with sudo yum install libXtst-devel Regards, Helio 2013/7/24 Helio Frota > Hi, > > Another probl

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, Another problem: configure: error: Could not find all X11 headers (shape.h Xrender.h XTest.h). You might be able to fix this by running 'sudo yum install libXtst-devel'. configure exiting with result code 1 I did this, but the error persists. Going to investigate... Regards, Helio 2013/

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, Please need to add the message on the autoconf config scripts: You might be able to fix this by running 'sudo yum install gcc-c++'. because " 'sudo yum groupinstall "Development Tools"' " not installed the gcc-c++ compiler. Regards, Helio 2013/7/24 Helio Frota > Ok first feedback >

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Ok first feedback configure: error: Could not find a C++ compiler. You might be able to fix this by running 'sudo yum groupinstall "Development Tools"'. I did this but the error continue. Going to investigate a workaround. Regards, Helio 2013/7/24 Helio Frota > Hi, > > I'm curious if there

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Helio Frota
Hi, I'm curious if there was a conclusion on this one. I assume SCTP_WERROR was originally intended for building libsctp (not libnio) so it would be strange to add to SCTP_WERROR to disable -Werror for issues coming from the file system code. One other thing that isn't clear is why there aren't ot

Re: Build error with GCC4.8 on Fedora19

2013-07-24 Thread Alan Bateman
On 10/07/2013 12:01, Omair Majid wrote: On 07/09/2013 03:40 AM, Erik Joelsson wrote: I would like to see a comment explaining why the option was needed. Is this a bug in gcc or has the checking just become better? -Werror is not a great default. It means "all warnings are errors". The set of wa

Re: Build error with GCC4.8 on Fedora19

2013-07-10 Thread Omair Majid
On 07/09/2013 03:40 AM, Erik Joelsson wrote: > I would like to see a comment explaining why the option was needed. Is > this a bug in gcc or has the checking just become better? -Werror is not a great default. It means "all warnings are errors". The set of warnings that a compiler emits changes al

Re: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Helio Frota
Hi Yasu, Can you try to build class library? Yes i will try. Thanks, 2013/7/9 Yasu > Hi Helio, > > I've read your article. > Can you try to build class library? > I encountered this issue on building SCTP module. > > > Thanks, > > Yasumasa > -- Helio Frota JUG Leader - CEJUG http://ww

Re: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Andrew Haley
On 07/09/2013 12:11 PM, Yasu wrote: > Hi Erik, > > I posted email as following: > http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/018790.html > --- > Hi, > > I tried to build JDK8 with GCC4.8 on Fedora19. > However, build process has been failed as following: > > -- > /usr/src

RE: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Yasu
Hi Helio, I've read your article. Can you try to build class library? I encountered this issue on building SCTP module. Thanks, Yasumasa

RE: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Yasu
Hi Erik, I posted email as following: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/018790.html --- Hi, I tried to build JDK8 with GCC4.8 on Fedora19. However, build process has been failed as following: -- /usr/src/OpenJDK/tl/jdk/src/solaris/native/sun/nio/fs/UnixNativeDisp

Re: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Helio Frota
Hi great all, This is my first mail here, i'm Jug Leader of CEJUG and OpenJDK Adoptor. I did the build of OpenJDK with GCC 4.8.1 Please look: http://www.heliofrota.com/blog/2013/06/25/building-openjdk8-plus-gcc-4-dot-8-1-plus-manjaro-gnu-linux-x86/ And here all discussion on Adopt OpenJDK maili

Re: Build error with GCC4.8 on Fedora19

2013-07-09 Thread Erik Joelsson
I would like to see a comment explaining why the option was needed. Is this a bug in gcc or has the checking just become better? /Erik On 2013-07-09 07:46, Dan Xu wrote: > Adding build-dev mailing list. > > > On 07/08/2013 09:54 PM, Yasu wrote: >> Sorry, I forgot to attach a patch: >> >> -- >

Re: Build error with GCC4.8 on Fedora19

2013-07-08 Thread Dan Xu
Adding build-dev mailing list. On 07/08/2013 09:54 PM, Yasu wrote: > Sorry, I forgot to attach a patch: > > -- > > diff -r 52454985425d makefiles/CompileNativeLibraries.gmk > --- a/makefiles/CompileNativeLibraries.gmk Mon Jul 08 19:24:22 2013 -0700 > +++ b/makefiles/CompileNativeLibraries.gmk

Build error with GCC4.8 on Fedora19

2013-07-08 Thread Yasu
Sorry, I forgot to attach a patch: -- diff -r 52454985425d makefiles/CompileNativeLibraries.gmk --- a/makefiles/CompileNativeLibraries.gmk Mon Jul 08 19:24:22 2013 -0700 +++ b/makefiles/CompileNativeLibraries.gmk Tue Jul 09 13:41:12 2013 +0900 @@ -1987,7 +1987,7 @@ ifneq ($(OPENJDK_TARGET_OS

Build error with GCC4.8 on Fedora19

2013-07-08 Thread Yasu
Hi, I tried to build JDK8 with GCC4.8 on Fedora19. However, build process has been failed as following: -- /usr/src/OpenJDK/tl/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c: In function ‘Java_sun_nio_fs_UnixNativeDispatcher_getgrnam0’: /usr/src/OpenJDK/tl/jdk/src/solaris/native/su