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:
Try sparc32 rpm -ba ...