This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: unidiff version of the last patch I submitted


> 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.


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