Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47915 - please add s390 specific patches to gcc-3.3.3
Summary: please add s390 specific patches to gcc-3.3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 47938
  Show dependency tree
 
Reported: 2004-04-15 05:07 UTC by jochen
Modified: 2004-04-21 01:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
june2003 stream patch (gcc-3.3.3-s390-june2003.diff,188.12 KB, patch)
2004-04-15 05:09 UTC, jochen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jochen 2004-04-15 05:07:15 UTC
the patches add -march and -mtune keywords + new instructions + improved instruction scheduling. based on the patches from june2003 stream, modified to apply cleanly against the gcc-3.3.3 ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 jochen 2004-04-15 05:09:11 UTC
Created attachment 29332 [details, diff]
june2003 stream patch
Comment 2 solar (RETIRED) gentoo-dev 2004-04-19 20:29:18 UTC
jochen,
I think we have a problem with this bug. Our only dev (iggy) that even had 
access to a s390 to test anything is no longer with the gentoo project to 
the best of my knowledge.
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2004-04-19 20:34:14 UTC
Randy does s390 stuff.
Comment 4 jochen 2004-04-19 23:52:25 UTC
at least randy, beejay, tantive, and daq4th have access to s390 afaik. 

Anyway, the patch only touches s390 specific stuff - I recompiled my whole system with it and it works.

Oh, and if I'm not mistaken, I'm to only one with a complete gentoo system on s390 at the moment, so you probably have to trust my statements whether something works or not :-P
Comment 5 Michael McCabe (RETIRED) gentoo-dev 2004-04-20 04:28:07 UTC
I've got to working Gentoo s390 systems.  I can't test to see if this one actually works though, I've only got a Z800.
Comment 6 solar (RETIRED) gentoo-dev 2004-04-20 08:27:57 UTC
Ok I just checked the s390@g.o alias and indeed randy@g.o is the only 
guy on it.

QA problem here. If we can't exactly test s390 support then really it 
should not be an arch that we support.

If however somebody can make access available to a larger number of
developers for such things as testing patches, stage rolling and pushing
forward new development then the previous statement would not apply.
Comment 7 Michael McCabe (RETIRED) gentoo-dev 2004-04-20 08:39:00 UTC
I can give devs access to a system within the next two weeks.  I just don't have access to a Z990 processor so I can't test to see if it works. I'm not sure how famialiar you are with the s390 arch but there are a couple of processors that are s390 procs such as the z800,z900, and z990.  It's simialar to Athlon-Xp etc for the x86 architecture.  
Comment 8 jochen 2004-04-20 08:41:11 UTC
that's the chicken - egg problem

if you don't accept patches before you test them, nobody can provide a box for developers, because the software just doesn't work yet. 

Anyway, this gcc patch isn't exactly essential, it's just "nice to have" if you're running on z990 f.e.

gcc-3.4 supports this stuff anyway. If you feel uncomfortable with this patch, you can wait as well until the first boxes are up and running... shouldn't take long now anymore - basically just docs, kernel patches + some minor tweaks to /etc files missing now
Comment 9 solar (RETIRED) gentoo-dev 2004-04-20 15:41:59 UTC
Michael,

Thank you for the making the correlation for between z800,z900, and z990
processors.

jochen,
Indeed it's a chicken & egg game. Anyway good news for z990 users then
gcc-3.4 has just been released.
ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.4.0/gcc-3.4.0.tar.bz2

I've rolled a new gcc-3.3.3-patches-1.1 tarball and made a few minor
changes in the gcc-3.3.3-r2.ebuild. Current it's all package.masked so
you will have to unmask. You can begin testing it by doing.

mkdir -p /etc/portage/
echo =sys-devel/gcc-3.3.3-r2 >> /etc/portage/package.unmask
ACCEPT_KEYWORDS="~s390" emerge -e system

Please report success/failure.

A  -* masked version also exists of a recent snapshot for 3.4 and
it will updated to be gcc-3.4.ebuild as soon as a few extensions are
available upstream.
Comment 10 solar (RETIRED) gentoo-dev 2004-04-20 15:43:53 UTC
Sorry that KEYWORD is actually just s390, iggy tells me there is no 
~s390 KEYWORD at this time.
Comment 11 jochen 2004-04-21 01:54:28 UTC
appears to work... I'm in the middle of emerge -e world right now, but all base packages are already rebuilt