使用arm-linux-gcc 4.3.2編譯必須啓用內核中的Use the ARM EABI選項

不知道爲什麼使用arm-linux-gcc-4.3.2.tgz (with EABI) 86MB
編譯同樣的東西就是出現如下錯誤,感覺可能是busybox 1.14.3的問題,因爲使用arm-linux-gcc-4.3.2編譯出來的zImage可以使用正常掛在arm-linux-gcc-3.4.1編譯器編譯出來的動態busybox和庫,但是使用arm-linux-gcc-4.3.2.tgz 編譯出來的靜態busybox就是會出現下面的錯誤,開始覺得明顯是應用程序出了問題.後來發現原來是內核自己的事情,因爲arm-linux-gcc-4.3.2.tgz使用了EABI方式,所以這就需要內核同樣配置EABI編譯屬性才能支持EABI編譯出來的應用程序busybox[luther.gliethttp]

錯誤原因:沒有選擇Use the ARM EABI to compile the kernel選項
Kernel Features
[ ] Use the ARM EABI to compile the kernel
解決方法:將它尋上之後自動多出下面一行,這樣再次編譯的內核就ok了,嘿嘿:)
[*] Use the ARM EABI to compile the kernel
[*]   Allow old ABI binaries to run with this kernel (EXPERIMENTAL) (NEW)

ep93xx-rtc ep93xx-rtc: setting system clock to 1970-01-01 00:01:18 UTC (78)
Freeing init memory: 100K
Kernel panic - not syncing: Attempted to kill init!
Backtrace:
[<c00259c0>] (dump_backtrace+0x0/0x114) from [<c026d674>] (dump_stack+0x18/0x1c)
 r7:c5818000 r6:c5817a40 r5:c5817a40 r4:c03291c4
[<c026d65c>] (dump_stack+0x0/0x1c) from [<c026d6c4>] (panic+0x4c/0x120)
[<c026d678>] (panic+0x0/0x120) from [<c00406e0>] (do_exit+0x70/0x58c)
 r3:c0313004 r2:c5817a40 r1:c5819d0c r0:c02cbdcb
[<c0040670>] (do_exit+0x0/0x58c) from [<c0040c90>] (do_group_exit+0x94/0xc8)
[<c0040bfc>] (do_group_exit+0x0/0xc8) from [<c004ae40>] (get_signal_to_deliver+0x2ec/0x324)
 r7:c5293a74 r6:c5818000 r5:c5819ed4 r4:00000004
[<c004ab54>] (get_signal_to_deliver+0x0/0x324) from [<c0024024>] (do_signal+0x58/0x528)
[<c0023fcc>] (do_signal+0x0/0x528) from [<c0024524>] (do_notify_resume+0x30/0x34)
[<c00244f4>] (do_notify_resume+0x0/0x34) from [<c0021e8c>] (work_pending+0x1c/0x20)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章