This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: printf of unsigned long long in ARM processors
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrés Moré <more dot andres at gmail dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 20 Sep 2005 11:48:00 -0400
- Subject: Re: printf of unsigned long long in ARM processors
- References: <98d1b79305092008332792854d@mail.gmail.com>
On Tue, Sep 20, 2005 at 12:33:14PM -0300, Andrés Moré wrote:
> I'm compiling with this CFLAGS: "-txscale -mbig-endian" using "-W and
> -Wall" with
> Please note that the ARM processor is big endian.
>
> I have the following version of gcc and ld.
>
> arm-linux-gnueabi-gcc -v
> Reading specs from
> /toolchain/xscale_be/bin/../lib/gcc/arm-wrs-linux-gnueabi/3.4.4/specs
> Configured with: /src/linux/src/gcc-3.4.4/configure --disable-nls
> --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
> --target=arm-linux-gnueabi --enable-languages=c,c++ --disable-checking
> --enable-shared --enable-threads --disable-libmudflap --disable-libssp
> --with-gnu-as --with-gnu-ld --prefix=/opt/arm --enable-symvers=gnu
> --enable-__cxa_atexit
> --with-build-sysroot=/install/arm-linux-gnueabi/libc
> --with-sysroot=/opt/arm/arm-linux-gnueabi/libc --enable-threads
> --enable-shared
> Thread model: posix
> gcc version 3.4.4
It looks like you're using a WindRiver EABI configuration, but
unpatched FSF sources. And unpatched gcc 3.4.4 does not support the
ARM EABI. So naturally it doesn't work. The fact that you needed to
use a different specs file to get -txscale to work should have been a
clue.
--
Daniel Jacobowitz
CodeSourcery, LLC