This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava embedded builds broken *again*


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

Am Donnerstag, 20. Februar 2003 19:30 schrieb Krister Walfridsson:
> On Thu, 20 Feb 2003, Richard Earnshaw wrote:
> > > I commit now a fix to
> > > libjava/gnu/java/nio/natSocketChannelImpl.cc. Please try it on
> > > your platform and tell me netgative and positive things.
> >
> > Doesn't fix things.   It still dies as follows:
>
> It looks like the test was reversed. The patch below makes it build
> just fine for me (on arm-elf).
>
>    /Krister
>
>
> 2003-02-20  Krister Walfridsson  <cato at df dot lth dot se>
>
> 	* gnu/java/nio/natSocketChannelImpl.cc (DISABLE_JAVA_NET):
> 	Invert test.
>
>
> Index: natSocketChannelImpl.cc
> ===================================================================
> RCS file:
> /cvs/gcc/gcc/libjava/gnu/java/nio/natSocketChannelImpl.cc,v
> retrieving revision 1.3
> diff -c -r1.3 natSocketChannelImpl.cc
> *** natSocketChannelImpl.cc     20 Feb 2003 07:24:37 -0000      1.3
> --- natSocketChannelImpl.cc     20 Feb 2003 18:24:14 -0000
> ***************
> *** 20,26 ****
>   #include <java/net/SocketException.h>
>
>
> ! #ifndef DISABLE_JAVA_NET
>
>   jint
>   gnu::java::nio::SocketChannelImpl::SocketCreate ()
> --- 20,26 ----
>   #include <java/net/SocketException.h>
>
>
> ! #ifdef DISABLE_JAVA_NET
>
>   jint
>   gnu::java::nio::SocketChannelImpl::SocketCreate ()

Thanks for your submit, I commited a slighly changed patch to fix 
this. Hopefully this is enough to get the arm/newlib build working.

Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Vfr2WSOgCCdjSDsRAj3hAJ9SaH5qE2GxM9XmV0wHrIiRs3GJQQCfarfO
OtZtJMDUmIti7L9jJoL1eWY=
=TX/m
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]