This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S


------- Additional Comments From Petr dot Salinger at seznam dot cz  2006-02-08 09:37 -------
> We don't pass -march=i686 or equivalent to gcc when used on assembler files. 
> Unless you do something wrong (like adding the -march parameter to CC or so)
> there is no problem.

Even if -march is not passed, some predefined macros are used, depending on
compiler target.

Try something like:
touch a.S
gcc -dD a.S -E

Would be possible to use name i.e.
__i686_get_pc_thunk.reg instead of  __i686.get_pc_thunk.reg ?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   GCC host triplet|i686-pc-liinux-gnu          |i686-pc-linux-gnu
         Resolution|WORKSFORME                  |


http://sourceware.org/bugzilla/show_bug.cgi?id=411

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]