https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87341
Bug ID: 87341 Summary: gfortran can not link executables: _edata: invalid version 21 (max 4) Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mi+gcc at aldan dot algebra.com Target Milestone: --- The entire gcc-8.2 configured with the following: ./configure --enable-cxx --enable-alloca --prefix=/prod/pfe/local --with-gmp=/prod/pfe/local --with-mpfr=/prod/pfe/local --with-mpc=/prod/pfe/local --enable-valgrind-tests --with-system-libz --with-gcc-major-version-only --enable-lto --enable-gold --enable-ld --enable-libssp --with-pkgversion=Misha@Local --with-as=/prod/pfe/local/bin/as --enable-languages=c,c++,fortran,lto,jit,objc --enable-vtable-verify --enable-gnu-indirect-function --enable-initfini-array --enable-host-shared The resulting C++ and C compilers both seem to work well. Gfortran also creates object files with ease, however linking the executables (and the shared libraries) fails thus: gfortran -o xscblat1 c_sblat1.o c_sblas1.o ../lib/cblas_LINUX.a /prod/pfe/local/lib/gcc/x86_64-pc-linux-gnu/8/../../../../x86_64-pc-linux-gnu/bin/ld: /prod/pfe/local/lib/gcc/x86_64-pc-linux-gnu/8/../../../../lib64/libgfortran.so: _edata: invalid version 21 (max 4) /prod/pfe/local/lib/gcc/x86_64-pc-linux-gnu/8/../../../../x86_64-pc-linux-gnu/bin/ld: /prod/pfe/local/lib/gcc/x86_64-pc-linux-gnu/8/../../../../lib64/libgfortran.so: error adding symbols: bad value