Can ELDK 3.1.1 compile Linux 2.6 Kernel?
Dear all,
I just downloaded ELDK 3.1.1 (from denx) and LINUX kernel 2.6 (from kernel.org), and I compile the kernel for powerpc arch.
but during I compile to the file under the directory vdso32, the following compile errors occur:
arch/powerpc/kernel/vdso32/gettimeofday.S: Assembler messages:
arch/powerpc/kernel/vdso32/gettimeofday.S:28: Error: unknown pseudo-op: `.cfi_startproc'
arch/powerpc/kernel/vdso32/gettimeofday.S:30: Error: unknown pseudo-op: .cfi_register' arch/powerpc/kernel/vdso32/gettimeofday.S:73: Error: unknown pseudo-op: .cfi_endproc' arch/powerpc/kernel/vdso32/gettimeofday.S:83: Error: unknown pseudo-op: .cfi_startproc' arch/powerpc/kernel/vdso32/gettimeofday.S:91: Error: unknown pseudo-op: .cfi_register' arch/powerpc/kernel/vdso32/gettimeofday.S:205: Error: unknown pseudo-op: .cfi_endproc' arch/powerpc/kernel/vdso32/gettimeofday.S:216: Error: unknown pseudo-op: .cfi_startproc' arch/powerpc/kernel/vdso32/gettimeofday.S:240: Error: unknown pseudo-op: .cfi_endproc' arch/powerpc/kernel/vdso32/gettimeofday.S:252: Error: unknown pseudo-op: .cfi_startproc' arch/powerpc/kernel/vdso32/gettimeofday.S:323: Error: unknown pseudo-op: `.cfi_endproc'
make[2]: *** [arch/powerpc/kernel/vdso32/gettimeofday.o] Error 1
make[1]: *** [arch/powerpc/kernel/vdso32] Error 2
make: *** [arch/powerpc/kernel] Error 2
What's wrong with my compiler? Or ELDK cannot compile 2.6 kernel? What I can do now?
Thanks
Best regards,
Chung
_______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk
Quoted 7 lines · In message <[email protected]> you wrote:
I just downloaded ELDK 3.1.1 (from denx) and LINUX kernel 2.6 (from kernel.org), and I compile the kernel for powerpc arch.
but during I compile to the file under the directory vdso32, the following compile errors occur:
arch/powerpc/kernel/vdso32/gettimeofday.S: Assembler messages:
arch/powerpc/kernel/vdso32/gettimeofday.S:28: Error: unknown pseudo-op: `.cfi_startproc'
...
Yes, they changed the Linux kernel such that it cannot be compiled any more using binutils version 2.14 which is used in ELDK 3.x
Quoted 1 line
What's wrong with my compiler? Or ELDK cannot compile 2.6 kernel? What I can do now?
Please wait until the end of the week, then download ELDK 4.0, then be happy ;-)
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "To IBM, 'open' means there is a modicum of interoperability among some of their equipment." - Harv Masterson
Thanks.
I am looking forward to this.
Wolfgang Denk <[email protected]> 說:
Quoted 7 lines · In message <[email protected]> you wrote:
I just downloaded ELDK 3.1.1 (from denx) and LINUX kernel 2.6 (from kernel.org), and I compile the kernel for powerpc arch.
but during I compile to the file under the directory vdso32, the following compile errors occur:
arch/powerpc/kernel/vdso32/gettimeofday.S: Assembler messages:arch/powerpc/kernel/vdso32/gettimeofday.S:28: Error: unknown pseudo-op: `.cfi_startproc'
...
Yes, they changed the Linux kernel such that it cannot be compiled any more using binutils version 2.14 which is used in ELDK 3.x
Quoted 1 line
What's wrong with my compiler? Or ELDK cannot compile 2.6 kernel? What I can do now?
Please wait until the end of the week, then download ELDK 4.0, then be happy ;-)
Best regards,
Wolfgang Denk
Signature · 14 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "To IBM, 'open' means there is a modicum of interoperability among some of their equipment." - Harv Masterson Best regards, Chung _______________________________________ YM - 離線訊息 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。 http://messenger.yahoo.com.hk
I have the DENX 2.6.14 kernel quite happily compiling using ELDK 3.1.1, and it runs fine. My platform is a custom MPC8247 (ppc) system with serial, ethernet, I2C & SPI drivers all working fine under 2.6.14.
I had no luck compiling any of the 2.6.15rcX or 2.6.denx trees under ELDK 3.1.1 - same compile probs as yours.
Regards,
Ron