[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
答复: [arm-gnu] Version differences
- To: <mark@xxxxxxxxxxxxxxxx>
- Subject: 答复: [arm-gnu] Version differences
- From: <Tu.Jianfeng@xxxxxxxxxx>
- Date: Mon, 13 Oct 2008 11:46:53 +0800
Hi Mark,
I have found the cause for this problem. It is because I have two version of arm-chain-tools in my computer, and different tools were used to build build-in.o and other things by mistake.
I have set path of the newest arm-chain-tool into the environment variable $PATH before, and this tool was used to build kernel files beside the build-in.o in this time. After the newest arm-chain-tool was removed for the environment variable $PATH, this problem was fixed.
I think it's a little bug in Makefile system, where the default arm-tool-chain in $PATH was used.
Jianfeng
Inventc @ppliances Corporation
E-Mail: Tu.Jianfeng@xxxxxxxxxx
Tel: (021) 6485-3668 x2366
-*-E-O-M-*-
-----邮件原件-----
发件人: Mark Mitchell [mailto:mark@xxxxxxxxxxxxxxxx]
发送时间: 2008年10月12日 2:02
收件人: Tu, Jianfeng (涂?? IAC-S)
抄送: arm-gnu@xxxxxxxxxxxxxxxx
主题: Re: [arm-gnu] Version differences
Tu.Jianfeng@xxxxxxxxxx wrote:
> I use arm-2006q3-26 release for GNU/Linux (downloaded from http://www.codesourcery.com/gnu_toolchains/arm/portal/release296) to compile my Linux kernel. At the end of the building progress, I got the error message like below:
>
> arm-none-linux-gnueabi-ld: ERROR: Source object arch/arm/myplatform/modules/built-in.o has EABI version 0, but target .tmp_vmlinux1 has EABI version 5
> arm-none-linux-gnueabi-ld: failed to merge target specific data of file arch/arm/ myplatform /modules/built-in.o
>
> Can you tell me where does this error come from?
I'm not sure, but it sounds like built-in.o wasn't compiled with the
right command-line options, since it doesn't have an EABI version.
Perhaps you got it from a third party and it was built with a pre-EABI
toolchain? If so, you will have to get a new version of that object file.
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713
|