On 12/16/2015 10:01 AM, York Sun wrote: > > > On 12/16/2015 09:59 AM, Tom Rini wrote: >> On Wed, Dec 16, 2015 at 09:48:59AM +0800, York Sun wrote: >> >>> Tom, >>> >>> This issue is caused by 32-bit host has uintptr_t defined in >>> /usr/include/stdint.h as "unsigned int". >>> >>> I am working on a solution. In the meantime, how do we deal with this PR? >> >> And then what fails... sandbox? >> > > Not only. When I compile powerpc targets on a 32-bit host, all fail, due to > stdint.h has a different typedef. >
Tom, I think the original proposal of moving typedef of uintptr_t from compiler.h to types.h may be flawed. U-boot builds host tools, which may have different size than the target. Would it be appropriate to abandon this change, and to include compiler.h whenever uintptr_t is needed? York _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot