ARM febootstrap-2.11 consult from teh experts?

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

 



while compiling febootstrap-2.11 from centos for arm i came across a arm compile problem and i believe i have the "fix" for it.
 
I had to change the helper elf-default-arch script to the following to support armv5tel in the compile.
 
-------------------------------------------
 case $(uname -m) in
     i[3456]86) echo "elf32-i386 i386" ;;
     x86_64) echo "elf64-x86-64 i386" ;;
     s390) echo "elf32-s390 s390:31-bit" ;;
     s390x) echo "elf64-s390 s390:31-bit" ;;
     ppc) echo "elf32-powerpc powerpc" ;;
     ppc64) echo "elf64-powerpc powerpc" ;;
+    armv5tel) echo "elf32-littlearm arm" ;;
     *)
-------------------------------------------
 
this causes objcopy to complete correctly using the following:
objcopy -I binary -B arm -O elf32-littlearm init ext2init.o
 
which during the first run where i hit the error it didnt sense the correct settings and performed the following.
objcopy -I binary -B architecture -O This init ext2init.o
objcopy: architecture architecture unknown
 
from objcopy --help i derived the information from the following cut and paste from the help text.
objcopy: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
Do i do the correct thing seting here?
 
the item seems to now compile correctly with the following patch which can probably be used for fedora as well..I noticed that koji failed on this item. Also be aware that you may need to add a armv7 into the file as well.
 
diff -cr a/helper/elf-default-arch b/helper/elf-default-arch 
*** a/helper/elf-default-arch   Sat Nov  6 07:11:00 2010
--- b/helper/elf-default-arch   Sat Oct 22 00:17:15 2011
***************
*** 26,31 ****
--- 26,32 ----
      s390x) echo "elf64-s390 s390:31-bit" ;;
      ppc) echo "elf32-powerpc powerpc" ;;
      ppc64) echo "elf64-powerpc powerpc" ;;
+     armv5tel) echo "elf32-littlearm arm" ;;
      *)
          echo "This architecture is not recognized.  Please update helper/elf-default-arch."
          exit 1
 
 
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux