[COMMITTED PATCH] Move tilegx, tilepro, and linux-generic from ports to libc.

Chris Metcalf cmetcalf@ezchip.com
Thu Mar 19 17:43:00 GMT 2015


On 03/19/2015 01:20 PM, Szabolcs Nagy wrote:
> i think aarch64 does not want 32bit blkcnt, that breaks on
> a large fs (not even with ilp32)
>
> i'm surprised it is in use on newer 32bit archs at all
> (if it is then i think linux asm-generic needs a fix)

Well, things work fine on ILP32 if you build with __FILE_OFFSET_BITS=64, 
of course.  And that is pretty much the standard, these days.

It's true that it would be nice if you didn't have to do that.  But the 
way we set it up matched the expected behavior from older Linuxes, and 
matching that behavior made sense five years ago when we were doing this 
work at Tilera; after all, that's how i386 compatibility behaves on 
64-bit x86, which was pretty much our benchmark for what approach to use.

-- 
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



More information about the Libc-alpha mailing list