fpa glibc-2.2.5 for a native armv4l toolchain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've been working on a native fpa toolchain including gcc-2.95.3 and glibc-2.2.5, for a strongarm sa1110 which is detected as armv4l-unknown-linux-gnu.

its currently running a vfp toolchain that can run both fpa and vfp binaries through floating point emulation.

I also have an sdk for the os it runs that comes with a vfp cross compiler. (pdaxrom beta1)


Im stuck now with trying to get glibc to compile as fpa rather than vfp, (for gcc-2.95.3 is default fpa)... the error is:


	include/libc-symbols.h     -o /sources/glibc-build/math/setfpucw.o
	./ccdjmC0e.s: Assembler messages:
	./ccdjmC0e.s:22: Error: selected processor does not support `rfs r3'
	./ccdjmC0e.s:38: Error: selected processor does not support `wfs r3'
	distcc[16729] ERROR: compile ../sysdeps/generic/setfpucw.c on 	192.168.129.200 failed
	make[2]: *** [/sources/glibc-build/math/setfpucw.o] Error 1
	make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.2.5/math'
	make[1]: *** [math/subdir_lib] Error 2
	make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.2.5'
	make: *** [all] Error 2


When i supply --without-fp to the glibc compile it succeeds (under vfp toolchain) but i end up with:

	# objdump -p crtend.o 

	crtend.o:     file format elf32-littlearm
	private flags = 600: [APCS-32] [VFP float format] [software FP]


When im looking for:

	# objdump -p crtend.o 

	crtend.o:     file format elf32-littlearm
	private flags = 0: [APCS-32] [FPA float format]



***: Does whether im compiling glibc under a vfp crosschain or a fpa crosschain(gcc) effect this outcome?

***: Are there some extra paramaters i can pass to glibc configure to work this through ? perhaps something relating to the cpu or float preferences ?, im really just looking for a way to make a gcc-2.95.3 compatible glibc...

regards, and thankyou for your time,

Hayden Thring.
Australia.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux