On 17 June 2011 00:30, Michael Hope <michael.h...@linaro.org> wrote: > On Fri, Jun 17, 2011 at 7:11 AM, Marcin Juszkiewicz > <marcin.juszkiew...@linaro.org> wrote: >> On czw, 2011-06-16 at 19:48 +0100, David Gilbert wrote: >>> >> Ubuntu armel and armhf cross compilers, CSL 2011.03-42 have same >>> >> problem. >>> > >>> > Compiled fine with gcc 4.3 from Poky toolchain. Same with Emdebian >>> > gcc-4.3 cross compiler. >>> >>> Looks more to me like the old compilers are the ones with the problems >>> and the new one is correctly throwing an error - it's supposed to have >>> a >>> va_list there - why would it take a string? >> >> OK, but why it compiles fine on amd64/i386/powerpc? > > (begin randon statement without investigation) > > On many architectures such as i386 va_list is a void * but on some > it's a struct. Perhaps ARM uses a struct?
According to the AAPCS va_list is defined to be a struct . struct __va_list { void *ap; } There is no option but to fix the offending code here. cheers Ramana > > -- Michael > > _______________________________________________ > linaro-toolchain mailing list > linaro-toolchain@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-toolchain > _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain