Compiling soft-fp in libgcc

Marc BALEMBOY marc.balemboy@c-s.fr
Thu Sep 1 13:14:00 GMT 2016


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



More information about the Gcc-help mailing list