This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
4.3 build failure in driver-i386.c
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 17 Feb 2008 19:38:49 +1100
- Subject: 4.3 build failure in driver-i386.c
Hi,
driver-i386.s: Assembler messages:
driver-i386.s:2454: Error: invalid character '{' in mnemonic
driver-i386.s:2455: Error: invalid character '{' in mnemonic
driver-i386.s:2456: Error: invalid character '{' in mnemonic
driver-i386.s:2457: Error: invalid character '{' in mnemonic
driver-i386.s:2458: Error: invalid character '{' in mnemonic
driver-i386.s:2459: Error: invalid character '{' in mnemonic
driver-i386.s:2460: Error: invalid character '{' in mnemonic
driver-i386.s:2461: Error: invalid character '{' in mnemonic
driver-i386.s:2462: Error: invalid character '{' in mnemonic
driver-i386.s:2463: Error: invalid character '{' in mnemonic
This is on an ancient distro (don't ask..) i.e. RedHat 6.2. (4.2.3 builds
fine so this is somewhat of a regression...)
Looking at the -save-temps output, it seems the old assembler is choking
on this syntax from __get_cpuid_max() in cpuid.h:
.stabn 68,0,91,.LM210-__get_cpuid_max
.LM210:
#APP
pushf{l|d}
pushf{l|d}
pop{l} %eax
mov{l} {%eax, %edx|%edx, %eax}
xor{l} {$2097152, %eax|%eax, $2097152}
push{l} %eax
popf{l|d}
pushf{l|d}
pop{l} %eax
popf{l|d}
#NO_APP
It's kind of unfortunate for the build to break in this way. Is there any
hope for some kind of fix or workaround? I realize ancient distros are not
a priority, but still....
Thanks
Greg