Bug 66848

Summary: need build_ada = 0 for non-intel
Product: [Retired] Red Hat Raw Hide Reporter: Guy Streeter <streeter>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-24 14:46:28 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:
Bug Depends On:    
Bug Blocks: 67217    

Description Guy Streeter 2002-06-17 18:39:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Description of problem:
The gcc spec file needs an
#else
#define build_ada 0
so it doesn't get a parse error on non-Intel archs.

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


How reproducible:
Always

Steps to Reproduce:
1.rpm -bb
2.
3.
	

Actual Results:  error: parse error in expression
error: /usr/src/build/110156-ppc/SPECS/gcc31.spec:237: parseExpressionBoolean
returns -1


Expected Results:  build gcc

Additional info:

You can't use an undefined symbol in a conditional.

Comment 1 Jakub Jelinek 2002-07-03 18:58:19 UTC
This should be fixed in gcc-3.1-7.