Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 10:20:06 GMT
From:      Tobias Grosser <lists_freebsd_org@07.antispam.web-wahnsinn.de>
To:        freebsd-java@FreeBSD.org
Subject:   Re: ports/113467: Multiple "missing return value" errors building JDK on current
Message-ID:  <200708101020.l7AAK6tu001908@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/113467; it has been noted by GNATS.

From: Tobias Grosser <lists_freebsd_org@07.antispam.web-wahnsinn.de>
To: bug-followup@FreeBSD.org, robbak@gmail.com
Cc:  
Subject: Re: ports/113467: Multiple "missing return value" errors building
	JDK on current
Date: Fri, 10 Aug 2007 11:50:11 +0200

 I think I found a workaround for this problem.
 
 Have a look at:
 http://lists.freebsd.org/pipermail/freebsd-java/2007-August/006554.html
 
 The solution I found was to decrease optimization by replacing every
 occurence of "-O2" or "-O3"
 in the files:
 - ports/java/jdk15/work/j2se/make/common/Defs-bsd.gmk
 - ports/java/jdk15/work/hotspot/build/bsd/makefiles/gcc.make
 with "-O1" and bootstrap using linux-sun-jdk15.
 
 With decreased optimization the jdk15 port compiles fine.
 
 I tried to compile the jdk15 with optimization using the new compiled java/jdk15 to bootstrap, but again
 the compile errors from above broke the build. With decreased opimization it works again.
 
 Could you try, if this solves the problem for you?
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708101020.l7AAK6tu001908>