[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

juergen.reuter at desy dot de gcc-bugzilla@gcc.gnu.org
Wed Jan 9 05:12:00 GMT 2019


--- Comment #16 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Yes, after the problem occurred, I did a completely clean new build of gmp,
mpfr, mpc, gcc (configured with ../configure --prefix=/usr/local/
--with-gmp=/usr/local/ --with-mpfr=/usr/local/ --with-mpc=/usr/local/
--enable-checking=release --enable-languages=c,c++,fortran,lto),
all the tools our software depends, and our software. It turns out that
external C++ libraries linked into our (Fortran) project via bind(C) are not a
problem if they have been built via libtool, such that a .dylib, a .a and a .la
file are present. The two projects that have problem either exist as .dylib and
.a produced by hand-written configure and makefiles (i.e. not using autotools),
or only as dynamic libraries produced via cmake and make.

More information about the Gcc-bugs mailing list