Date: Thu, 16 Aug 2007 15:51:05 +0200 (MEST) From: Michiel Boland <michiel@boland.org> To: Tobias Grosser <lists_freebsd_org@07.antispam.web-wahnsinn.de> Cc: freebsd-current@freebsd.org, freebsd-java@freebsd.org Subject: Re: Gcc bugs break java/jdk15 build? [Workaround] Message-ID: <Pine.GSO.4.64.0708161548520.17480@neerbosch.nijmegen.internl.net> In-Reply-To: <20070816144458.kv2datmjkk4kcok8@webmail.df.eu> References: <1186303666.36623.23.camel@tobias.wg.> <20070815144804.GC5151@misty.eyesbeyond.com> <20070816144458.kv2datmjkk4kcok8@webmail.df.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
> I tried already with the gcc 4.2.1 patch from > (http://people.freebsd.org/~kan/contrib-gcc421.tar.gz), > but the build also breaks with optimization. (I am not sure, if it was the > same error) Without optimization it was working. FWIW the builds succeeds for me if I add -fno-tree-vrp to OPT_CFLAGS: diff -ur o/jdk15.patches n/jdk15.patches --- o/jdk15.patches 2007-07-26 18:00:23.000000000 +0200 +++ n/jdk15.patches 2007-08-16 14:12:04.000000000 +0200 @@ -16460,7 +16460,7 @@ +CFLAGS += $(GCC_SAVE_TEMPS) + +# The flags to use for an Optimized g++ build -+OPT_CFLAGS += -O3 ++OPT_CFLAGS += -O3 -fno-tree-vrp +# Hotspot uses very unstrict aliasing turn this optimization off +OPT_CFLAGS += -fno-strict-aliasing +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0708161548520.17480>