Build error with GCC4.8 on Fedora19

Helio Frota heliofrota at gmail.com
Tue Jul 9 10:41:29 UTC 2013


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 mailing list:
https://groups.google.com/d/msg/adopt-openjdk/-6CQLEclN-Q/NkrCc96WeM8J

I will try with fedora 19 soon.

Thanks.


2013/7/9 Erik Joelsson <erik.joelsson at oracle.com>

> 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:
> >>
> >> ------
> >>
> >> 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),macosx)
> >>
> >> - SCTP_WERROR := -Werror
> >> + SCTP_WERROR := -Werror -Wno-error=unused-parameter
> >> ifeq ($(OPENJDK_TARGET_CPU_ARCH), ppc)
> >> SCTP_WERROR :=
> >> endif
>



-- 
Helio Frota
JUG Leader - CEJUG
http://www.cejug.org/ <http://www.linuxgames.com.br/>
http://www.linkedin.com/in/heliofrota



More information about the core-libs-dev mailing list