File: rpmrc.in Repository revision: 2.20 /cvs/devel/rpm/rpmrc.in,v a) There's a typo in the one but last line of rpmrc.in -buildarch_compat: ia64: ia64 moarch +buildarch_compat: ia64: ia64 noarch b) I'd like to ask for support of the IBM S/390 architecture in rpmrc.in. optflags: s390 -O2 -fomit-frame-pointer arch_canon: s390: s390 16 buildarchtranslate: s390: s390 arch_compat: s390: noarch buildarch_compat: s390: noarch cu, Michael
Created attachment 246 [details] patch to fix typo and add s390 architecture
1) Typo fixed, thanks. 2) I believe there already is support for S/390 arch_canon: i370: i370 14 arch_canon: i390: i390 15 or is this actually a different beastie (please send me the output of uname -a on the platform so I can verify that the arch will be autodetected) ?
Obviously it's the name that caused some confusion. IBM calls it 'i370' but 's390'. And 's390' is the architecture name used in the kernel subtree, gcc, glibc, binutils, etc. The ones who sent me the patch didn't recognize, that 'i390' in rpmrc is, what they call 's390'. But maybe you'd like to support 's390' as arch name as well, but there's probabely no need for a different number. # uname -a Linux s390z1 2.2.14 #13 SMP Mon Mar 20 14:03:30 EST 2000 s390 unknown
Fixed in rpm-4.0-0.43 and rpm-3.0.5-0.4. Thanks for the explanation, I think I got it right, but only IBM knows for sure ...
Sorry to bother you once more, but I finally found someone at IBM to ask. I was told, that the i370 and s390 were not compatible, you can neither run i370 binaries on s390, nor vice versa. Thus it should be 'arch_compat: s390: noarch'. Thanks.