Weirdness in mips build.

Joseph S. Myers joseph at codesourcery.com
Tue Feb 13 01:23:26 UTC 2007


On Mon, 12 Feb 2007, Rob Landley wrote:

> Chugging along, it hit:
>   AS ldso/ldso/mips/resolve.oS
> ldso/ldso/mips/resolve.S:26:4: error: invalid preprocessing directive #Save
> ldso/ldso/mips/resolve.S:29:4: error: invalid preprocessing directive #Save
> ldso/ldso/mips/resolve.S:32:4: error: invalid preprocessing directive #Modify
> ldso/ldso/mips/resolve.S:35:4: error: invalid preprocessing directive #Compute
> ...
> 
> I.E. it's running the C preprocessor against a file containing
> #assembly comments.

It's meant to run the preprocessor against .S files, but to run it in 
assembly mode.  On the whole I'd blame

------------------------------------------------------------------------
r17829 | vapier | 2007-02-08 14:03:29 -0800 (Thu, 08 Feb 2007) | 1 line
Changed paths:
   M /trunk/uClibc/Rules.mak

enable -std=gnu99 by default now
------------------------------------------------------------------------

and GCC bug 25993
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25993
relating to use of -std= with assembly files.

-- 
Joseph S. Myers
joseph at codesourcery.com



More information about the uClibc mailing list