[#5980] trunk toolchain cannot find -lbffastfp with -mfast-fp
Submitted By: Mingquan Pan
Open Date
2010-03-19 05:53:06 Close Date
2010-03-22 00:12:21
Priority:
Medium Assignee:
Mike Frysinger
Board:
N/A Silicon Revision:
Resolution:
Fixed Fixed In Release:
2010R1
Processor:
BF537
Host Operating System:
toolchain rev.:
4.3.4 (ADI-trunk/svn kernel rev.:
State:
Closed Found In Release:
2010R1
Is this bug repeatable?:
N/A
Summary: trunk toolchain cannot find -lbffastfp with -mfast-fp
Details:
build turnk head linphone fails for toolchain upgrade.
[ ! -d "linphone" ] || ( touch linphone/.sgbuilt_user && make -C linphone ) || exit $?
make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/linphone'
set -e ; conf="$PWD/linphone-3.1.2/configure" ; chmod a+rx "$conf" ; find linphone-3.1.2 -type f -print0 | xargs -0 touch -r "$conf" ; rm -rf build-linphone-3.1.2 ; mkdir -p build-linphone-3.1.2 ; cd build-linphone-3.1.2 ; "$conf" --host=bfin-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib --disable-dependency-tracking --enable-fast-install --enable-portaudio=no --enable-gtk_ui=no --disable-manual --disable-strict --disable-glib --enable-ipv6=no --disable-shared --enable-static --with-osip=/home/test/work/cruise/checkouts/uclinux-dist/staging/usr --with-thread-stack-size=0xa000 --disable-video
configure: loading site script /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site
config.site: loading extra site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/config.site.build
config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin/config.site
config.site: loading site script frag /home/test/work/cruise/checkouts/uclinux-dist/vendors/config/bfin-unknown-linux-uclibc
configure: linphone-3.1.2 A full featured audio/video sip phone.
configure: licensed under the terms of the General Public License (GPL)
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for bfin-linux-uclibc-strip... (cached) bfin-linux-uclibc-strip
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for bfin-linux-uclibc-gcc... (cached) bfin-linux-uclibc-gcc
checking for C compiler default output file name...
configure: error: in `/home/test/work/cruise/checkouts/uclinux-dist/user/linphone/build-linphone-3.1.2':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[3]: *** [build-linphone-3.1.2/Makefile] Error 77
make[3]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/linphone'
make[2]: *** [linphone] Error 2
make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
make: *** [subdirs] Error 1
test@linux-533-elf:~/work/cruise/checkouts/uclinux-dist> vi /home/test/work/cruise/checkouts/uclinux-dist/user/linphone/build-linphone-3.1.2/config.log
test@linux-533-elf:~/work/cruise/checkouts/uclinux-dist> /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc -v
Using built-in specs.
passed toolchain version:
test@linux-533-elf:~/work/cruise/checkouts/uclinux-dist> /opt/uClinux.old/bfin-uclinux/bin/bfin-uclinux-gcc -v
Using built-in specs.
Target: bfin-uclinux
Configured with: /home/test/work/cruise/checkouts/toolchain/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-uclinux --prefix=/home/test/work/cruise/temp/bfin-uclinux --enable-threads=posix --with-sysroot=/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-trunk/svn-3815
Thread model: posix
gcc version 4.3.4 (ADI-trunk/svn-3815)
failed toolchain version:
test@linux-533-elf:~/work/cruise/checkouts/uclinux-dist> /opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc -v
Using built-in specs.
Target: bfin-uclinux
Configured with: /home/test/work/cruise/checkouts/toolchain/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-uclinux --prefix=/home/test/work/cruise/temp/bfin-uclinux --enable-threads=posix --with-sysroot=/home/test/work/cruise/temp/bfin-uclinux/bfin-uclinux/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-trunk/svn-3951
Thread model: posix
gcc version 4.3.4 (ADI-trunk/svn-3951)
Follow-ups
--- Mike Frysinger 2010-03-19 12:34:39
this is the problem:
$ bfin-linux-uclibc-gcc -mfast-fp -ffast-math ...
/opt/uClinux/bfin-linux-uclibc/bin/../lib/gcc/bfin-linux-uclibc/4.3.4/../../../../bfin-linux-uclibc/bin/ld:
cannot find -lbffastfp
collect2: ld returned 1 exit status
--- Mike Frysinger 2010-03-19 14:24:56
my toolchains show a little narrowing of the window ...
PASS: 20100204 (svn rev 3848)
FAIL: 20100211 (svn rev 3930)
--- Mike Frysinger 2010-03-19 15:15:22
should be fixed now ... i broke it svn rev 3928
--- Mingquan Pan 2010-03-22 00:11:06
Yes,fixed.close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.log text/x-log 158100 Mingquan Pan