Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 16:11:58 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Antoine Brodin <antoine@FreeBSD.org>, Greg Lewis <glewis@freebsd.org>,  java@freebsd.org
Subject:   Re: svn commit: r372338 - in head/java: openjdk8 openjdk8-jre openjdk8/files
Message-ID:  <54627B9E.7060600@FreeBSD.org>
In-Reply-To: <CAALwa8n0SPavW=BjoMLaPJOy%2BDib4oZcyaL8b9SvCuzjiDVzWg@mail.gmail.com>
References:  <201411090523.sA95NWMT062480@svn.freebsd.org> <CAALwa8n0SPavW=BjoMLaPJOy%2BDib4oZcyaL8b9SvCuzjiDVzWg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030604060103060501070001
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/11/2014 06:38, Antoine Brodin wrote:
> On Sun, Nov 9, 2014 at 6:23 AM, Greg Lewis <glewis@freebsd.org>
> wrote:
>> Author: glewis Date: Sun Nov  9 05:23:31 2014 New Revision:
>> 372338 URL: https://svnweb.freebsd.org/changeset/ports/372338 
>> QAT: https://qat.redports.org/buildarchive/r372338/
>> 
>> Log: . Update to 8u25.
>> 
> 
> Hi,
> 
> This fails to build on i386 (10.1RCX):
> 
> Compiling ../generated/adfiles/ad_x86_32.cpp 
> /wrkdirs/usr/ports/java/openjdk8-jre/work/openjdk/hotspot/src/cpu/x86/vm/x86_32.ad:1213:1:
>
> 
error: control may reach end of non-void function
> [-Werror,-Wreturn-type] } ^ 1 error generated. 
> /wrkdirs/usr/ports/java/openjdk8-jre/work/openjdk/hotspot/make/bsd/makefiles/rules.make:154:
>
> 
recipe for target 'ad_x86_32.o' failed

Please try the attached patch.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUYnueAAoJEHyflib82/FGDQgH/i9q+yQHcRLnrgK50UNxxJoZ
QgLnEf1CSXmSNzcFh1moN4WqVQ+QYSXvHgEWxp00aavgnbUSKabGULNAucIRNGvc
n9lk4XayGUWpB0PofpQsVcUKQLbkTDJCCkma8niXTkXdYGo/nybKg+Ai71dKfKWd
GmwzsG2yBHMjnm4pg62YLyDcHHexOmD1nbG4niUANbeNv3MvK0LewmOo41PZ8Q/H
NLLuDGLekRI80XbGYanONOx3WoSM/cXV1CK42j9LiBs3cQz7myr0Ejhauq9WhoJP
RfplwN1ArIhCI8faFmUYJM8XsKaiJw64oEfQ+mrIiPs/BJa1wZy6AuOltrCBgfA=
=/Dlc
-----END PGP SIGNATURE-----

--------------030604060103060501070001
Content-Type: text/x-patch;
 name="openjdk8.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="openjdk8.diff"

Index: java/openjdk8/files/patch-bsd
===================================================================
--- java/openjdk8/files/patch-bsd	(revision 372461)
+++ java/openjdk8/files/patch-bsd	(working copy)
@@ -2218,6 +2218,16 @@
    #define JNIEXPORT     __attribute__((visibility("default")))
    #define JNIIMPORT     __attribute__((visibility("default")))
  #else
+--- ./hotspot/src/cpu/x86/vm/x86_32.ad	2014-11-11 15:50:09.000000000 -0500
++++ ./hotspot/src/cpu/x86/vm/x86_32.ad	2014-11-11 16:05:43.000000000 -0500
+@@ -1210,6 +1210,7 @@
+ 
+ 
+   Unimplemented();
++  return 0;
+ }
+ 
+ #ifndef PRODUCT
 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
 +++ ./hotspot/src/os/bsd/vm/decoder_bsd.cpp	Wed Nov 05 15:01:44 2014 -0800
 @@ -0,0 +1,47 @@

--------------030604060103060501070001--



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