[PATCH] ARM: add workaround for ambiguous C99 stdint.h types

Mikael Pettersson mikpe at it.uu.se
Thu Aug 15 10:32:00 EDT 2013


Ard Biesheuvel writes:
 > The C99 types uintXX_t that are usually defined in 'stdint.h' are not as
 > unambiguous on ARM as you would expect. For the types below, there is a
 > difference on ARM between GCC built for bare metal ARM, GCC built for glibc
 > and the kernel itself, which results in build errors if you try to build with
 > -ffreestanding and include 'stdint.h' (such as when you include 'arm_neon.h'
 > in order to use NEON intrinsics)

What exactly is the failure?  Can you show us a test case?



More information about the linux-arm-kernel mailing list