Bill Allombert on Fri, 12 May 2023 13:55:15 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: library .tbss mismatches
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: library .tbss mismatches
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Fri, 12 May 2023 13:50:22 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1683892216; c=relaxed/relaxed; bh=ieHtfaJyqy6Qt3a4g5qB6T/r8DMj2DOpRjI5Tx1NZJ8=; h=DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=0m9OIDN9J64InK/esB2M8Zk0BYyxJTymvPTTskD3dJxKN5HgPT1j5Htowqaqn+XRr6mm0KOwrRKELPvRBimSfyxSgCvbwf8hFgZIWhBekNGVwcdV5VM5A9uF/hIx9kgDrFYtWk/7BodC9usil+fXHDdecb9R+ZPMsWNzjzS1OfaXEc3zCGbrX1jMyV8x2StT1A8ITGF/fxZESvoDLhiOUIQmCaPm/LxR/H7dtP4yKvcT1yQSqZbSKCvX5EdLywDPPg9zo5/PyrGBy/Gh0Nm7gXR21Ir0cKKDUGQKE7ulyYEpH5YyJPa3r43HpBg8c9VMNht+Gj8eUd5cFMULPRk9Nz1QIuIEm7wmuo6O8CSIiVLhlJnSPywxaZo2DSMPGZsmTn779L5cWd/Sbv0MiPw+p5sqpPS2n1ugeTEMl5r/rcsI/GtSNmMGSIDRMAIbswdvi7G3khtC+C0UUNyvvf/m0VfFIm9W6tPjUBigCoVM+2tOTAkgR+NZMGOQeJrSt9QLvffi2d1WUugAnBJLeOV2V3fGJF+5oxbXMkFl7udGYPc8n4AInlAcv4isjuctgS4ZbO2Ov6jm+7FEELKa95FK2prSwXTffk40hEfQfcsx12e6l6qg5cKQj69HdovdW8vemY9SH3SID75yTJOhNgIWzZI7zyr4ATBO1hv/YquTdYE=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1683892216; cv=none; b=BE4R4iPSImXeSDwJENL9tZBaS24DChdBJabXo4JqdycsWbwz9iG51DRNthGM1WTQt+RGdogRnWu7klwnCV8sz+XT0nLHoeL5YvV9EeFpgR0384NoJ2GNgVRmudubmawmLlCi8+yh1bjDzDdAphtf2+114JUs0KZlgk8dDYGe2SN8U1S9n3x6UHePquAjoNTwIsCsDW5x14sc7DBpCUp+T1S2x8jclO65sDcL4thAse7hslEEUnGC2PFOyCJc6QdJeVE+dwzeqJcalICneWxXl9nIqTtLVh2r6wbqRuT6EeuBD3GWGG78EnXjheJikAzg7iajX1yJO9GyVH/91G6fIjOR0RmpETaB1z7P+7TJtbOtiwp7+YY6wQQ+yfd24ysC91TvvyuxhcVUdkJ0LU6d4y/oKj4drMG20kKv4LZh3hCsTtsTZBlS4ockyDxvHbBljp5VsE7w4YpwPv7dKgrxJ2AFfCu5QJIAWmXpTygdfuZG6jomNhxmaq7hwBmOGvB0JrRo0vu5ls1XxJag3GKdCGvD22E0w+pgoj14SFzsGudXDSFlhg0fMuBcjXCnBS5e/QzOda2hL1Ck7ztOXRwK5SA15jmU4kcgkuUrzTz7ydYZC4sql9x2tx86CSSwbuxgA1tHCQJ197pOmuFkLsn7JbsDr5CJzdWIsItmz4ObgMc=
- Authentication-results: smail; arc=none
- Cc: Greg Marks <marks@gmarks.org>
- Delivery-date: Fri, 12 May 2023 13:55:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1683892216; bh=ieHtfaJyqy6Qt3a4g5qB6T/r8DMj2DOpRjI5Tx1NZJ8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n7UbCzFbZImgORo9H1wKuB3655TR0eRsKLvvQsw8hiN+KSlyHwvQ+/BvmhM/vJWTP ayRrf1cYhrmVtKPmYuG1GFk4fY8jMErIewSE3PItgTqzE4Zmleq3QVsWpsa0TkDjMc iD8Kd/Fqo+QEONVUBkw4buwx/bqbEMzK2mGG45Nz5gLobtUfZbIbsIk1/CW+5G9qoI h0eH2a15KRtk3MkCpm6HmD+8bT0dxMpUNqcfwPUn2CJUJgFdP8TwvAUQIEqgFmzot3 phbZjgdD73cSUbYTVEQ0r1HxZ4/fESW+6e0kuIJnpCe1aj66MHhXBMJB3/6RAtd/Wm +NSVk7EYN2IKSKEZ0qqCupbdR88Y+rjH22WQL6YweGhOObZ/bGq9mFtBna0yRheCDg aA7QaV0+iyzcvW3BZ4Zi1dOVNyO0gX8pnTkvS1tGRVOoeOXgwcBJKSJkcz6GtU/bcM jvNpUjjmTxdMYujOMcYfz3SWZiUSGaalAaZ7qLKmYwNWem03sfCRh8zdJH1za7sw8W RNajt9gQFmfQhTsH0gYFT1Y5cJdG5BXr5hb8Od56y2rh0xkRVSVF1m2FDb2TUJmx9A zR1pjys5ROWaOsAK55nPXZ3/yhrFwYBeOER4XEO/Ql9oZ9A6IUt78Gz+x4h7xoFDns yW77SQPePDmyGLAjJkmlBrKg=
- In-reply-to: <ZF2e9SlewBNnK+gw@xiphias.gmarks.org>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr, Greg Marks <marks@gmarks.org>
- References: <ZF2e9SlewBNnK+gw@xiphias.gmarks.org>
On Thu, May 11, 2023 at 09:05:41PM -0500, Greg Marks wrote:
> On a computer on which, years ago, I installed Pari-GP both from the
> source tarball and from the Debian Linux repositories, I am unable to
> compile C programs such as the extgcd.c program in the Pari examples.
> I get these errors:
>
> $gcc -Wall -O3 -o extgcd extgcd.c -lpari
> /usr/bin/ld: PARI_SIGINT_block: TLS definition in /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libpari.so section .tbss mismatches non-TLS reference in /tmp/ccQUa8Wh.o
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libpari.so: error adding symbols: bad value
> collect2: error: ld returned 1 exit status
>
> Is there some simple solution to this problem?
Dear Greg,
I suggest:
gcc -Wall -O3 -o extgcd -I/usr/include/`gcc -print-multiarch`/ extgcd.c -L/usr/lib/ -lpari
or simply
gcc -Wall -O3 -o extgcd -I/usr/include/x86_64-linux-gnu/ extgcd.c -L/usr/lib/ -lpari
(but as a rule, avoid installing complex software in /usr/local/,
one day or another they will interfer with you distribution)
Cheers,
Bill.