This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S
- From: "Petr dot Salinger at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Feb 2006 09:37:57 -0000
- Subject: [Bug libc/411] gcc defines __i686 macro, causing problems in sysdeps/i386/elf/setjmp.S
- References: <20040925224830.411.jsberg04+computing.glibc@ftml.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.