[Linux-Xtensa] Re: sched_clock always 0 and no process time accounting with 3.11-rc1

Chris Zankel chris at zankel.net
Wed Jul 17 03:02:10 EDT 2013


On 07/16/2013 11:47 PM, Baruch Siach wrote:
>> According to C99 the behaviour of (1 << 32) is undefined on platforms with
>> 32 bit int, so it could yield any value.
> But so is ARM, isn't it?

The handling of constants might be target-architecture dependent.

On a somewhat related issue, are you using a 32-bit host or 64-bit host?
Note that 64-bit cross compilation is known to be broken for Xtensa, I
had a problem running glibc when compiled with cross compiler on a
64-bit host.

Cheers!
-Chris



More information about the linux-arm-kernel mailing list