Re: ARM Updates

new topic     » goto parent     » topic index » view thread      » older message » newer message
coconut said...

done:

jacques@efikamx:~/Téléchargements$ gcc -v 
Using built-in specs. 
Target: arm-linux-gnueabi 
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-sjlj-exceptions --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi 
Thread model: posix 
gcc version 4.4.5 (Debian 4.4.5-8)  
jacques@efikamx:~/Téléchargements$ gcc hello.c -ohello 
jacques@efikamx:~/Téléchargements$ readelf -A hello 
Attribute Section: aeabi 
File Attributes 
  Tag_CPU_name: "ARM9TDMI" 
  Tag_CPU_arch: v4T 
  Tag_ARM_ISA_use: Yes 
  Tag_THUMB_ISA_use: Thumb-1 
  Tag_ABI_PCS_wchar_t: 4 
  Tag_ABI_FP_denormal: Needed 
  Tag_ABI_FP_exceptions: Needed 
  Tag_ABI_FP_number_model: IEEE 754 
  Tag_ABI_align8_needed: Yes 
  Tag_ABI_align8_preserved: Yes, except leaf SP 
  Tag_ABI_enum_size: int 
no hardfload! but the i.MX515 has a FPU

It's a software issue as well - your libraries (libc and so on, if not the kernel itself) need to be built with hardfloat support on. You can't mix and match hardfloat and softfloat object files together.

(In addition to hardfloat and 100% software float emulation, there's also something called VFP. Urgh.)

So, if your distro is using all softfloat libraries, then the binaries that you build need to be the same.

coconut said...

what it give with eui for eui from eubins-armv6hf

jacques@efikamx:~/Téléchargements/eubin-armv6hf$ readelf -A eui 
Attribute Section: aeabi 
File Attributes 
  Tag_CPU_name: "6" 
  Tag_CPU_arch: v6 
  Tag_ARM_ISA_use: Yes 
  Tag_THUMB_ISA_use: Thumb-1 
  Tag_VFP_arch: VFPv2 
  Tag_ABI_PCS_wchar_t: 4 
  Tag_ABI_FP_denormal: Needed 
  Tag_ABI_FP_exceptions: Needed 
  Tag_ABI_FP_number_model: IEEE 754 
  Tag_ABI_align8_needed: Yes 
  Tag_ABI_align8_preserved: Yes, except leaf SP 
  Tag_ABI_enum_size: int 
  Tag_ABI_HardFP_use: SP and DP 
  Tag_ABI_VFP_args: VFP registers 
  Tag_CPU_unaligned_access: v6 
  Tag_DIV_use: Not allowed 

What can I do from here?

Jacques

P.S. no need to answer I found the softfloat compiler in rpi tools directory and launched a cross-compile with it.

Thanks Ira for pointing me in the right direction.

Brilliant! That's good to know. Someone should probably add a EfikaMX Debian 4.4.5-8 specific note to the wiki about this.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu