[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513564: glibc: Please redefine __i686 to work-around the infamous i686 compilation fail



The problem is not with building other packages. the problem is building glibc 
itself.
there is a cotradiction between the definition by gcc and the code used in 
glibc assebler files.

On יום שישי 30 ינואר 2009 11:25:20 Bastian Blank wrote:
> On Fri, Jan 30, 2009 at 10:37:57AM +0200, Yoram bar haim wrote:
> > When compiling with gcc that uses march=i686 (or any sub-arch) gcc
> > defines __i686 to be 1, that causes instructions such as
> > ..ifndef __i686.get_pc_thunk.reg;
> > to fail as syntax error (because the prefix is 1).
> > if you force it to be redefid as __i686 it works fine
>
> Any identifier which starts with two underscores (or one underscore and
> an uppercase letter) is reserved for use by the implementation. You must
> not define them yourself.
>
> According to the google code search, this code is only used in the
> glibc itself, which obviously built fine.
>
> Bastian




Reply to: