Bug 37636

Summary: gcc has problems compiling the kernel 2.4.3 with --march=k6
Product: [Retired] Red Hat Linux Reporter: Suchandra Thapa <s-thapa-11>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-25 16:46:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Suchandra Thapa 2001-04-25 16:45:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.3 i586)


Giving the processor type as k6 compiles the kernel with a -march=k6 flag
which seems to cause the problem.  Switching processor type to pentium tsc
allows the kernel to compile cleanly..  This problem didn't show up when I
was using gcc-2.96-69 but is present in gcc-2.96-81.

Reproducible: Always
Steps to Reproduce:
1. make menuconfig and choose k6 as processor
2. try to compile kernel
3.
	

Actual Results:  gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=k6    -c -o setup.o setup.c
setup.c: In function `check_cx686_slop':
setup.c:1143: Internal error: Segmentation fault.
Please submit a full bug report.

Comment 1 Bill Nottingham 2001-04-25 17:03:26 UTC

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