[arm-gnu] Unknown mandatory EABI object attribute 44/42
Carlos O'Donell
carlos_odonell at mentor.com
Sun Apr 8 19:03:18 UTC 2012
On 4/8/2012 5:33 AM, Sun Ray-B17777 wrote:
> By the way, I tried to set the eabi_attribute in source file, like
> “.eabi_attribute 42,0” to disable Tag_MPextension_use, seems the link
> works. But the eabi_attribute change only be effective in the single
> file, I have to add the attribute setting to each file archived in
> the library. So I wonder if there is a method to set the
> eabi_attribute globally to the whole project, such as in command line
> or in link script.
The tools are not "forward compatible", you can't use a newer compiler
to compile object files and link with an older compiler. It is never
guaranteed to work.
You must link with the newer compiler.
Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos_odonell at mentor.com
carlos at codesourcery.com
+1 (613) 963 1026
More information about the arm-gnu
mailing list