Description of problem:
icu-4.2.1-5.fc12 cannot be rebuilt on s390x for RHEL6:
ar: creating uconvmsg/libuconvmsg.a
genccode: --match-arch cpu=3 bits=32 big-endian=2
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10 -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long -o ../../bin/uconv uconv.o uwmsg.o -L../../lib -licui18n -L../../lib -licuuc -L../../lib -L../../stubdata -licudata -lpthread -lm uconvmsg/libuconvmsg.a
/usr/bin/ld: unknown architecture of input file `uconvmsg/libuconvmsg.a(uconvmsg_dat.o)' is incompatible with s390:64-bit output
collect2: ld returned 1 exit status
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Hmm, on the bright side I've definitely built an older icu (as part of the vanilla openoffice.org *internal* icu) so while I haven't a clue about this it should be possible to get this to work.
part of this is https://bugs.icu-project.org/trac/ticket/6969
but most of this is from "checking for genccode assembly... " which is blank and leads the build into a blind alley where the default is 32bit output.
I've added a simple fix as https://bugs.icu-project.org/trac/ticket/7119
for the record the objects its trying to link are 32 bit x86 not just 32 bit of the native arch. 32 bit sparc was failing also.