Need help about Illegal instruction problem
lixiaogang110217 at hotmail.com
Sat May 8 01:45:38 UTC 2010
I'm trying to implement dhcp client on my ARM board, but it is crashing because of illegal instruction.
1. My host PC is Linux CentOS 4.4
The kernal in ARM board is Linux 18.104.22.168
Version of ISC DHCP src is 3.1.3
Version of crosstool is arm-linux-gcc 3.4.1
2. I can build src successfully without errors.
3. My problem is when i type "./dhclient eth0" on ARM board, illegal instruction problem happened.
[root at W5300E01-ARM sbin]$ dhcpclient eth0
4. I use gdb to debug and got this traceback:
0x000080d0 in _start ()
Program received signal SIGILL, Illegal instruction.
0x000a42ec in __setfpucw ()
#0 0x000a42ec in __setfpucw ()
#1 0x00094ce4 in init ()
#2 0x00094d38 in __libc_init_first ()
#3 0x0007c540 in __libc_start_main ()
#4 0x000080f8 in _start ()
#5 0x000080f8 in _start ()
I don't know why i couldn't get the actual source line number. i have used command line to build a DEBUG type:
[root at localhost dhcp-3.1.3]# make "CC=/usr/local/arm/3.4.1/bin/arm-linux-gcc -static -DEBUG"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users