Bug 128368

Summary: gcc-c++-3.4.1-2 from FC-2.90 doesn't work on i586
Product: [Fedora] Fedora Reporter: Constantin <kostya.nipi>
Component: gccAssignee: Jakub Jelinek <jakub>
Severity: low Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:04:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Constantin 2004-07-22 08:24:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)

Description of problem:
C++ projects (maybe, C also, I haven't tested them) do not compile on 
586-mmx computer. Compiler reports 'Internal compiler error:Illegal 
instruction'. All is OK on i686 with the same compiler and the same 
projects. Fedora Core 2 native gcc-c++ and gcc34-c++ compile these 
projects well on that 586.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Take old Pentium-MMX class computer
2. Upgrade to gcc-3.4.1-2,gcc-c++,binutils,cpp,libstdc++,libstdc++-
devel,libgcc from Fedora Core 2.90
3. Compile some (different) C++ sources

Actual Results:  'Internal compiler error: Illegal instruction' on 
i586 (FC2)
normal compile on i686 (tested on 3 computers: 1 P4 with FC2, 1 PII 
with RH9 and PII with FC2)

Additional info:

Maybe, the packages are built for i686, but named as i386.rpm

Comment 1 Jakub Jelinek 2004-07-22 08:41:31 UTC
Is this VIA C3?  If yes, this is a big screw-up on VIA side,
the instructions are supposed to be ignored if not implemented already
from i386 UP.
Anyway, GCC no longer uses prefetch with plain -march=i386 -mtune=pentium4,
only -march=i686 -mtune=pentium4 (though it is bad for performance
of the whole distro).

*** This bug has been marked as a duplicate of 127375 ***

Comment 2 Constantin 2004-07-22 09:14:39 UTC
No, it's Intel Pentium MMX (430VX motherboard)
I have used flags -march=pentium-mmx -mcpu=pentium-mmx

Comment 3 Red Hat Bugzilla 2006-02-21 19:04:36 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.