This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compiling soft-fp in libgcc
- From: "Marc BALEMBOY" <marc dot balemboy at c-s dot fr>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 1 Sep 2016 15:13:25 +0200
- Subject: Compiling soft-fp in libgcc
- Authentication-results: sourceware.org; auth=none
Hello,
I'm trying to update from gcc 4.8.3 to gcc 5.4.0 in our cross compiler.
Everything builds fine, but I stumble on a problem with libgcc.
With the new version, I'm missing all symbols in gcc-5.4.0/libgcc/soft-fp/
ppc-linux-nm ./ppc-linux/nof/libgcc/libgcc.a | grep -C 2 floatdidf
fixunsdfdi.o:
floatdidf.o:
floatundidf.o:
I've tried adding --with-float=soft to the configure line with no success :
../gcc-5.4.0/configure --target=ppc-linux
--with-headers=yes
--with-cpu=860
--prefix=/opt/cldk
--bindir=/opt/cldk/bin
--sbindir=/opt/cldk/sbin
--libexecdir=/opt/cldk/libexec
--datadir=/opt/cldk/share
--sysconfdir=/opt/cldk/etc
--libdir=/opt/cldk/lib
--includedir=/opt/cldk/usr/include
--oldincludedir=/opt/cldk/usr/include
--infodir=/opt/cldk/share/info
--mandir=/opt/cldk/share/man
--with-float=soft
--enable-languages=c,c++
I'm also updating glibc 2.18 to glibc 2.23; since I understand that soft-fp
comes from glibc it might be related?
I don't know what I'm missing here.
Regards,
Marc