Bug 66848 - need build_ada = 0 for non-intel
Summary: need build_ada = 0 for non-intel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gcc
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-06-17 18:39 UTC by Guy Streeter
Modified: 2016-02-10 01:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-24 14:46:28 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.