Created attachment 322762 [details] build.log The relevant part: checking for -fno-toplevel-reorder -fno-section-anchors... yes checking for -fstack-protector... no checking for -fgnu89-inline... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking whether CFI directives are supported... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking for __builtin_expect... no configure: error: support for __builtin_expect needed * ERROR: sys-libs/glibc-2.15-r2 failed (compile phase): * failed to configure glibc * I'm attaching both the build.log and config.log(why does it use -m31?)
Created attachment 322764 [details] config.log
/usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/../../../../s390x-ibm-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/libgcc.a when searching for -lgcc hmm, have you gone through the lib->lib64 transition yet ?
(In reply to comment #2) > /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/../../../../s390x-ibm-linux-gnu/bin/ > ld: skipping incompatible /usr/lib/gcc/s390x-ibm-linux-gnu/4.5.3/libgcc.a > when searching for -lgcc > > hmm, have you gone through the lib->lib64 transition yet ? Nope i did not :) With the new profile it works