Bill Allombert on Mon, 04 Jan 2021 17:20:29 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: libpari-gmp.so.2.13.0 not being built with RUNPATH


On Fri, Jan 01, 2021 at 12:48:30AM -0500, Jeffrey Walton wrote:
> On Thu, Dec 31, 2020 at 9:43 PM Jeffrey Walton <noloader@gmail.com> wrote:
> There were two problems. First, my LDFLAGS were not used in the
> dynamic library recipe. Second, something blew away my LIBS.

You should probably use DLLDFLAGS instead of LDFLAGS.

As a point of information, PARI is built everyday with asan with gcc 8,
see
https://pari.math.u-bordeaux.fr/buildlogs/cd3f6a55-9aed-4853-93de-4c653a4e117e

Later versions of gcc have an inconsistent behavior that leads to -ldl
to be missed by Configure.

Cheers,
Bill