Hm, just synchronized the options between the working gcc-4.5.1 version and my version of gcc-4.4.3. But still, the same error. I choosed that version since someone from IRC said its being used on a autobuild server. On that server, builds fine...
My version (64-bit):
$ arm-elf-gcc -v
Using built-in specs.
Target: arm-elf
Configured with: ../gcc-4.4.3/configure --srcdir=../gcc-4.4.3 --target=arm-elf --enable-multilib --enable-languages=c --with-newlib --without-headers --disable-libssp --disable-nls --disable-libc --disable-libm --disable-intl --disable-threads --prefix=/home/sag/arm-elf
Thread model: single
gcc version 4.4.3 (GCC)
Downloaded working version (32-bit):
$ arm-elf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-elf-gcc
COLLECT_LTO_WRAPPER=/home/sag/arm-elf-gcc-4.5.1/bin/../libexec/gcc/arm-elf/4.5.1/lto-wrapper
Target: arm-elf
Configured with: ../gcc-4.5.1/configure --target=arm-elf --prefix=/home/rex/fi4/ia07/s59591/extern/chdk/wa/20101126/arm-elf --enable-multilib --enable-languages=c --with-newlib --with-gmp-include=/home/rex/fi4/ia07/s59591/extern/chdk/wa/20101126/gcc-4.5.1-arm-elf/gmp --with-gmp-lib=/home/rex/fi4/ia07/s59591/extern/chdk/wa/20101126/gcc-4.5.1-arm-elf/gmp/.libs --without-headers --disable-libssp --disable-nls --disable-libc --disable-libm --disable-intl --disable-threads --srcdir=../gcc-4.5.1
Thread model: single
gcc version 4.5.1 (GCC)