[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



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

-- 
Without facts, the decision cannot be made logically.  You must rely on
your human intuition.
		-- Spock, "Assignment: Earth", stardate unknown



Reply to: