Description of problem:
compat-gcc-34 fails because this compiler doesn't seem to know about z9/z10 optimizations, we probably just need to remove those from CFLAGS:
for details, talk with Karsten Hopp on #fedora-s390x
This is blocking the RHEL6 Alpha 2
Easily fixable by trimming the OPT_FLAGS similar to what we already do for the other archs.
The only question is if we should use -march=z900 or -march=z990.
I've already successfully tested a build with these modifications at
We should use the same options as were used in RHEL4 (where gcc 3.4 was the primary compiler), as that's what was tested most. I believe we didn't pass any special -march= nor -mtune= for s390/s390x at that time, so we should just strip it from OPT_FLAGS on these arches.
fixed in compat-gcc-34-3.4.6-18
Fixed in 'compat-gcc-34-3.4.6-18', included in compose 'RHEL6.0-20091027.3'.
Moving to ON_QA.
Verified that compat-gcc-34-3.4.6-18 build for s390x another proof that compat-gcc-34-3.4.6-18 can be build is here: http://download.devel.redhat.com/brewroot/packages/compat-gcc-34/3.4.6/18/. Also had a look at changes 13 v. 18 in CVS and the changes are those proposed in this BZ.
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.