This was found while trying to build a biarch wine on amd64. As a result of ld
exitting with zero, the configure script thinks /usr/lib/libsicuuc.a is usable,
but in fact it's not.
Patch attached.
$ cat test.c
#include <unicode/ubidi.h>
int
main ()
{
ubidi_open()
;
return 0;
}
$ gcc -m32 -o test -O2 -g -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32 test.c /usr/lib/libsicuuc.a /usr/lib/libsicudata.a -lstdc++ -lgcc_s
/usr/bin/ld: warning: i386:x86-64 architecture of input file `/usr/lib/libsicuuc.a(ubidi.ao)' is incompatible with i386 output
[...]
$ ./test
Segmentation fault