Subject: bug#24846: error while loading shared libraries: libgmp.so.10: unexpected PLT reloc type 0x40

From: Pádraig Brady <[email-masked]>
Date: Tue, 1 Nov 2016 17:08:49 +0000

On 01/11/16 16:32, Paul Eggert wrote:
> On 11/01/2016 09:09 AM, Pádraig Brady wrote:
>> BTW it would be better to configure your coreutils build --without-gmp
> 
> Perhaps --enable-single-binary-exceptions=factor,expr should be the 
> default if GMP is used?

Interesting tradeoff.

That would increase the single binary install by about 10%
(factor(86K), expr(40K)), while keeping the same functionality.

Maybe something like:

  if --enable-single-binary && !--with-gmp && HAVE_GMP
    --enable-single-binary-exceptions=factor,expr

I'll think about it.

cheers,
Pádraig