ports/113467: Multiple "missing return value" errors building  
Author Message
robbak





PostPosted: 2007-7-3 11:53:00 Top

java-programmer, ports/113467: Multiple "missing return value" errors building The following reply was made to PR ports/113467; it has been noted by GNATS.

From: "Robert Backhaus" <email***@***.com>
To: email***@***.com, email***@***.com
Cc:
Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current
Date: Tue, 3 Jul 2007 13:14:32 +1000

Confirming that this is still an issue with current patchset. I am
bootstrapping with diablo-jdk-1.5.0.07.01_5 for freeBSD 6 (from
ports).
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
lists_freebsd_org





PostPosted: 2007-8-10 18:26:00 Top

java-programmer >> ports/113467: Multiple "missing return value" errors building The following reply was made to PR ports/113467; it has been noted by GNATS.

From: Tobias Grosser <email***@***.com>
To: email***@***.com, email***@***.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?

_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
robbak





PostPosted: 2007-8-11 19:26:00 Top

java-programmer >> ports/113467: Multiple "missing return value" errors building The following reply was made to PR ports/113467; it has been noted by GNATS.

From: "Robert Backhaus" <email***@***.com>
To: email***@***.com
Cc: email***@***.com
Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current
Date: Sat, 11 Aug 2007 20:50:01 +1000

On 8/10/07, Tobias Grosser
<email***@***.com> wrote:
> 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?
>
>
I'll try that. I haven't been able to try it for a little patchset 6.
I will attempt to build with -O2 as you have suggested.
I will also be building 1.6.
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
 
lists_freebsd_org





PostPosted: 2007-8-11 20:06:00 Top

java-programmer >> ports/113467: Multiple "missing return value" errors building The following reply was made to PR ports/113467; it has been noted by GNATS.

From: Tobias Grosser <email***@***.com>
To: Robert Backhaus <email***@***.com>
Cc: email***@***.com
Subject: Re: ports/113467: Multiple "missing return value" errors building
JDK on current
Date: Sat, 11 Aug 2007 13:54:11 +0200

> I'll try that. I haven't been able to try it for a little patchset 6.
> I will attempt to build with -O2 as you have suggested.
> I will also be building 1.6.

I built with -O1. But it may be ok use -O2. I have not tried this.


_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
 
 
glewis





PostPosted: 2007-8-12 2:01:00 Top

java-programmer >> ports/113467: Multiple "missing return value" errors building On Sat, Aug 11, 2007 at 12:00:07PM +0000, Tobias Grosser wrote:
> The following reply was made to PR ports/113467; it has been noted by GNATS.
>
> From: Tobias Grosser <email***@***.com>
> To: Robert Backhaus <email***@***.com>
> Cc: email***@***.com
> Subject: Re: ports/113467: Multiple "missing return value" errors building
> JDK on current
> Date: Sat, 11 Aug 2007 13:54:11 +0200
>
> > I'll try that. I haven't been able to try it for a little patchset 6.
> > I will attempt to build with -O2 as you have suggested.
> > I will also be building 1.6.
>
> I built with -O1. But it may be ok use -O2. I have not tried this.

I believe that -O2 causes the same problems as -O3.

--
Greg Lewis Email : email***@***.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : email***@***.com
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"