BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003364 [buildroot] Architecture Specific major always 05-19-08 02:24 08-20-08 02:45
Reporter noel_v View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version 0.9.27
Summary 0003364: ARM-EABI build ! “Illegal Instruction”
Description ARM-EABI build ! “Illegal Instruction”

Buildroot: 01/05/2008
Target : ARM cpu (AT91SAM9260)
Kernel : 2.6.25 with latest TARGET patches.


+ Buildroot/busybox compiles and runs fine in OABI .
+ Buildroot/busybox in EABI, compiles BUT lots of things are not working.. PING fails , UDHCPC fails, INSMOD/MODPROBE fails .. etc...
(kernel boots, but some tools (in busybox) are not working).

Double checked build, kernel,buildroot and uclibc have all enabled EABI and OABI is disabled !

NOTE: started clean new dir .. untarred buildroot .. and rebuild all.





Additional Information >> LOG <<
Uncompressing Linux........................................................... done, booting the kernel.
Linux version 2.6.24 (pingo01@Maverick) (gcc version 4.2.1) 0000001 Thu May 15 08:43:05 CEST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: Atmel AT91SAM9260-EK

>> removed some stuff

udhcpc (v1.10.1) started
Illegal instruction
 
after assigning fixed IP (because DHCP is not working)
ping 192.168.205.1
PING 192.168.205.1 (192.168.205.1): 56 data bytes
Illegal instruction


Attached Files

- Relationships

- Notes
(0008294)
tklas
06-16-08 03:51

Maybe you should set GNU target to "linux-uclibcgnueabi" instead of "linux-uclibcgnu". (See bug 0003804.)
 
(0010544)
mangoo
08-20-08 02:45

I can confirm it:

# ./busybox
BusyBox v1.11.1 (2008-08-20 10:00:10 CEST) multi-call binary
(...)
Currently defined functions:
        ash, cat, mount, sh, sleep, switch_root, umount, whoami

# ./busybox whoami
root

# ./busybox ash
Illegal instruction


I already had my target set to "linux-uclibcgnueabi".
 

- Issue History
Date Modified Username Field Change
05-19-08 02:24 noel_v New Issue
05-19-08 02:24 noel_v Status new => assigned
05-19-08 02:24 noel_v Assigned To  => buildroot
05-19-08 05:57 noel_v Issue Monitored: noel_v
06-16-08 03:51 tklas Note Added: 0008294
08-20-08 02:45 mangoo Note Added: 0010544


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker