Bug 59634 - Can't build anything on SPARC (sun4u) platform
Can't build anything on SPARC (sun4u) platform
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.2
sparc Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-02-11 11:13 EST by Alec Voropay
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-02-11 11:14:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alec Voropay 2002-02-11 11:13:57 EST
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 11:33:41 EST
Try
	sparc32 rpm -ba ...

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