FreeBSD-current cannot build java/jdk15

Mario Sergio Fujikawa Ferreira liouxlist at uol.com.br
Tue Sep 25 18:43:14 PDT 2007


On Mon, Sep 24, 2007 at 08:58:08AM -0700, Greg Lewis wrote:
> Delivered-To: lioux-lists at localhost
> X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to
> 	glewis at eyesbeyond.com using -f
> Date: Mon, 24 Sep 2007 08:58:31 -0700
> From: Greg Lewis <glewis at eyesbeyond.com>
> To: Mario Sergio Fujikawa Ferreira <lioux-list at uol.com.br>
> Cc: freebsd-ports at freebsd.org
> Subject: Re: FreeBSD-current cannot build java/jdk15
> In-Reply-To: <20070924032022.10953.qmail at exxodus.fedaykin.here>
> User-Agent: Mutt/1.4.2.2i
> X-SIG5: d0550b87f734f7096cf475953ea1c1d8
> 
> On Mon, Sep 24, 2007 at 12:19:59AM -0300, Mario Sergio Fujikawa Ferreira wrote:
> > 	I am running -CURRENT as of yesterday (23 of september of
> > 2007) and I am unable to build java/jdk15.
> > 
> > FreeBSD exxodus.fedaykin.here 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Fri Sep 21 07:35:14 BRT 2007     lioux at exxodus:/usr/obj/usr/src/sys/LIOUX  i386
> > 
> > 	I am running all latest ports as of today. My system
> > information is attached. Let me know if there is anything else I can do.
> > 
> > 	My broken build can be found at:
> > 
> > http://people.freebsd.org/~lioux/jdk15.tar.lzma
> > MD5 (jdk15.tar.lzma) = 6a5f7e16795f89e20f415b8748ee2c0b
> > 
> > 	The build log can be found at:
> > 
> > http://people.freebsd.org/~lioux/jdk15.log
> 
> Looks like the gcc 4.2 optimiser bug.  Try setting -fno-tree-vrp in your
> CFLAGS.  Either that or hack the HotSpot compile to use -O0 rather than
> -O3.

	Adding "-fno-tree-vrp" CFLAGS fixed the build.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature


More information about the freebsd-ports mailing list