Trying out -git, sparc sh4 and powerpc didn't build.
Imre Kaloz
kaloz at openwrt.org
Tue Dec 14 07:59:43 UTC 2010
On Tue, 14 Dec 2010 04:30:06 +0100, Rob Landley <rob at landley.net> wrote:
> On Monday 13 December 2010 10:58:06 Konrad Eisele wrote:
>> Rob Landley wrote:
>> > All three of these worked with the previous stable release, but not with
>> > current -git. Building against 2.6.36:
>> >
>> > sparc died with:
>> >
>> > In file included from libc/sysdeps/linux/sparc/soft-fp/q_div.c:24:
>> > libc/sysdeps/linux/sparc/soft-fp/quad.h:63: error: unable to emulate 'TF'
>> > In file included from libc/sysdeps/linux/sparc/soft-fp/q_fle.c:24:
>> > libc/sysdeps/linux/sparc/soft-fp/quad.h:63: error: unable to emulate 'TF'
>> > libc/sysdeps/linux/sparc/soft-fp/q_fle.c: In function '_Q_fle':
>> > libc/sysdeps/linux/sparc/soft-fp/q_fle.c:28: warning: unused variable
>> > '_fcw' make: *** [libc/sysdeps/linux/sparc/soft-fp/q_fle.os] Error 1
>> > make: *** Waiting for unfinished jobs....
>> > make: *** [libc/sysdeps/linux/sparc/soft-fp/q_div.os] Error 1
>>
>> Can you send me gcc's configure line for the sparc toolchain that you use?
I can confirm it also using our build system as well.
In file included from libc/sysdeps/linux/sparc/soft-fp/q_div.c:24:0:
libc/sysdeps/linux/sparc/soft-fp/quad.h:63:1: error: unable to emulate 'TF'
<snip>
>> if I can reproduce the error here (if you send the gcc configure line) I
>> can try to post a patch that handles the error...
kaloz at ecaz:~/dev/openwrt-sparc$ staging_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32/bin/sparc-openwrt-linux-uclibc-gcc -v
Using built-in specs.
COLLECT_GCC=staging_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32/bin/sparc-openwrt-linux-uclibc-gcc
COLLECT_LTO_WRAPPER=/home/kaloz/dev/openwrt-sparc/staging_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32/libexec/gcc/sparc-openwrt-linux-uclibc/4.5.2/lto-wrapper
Target: sparc-openwrt-linux-uclibc
Configured with: /home/kaloz/dev/openwrt-sparc/build_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32/gcc-linaro-4.5-2010.11-1/configure --prefix=/home/kaloz/dev/openwrt-sparc/staging_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32 --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=sparc-openwrt-linux-uclibc --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-nls --with-gmp=/home/kaloz/dev/openwrt-sparc/staging_dir/host --with-mpfr=/home/kaloz/dev/openwrt-sparc/staging_dir/host --disable-decimal-float --with-gmp=/home/kaloz/dev/openwrt-sparc/staging_dir/host --with-mpc=/home/kaloz/dev/openwrt-sparc/staging_dir/host --with-mpfr=/home/kaloz/dev/openwrt-sparc/staging_dir/host --disable-decimal-float --disable-libssp --enable-targets=all --disable-__cxa_atexit --with-newlib --with-sysroot=/home/kaloz/dev/openwrt-sparc/staging_dir/toolchain-sparc_gcc-4.5.1+l_uClibc-0.9.32 --enable-languages=c --disable-shared --disable-threa
ds
Thread model: single
binutils 2.20.1, uClibc git e2903ddb06b1f50cb4ac9af0b035c74ed6b9d30f
Alternatively, the OpenWrt repo has sparc support since r24559, selecting the sparc target and the uclibc git version will hit this issue.
Best regards,
Imre
More information about the uClibc
mailing list