Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-09-03 Thread Hans-Peter Nilsson
On Thu, 3 Sep 2015, James Greenhalgh wrote: > On Sun, Aug 30, 2015 at 02:46:26PM +0100, Hans-Peter Nilsson wrote: > > (Pruned the CC list a bit as lists are included anyway) > > > > On Fri, 28 Aug 2015, James Greenhalgh wrote: > > > Give me a shout if you see issues in your build systems. > > > > S

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-09-03 Thread James Greenhalgh
On Sun, Aug 30, 2015 at 02:46:26PM +0100, Hans-Peter Nilsson wrote: > (Pruned the CC list a bit as lists are included anyway) > > On Fri, 28 Aug 2015, James Greenhalgh wrote: > > On Fri, Aug 28, 2015 at 10:40:31AM +0100, James Greenhalgh wrote: > > > On Tue, Aug 25, 2015 at 03:44:05PM +0100, FX wr

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-30 Thread Hans-Peter Nilsson
(Pruned the CC list a bit as lists are included anyway) On Fri, 28 Aug 2015, James Greenhalgh wrote: > On Fri, Aug 28, 2015 at 10:40:31AM +0100, James Greenhalgh wrote: > > On Tue, Aug 25, 2015 at 03:44:05PM +0100, FX wrote: > > > > 2015-08-25 James Greenhalgh > > > > > > > > * configur

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-28 Thread James Greenhalgh
On Fri, Aug 28, 2015 at 10:40:31AM +0100, James Greenhalgh wrote: > On Tue, Aug 25, 2015 at 03:44:05PM +0100, FX wrote: > > > 2015-08-25 James Greenhalgh > > > > > > * configure.ac: Auto-detect newlib function support unless we > > > know there are issues when configuring for a host. > > >

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-28 Thread James Greenhalgh
On Tue, Aug 25, 2015 at 03:44:05PM +0100, FX wrote: > > 2015-08-25 James Greenhalgh > > > > * configure.ac: Auto-detect newlib function support unless we > > know there are issues when configuring for a host. > > * configure: Regenerate. > > Thanks for CC’ing the fortran list. > >

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-25 Thread FX
> 2015-08-25 James Greenhalgh > > * configure.ac: Auto-detect newlib function support unless we > know there are issues when configuring for a host. > * configure: Regenerate. Thanks for CC’ing the fortran list. Given that this is newlib-specific code, even though it’s in li

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-25 Thread James Greenhalgh
On Fri, Aug 21, 2015 at 11:05:47AM +0100, James Greenhalgh wrote: > On Thu, Aug 20, 2015 at 10:50:47AM +0100, Marcus Shawcroft wrote: > > On 20 August 2015 at 09:31, James Greenhalgh > > wrote: > > > > > > Hi, > > > > > > Steve's patch in 2013 [1] to fix the MIPS newlib/libgfortran build > > > c

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-21 Thread James Greenhalgh
On Thu, Aug 20, 2015 at 10:50:47AM +0100, Marcus Shawcroft wrote: > On 20 August 2015 at 09:31, James Greenhalgh wrote: > > > > Hi, > > > > Steve's patch in 2013 [1] to fix the MIPS newlib/libgfortran build > > causes subtle issues for an ARM/AArch64 newlib/libgfortran build. The > > problem is th

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-20 Thread Steve Ellcey
On Thu, 2015-08-20 at 09:31 +0100, James Greenhalgh wrote: > I'd appreciate your help Steve to check that this patch works with > your build system. > > Thanks, > James Yes, this patch works fine with my builds for MIPS. Steve Ellcey sell...@imgtec.com

Re: [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-20 Thread Marcus Shawcroft
On 20 August 2015 at 09:31, James Greenhalgh wrote: > > Hi, > > Steve's patch in 2013 [1] to fix the MIPS newlib/libgfortran build > causes subtle issues for an ARM/AArch64 newlib/libgfortran build. The > problem is that ARM/AArch64 (and SH) define a stub function for > ftruncate, which we would p

[Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ARM/AArch64/SH

2015-08-20 Thread James Greenhalgh
Hi, Steve's patch in 2013 [1] to fix the MIPS newlib/libgfortran build causes subtle issues for an ARM/AArch64 newlib/libgfortran build. The problem is that ARM/AArch64 (and SH) define a stub function for ftruncate, which we would previously have auto-detected, but which is not part of the hardwi