Bug 99414

Summary: Allow i586 kernel builds
Product: [Retired] Red Hat Raw Hide Reporter: Steve Grubb <linux_4ever>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: u2561633
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-16 15:29:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Grubb 2003-07-18 20:24:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
The src.rpm for the 2.6test1 kernel does not allow targeting the 586
architecture. You either compile for 386 or 686.

Version-Release number of selected component (if applicable):
kernel-2.6.0-0.test1.1.25

How reproducible:
Always

Steps to Reproduce:
rpmbuild -bb SPEC/kernel.spec --target i586
    

Actual Results:  error: Architecture is not included: i586

Expected Results:  compiled kernel optimized for the pentium

Additional info:

Please apply this patch to the psec file:

--- kernel-2.6.spec.orig        2003-07-18 16:05:11.000000000 -0400
+++ kernel-2.6.spec     2003-07-16 19:26:02.000000000 -0400
@@ -27,7 +27,7 @@
 %define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}
                                                                                
 # groups of related archs
-%define all_x86 i386 i686 athlon
+%define all_x86 i386 i586 i686 athlon
                                                                                
 #
 # RPM magic

Comment 1 Alan Sanderson 2003-11-17 01:56:02 UTC
kernel-2.6.0-0.test9.1.87.src.rpm is not able to build for i586, can
the Architecture please be included again.

[root@k6-2-500-rhl9 SPECS]# rpmbuild -bb --target i586 kernel-2.6.spec
Building target platforms: i586
Building for target i586
error: Architecture is not included: i586


Comment 2 Alan Sanderson 2003-11-20 01:17:45 UTC
Same problem with kernel-2.6.0-0.test9.1.90

[root@k6-2-500-rhl9 SPECS]# rpmbuild -bb --target i586 kernel-2.6.spec
Building target platforms: i586
Building for target i586
error: Architecture is not included: i586


Comment 3 Dave Jones 2003-12-16 15:29:50 UTC
The 2.6 kernel in FC2 devel now has this fixed.


Comment 4 Zenon Panoussis 2004-06-05 23:43:48 UTC
Apply the same to RHEL kernels please.

Comment 5 Dave Jones 2004-06-06 11:34:08 UTC
586 is not a supported platform for RHEL.