Linux S/390: Unable to build GCC 8.2.0 on Red Hat Enterprise Linux Server release 6.9

Martin Marko m.marko08154711@gmail.com
Mon Feb 4 11:35:00 GMT 2019


Dear group,

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
* with target/build/host set explicitly (to exclude cross-compilation problems)
* in same folder (as source)
* in separated build folder (outside source)

Please let me know which additional information is needed. Any help is greatly appreciated.

Best regards,
Martin


More information about the Gcc-help mailing list