Bug 59634 - Can't build anything on SPARC (sun4u) platform
Summary: Can't build anything on SPARC (sun4u) platform
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.2
Hardware: sparc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-11 16:13 UTC by Alec Voropay
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-11 16:14:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Alec Voropay 2002-02-11 16:13:57 UTC
Description of Problem:
It is impossible to build any package on SPARC ULTRA10
(sun4u) platform. The RPM 4 treat this platform as
sparc64, but cc can't generate sparc64 code:
RPM_OPT_FLAGS="-O2 -m64 -mcpu=ultrasparc"
cc1: -m64 is not supported by this configuration

 As it is known, RedHat RPM produces i386 packages
for Intel platform even for i686 machines by default.

 How to produce sparc32 RPMs like this ?
$ file /bin/ls
/bin/ls: ELF 32-bit MSB executable, SPARC, version 1,
dynamically linked (uses shared libs), stripped

Version-Release number of selected component (if applicable):
rpm-devel-4.0.2-6x
rpm-build-4.0.2-6x
rpm-4.0.2-6x
egcs-1.1.2-30

How Reproducible:
Try to build any SRPM on SPARC ULTRA10 (sun4u)

Steps to Reproduce:
1. 
rpm -ba package.src.rpm


Actual Results:
cc1: -m64 is not supported by this configuration
make[1]: *** [package] Error 1


Expected Results:
built RPM

Additional Information:

Comment 1 Jeff Johnson 2002-02-11 16:33:41 UTC
Try
	sparc32 rpm -ba ...



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