From: Keith M. <kei...@us...> - 2018-01-16 20:05:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/01/18 17:41, Eli Zaretskii wrote: > It turns out libmpfr.a includes numerous references to such import > symbols, which sounds like it was produced with GMP in the form of a > shared library? How is that possible, and why was that done? It > means this libmpfr.a cannot be used for static linking, AFAIU. > > Or am I missing something? I don't think so; I'm seeing the same proliferation of dynamic linking symbols. I guess I've never noticed the issue, because I normally use dynamic linking for these GCC prerequisite libraries. FWIW, I built all of these libraries from unmodified upstream sources, using their build systems to generate both static and dynamic variants. Perhaps this is a bug in the MPFR build methodology, when building as a static library with both --enable-static and --enable-dynamic? Or maybe a consequence of a bad design decision (IMO) by the GMP developers; they provide disparate (and incompatible) versions of include/gmp.h for each of the two configurations? (FWIW, the gmp.h which we have distributed is from the '--enable-static --disable-shared' build). - -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJaXlrqAAoJEMCtNsY0flo/20EP/Ri2UbcHRdDL2Tdb7NJna57D 8IZ/f+hMfG+pRDmxcovKd0Is2mND/2ysFKPQCuGKQRx88g3ajoeakUosqUkOyq9Z nQtQzUrf8/EDFqH9E2zbS8neQdAoYb3A9sr8i1VzwY74w0xpJVFBqlvMdCy3QnEy llHyWN4zBkODz0hq4xwSPksQa+/7cUKrRglJsWVDIS/9t9fot6sDF4+ZTp8nkkUr TPk+61iKOWHDuKjerdxw7J4pzeMF/pBoSfvmlcMhCcgIhAUCVPfh9kVj8QNsb/2+ dSAt35O43CfESZSWwR1WqVAPRxF6YLTkahN084oBv8SA28qaazFfraAPCihueGTs KTGJ5VEAjKjDdtCU7mp5e9VGkwvcfR0ByMgvqqsBF3U2y3OBERFP5JI0Q+T1bMAX SRrdkrPYmwhLqQJ8PTi9CN1wq8aemYgMug5pU1Jk6iPROX4Iv9U/kQo47hghqoIP TnyPqdlYrPPsJ6oCDagWwH3Wrt/xNfIBsdgA2LqsjpCKhtPJk2WUh3j4JK0BdR8L 7xXthEwGQy5hBSirGto+TvuF19foY7NyHlm3Bfjmt/cOes1J7gGJN4F0RVooCyEG DnL2nmEgs5B6iXMzL/cpDPSbXog+H5Ta9Sa68uUfYgyu1dR+PkmdA0ud3TO4w70i W/9Q3WHCaWZf8I94kyqm =YSIZ -----END PGP SIGNATURE----- |