https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89203
Bug ID: 89203 Summary: Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9 Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: m.marko08154711 at gmail dot com Target Milestone: --- When trying to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9 the component "libgomp" fails with this error: configure: error: in `/home/gcc-8.2.0-build/s390x-ibm-linux-gnu/libgomp': configure: error: C compiler cannot create executables Looking at the "config.log" some corresponding symbols cannot be found: configure:3694: /home/gcc-8.2.0-build/./gcc/xgcc -B/home/gcc-8.2.0-build/./gcc/ -B/opt/gcc-8.2.0/s390x-ibm-linux-gnu/bin/ -B/opt/gcc-8.2.0/s390x-ibm-linux-gnu/lib/ -isystem /opt/gcc-8.2.0/s390x-ibm-linux-gnu/include -isystem /opt/gcc-8.2.0/s390x-ibm-linux-gnu/sys-include --version >&5 /home/ gcc-8.2.0-build/./gcc/xgcc: symbol lookup error: /home/gcc-8.2.0-build/./gcc/libgcc_s.so.1: undefined symbol: __s390_indirect_jump_r1use_r14 Tried it * with the preinstalled GCC (4.4.7) * with a more recent GCC (6.4.0) * with default flags + environment, so just "./configure" and "make" * with target/build/host set explicitly (to exclude cross-compilation problems) * in same folder (as source) * in separated build folder (outside source) This might be related to https://gcc.gnu.org/PR84295 (thx to Segher Boessenkool for pointing this out).