This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: unidiff version of the last patch I submitted
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: tromey at redhat dot com
- Cc: Richard dot Earnshaw at arm dot com, Tony Kimball <alk at pobox dot com>, gcc-bugs at gcc dot gnu dot org, java-patches at gcc dot gnu dot org, geoffk at redhat dot com
- Date: Mon, 29 Jul 2002 16:17:40 +0100
- Subject: Re: unidiff version of the last patch I submitted
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> java/io/natFileDescriptor.cc: In member function `void
> java::io::FileDescriptor::setLength(__java_long)':
> java/io/natFileDescriptor.cc:220: error: `::ftruncate' undeclared (first
> use
> here)
Right, the problem here is that most newlib targets don't provide
ftruncate (the only exceptions are linux, go32 and rtems AFAICT).
However, we aren't seeing this on the regression tester because neither of
the targets using newlib (mips-elf and powerpc-eabisim) are building
libjava; and of course the native build isn't using newlib.
R.