Re: Python recompile

Liste des GroupesRevenir à cl python 
Sujet : Re: Python recompile
De : olegsivokon (at) *nospam* gmail.com (Left Right)
Groupes : comp.lang.python
Date : 02. Mar 2025, 23:26:07
Autres entêtes
Message-ID : <mailman.122.1740954379.2912.python-list@python.org>
References : 1 2 3
I think Python compiles with fPIC by default. Something else had
happened to the OPs checkout that caused these errors. OP needs to
better describe what they were doing to properly understand the
problem.

On Sun, Mar 2, 2025 at 10:10 PM Lew Pitcher via Python-list
<python-list@python.org> wrote:
>
>
First off, this isn't really on-topic for comp.lang.c, as it is a question regarding a linker, interacting
with the results of various options given to a specific compiler.
>
However...
>
On Sun, 02 Mar 2025 14:35:08 +0000, The Doctor wrote:
>
How do I compensate for
>
ld: error: relocation R_X86_64_32 cannot be used against symbol '_PyRuntime'; recompile with -fPIC
>
The error message tells you exactly how to fix the problem: recompile the module using the
  -fPIC
option to the compiler. -fPIC tells your compiler to generate a specific type of position-independant
code, which your linker (apparently) requires for a specific type of relocation.
>
>
[snip]
>
HTH
--
Lew Pitcher
"In Skills We Trust"
--
https://mail.python.org/mailman/listinfo/python-list

Date Sujet#  Auteur
2 Mar 25 * Re: Python recompile60Lew Pitcher
2 Mar 25 +* Re: Python recompile58Muttley
2 Mar 25 i+* Re: Python recompile2Lew Pitcher
3 Mar 25 ii`- Re: Python recompile1Muttley
2 Mar 25 i`* Re: Python recompile55James Kuyper
3 Mar 25 i `* Re: Python recompile54Muttley
3 Mar 25 i  +* Re: Python recompile5Richard Heathfield
3 Mar 25 i  i`* Re: Python recompile4Muttley
3 Mar 25 i  i +* Re: Python recompile2bart
3 Mar 25 i  i i`- Re: Python recompile1Muttley
3 Mar 25 i  i `- Re: Python recompile1Richard Heathfield
3 Mar 25 i  `* Re: Python recompile48James Kuyper
3 Mar 25 i   +- Re: Python recompile1Muttley
3 Mar 25 i   `* Re: Python recompile46geodandw
3 Mar 25 i    +- Re: Python recompile1Muttley
3 Mar 25 i    +* Re: Python recompile26James Kuyper
3 Mar 25 i    i+* Re: Python recompile23Muttley
3 Mar 25 i    ii+* Re: Python recompile3David Brown
4 Mar 25 i    iii`* Re: Python recompile2Muttley
4 Mar 25 i    iii `- Re: Python recompile1Kaz Kylheku
3 Mar 25 i    ii+* Re: Python recompile18Richard Heathfield
4 Mar 25 i    iii`* Re: Python recompile17Muttley
4 Mar 25 i    iii `* Re: Python recompile16Richard Heathfield
4 Mar 25 i    iii  +* Re: Python recompile14Muttley
4 Mar 25 i    iii  i`* Re: Python recompile13Richard Heathfield
4 Mar 25 i    iii  i `* Re: Python recompile12Muttley
4 Mar 25 i    iii  i  +* Re: Python recompile2Richard Heathfield
4 Mar 25 i    iii  i  i`- Re: Python recompile1Muttley
4 Mar 25 i    iii  i  `* Re: Python recompile9Kaz Kylheku
4 Mar 25 i    iii  i   `* Re: Python recompile8bart
5 Mar 25 i    iii  i    +* Re: Python recompile6Muttley
6 Mar 25 i    iii  i    i`* Re: Python recompile5Waldek Hebisch
7 Mar 25 i    iii  i    i +- Re: Python recompile1Muttley
7 Mar 25 i    iii  i    i `* Re: Python recompile3Lawrence D'Oliveiro
7 Mar 25 i    iii  i    i  +- Re: Python recompile1bart
10 Mar 25 i    iii  i    i  `- Re: Python recompile1Waldek Hebisch
6 Mar 25 i    iii  i    `- Re: Python recompile1Lawrence D'Oliveiro
5 Mar 25 i    iii  `- Re: Python recompile1James Kuyper
4 Mar 25 i    ii`- Re: Python recompile1Kenny McCormack
3 Mar 25 i    i`* Re: Python recompile2geodandw
3 Mar 25 i    i `- Re: Python recompile1James Kuyper
3 Mar 25 i    +* Re: Python recompile10Richard Heathfield
3 Mar 25 i    i`* Re: Python recompile9geodandw
3 Mar 25 i    i +* Re: Python recompile4Richard Heathfield
4 Mar 25 i    i i`* Re: Python recompile3geodandw
4 Mar 25 i    i i +- Re: Python recompile1Kaz Kylheku
4 Mar 25 i    i i `- Re: Python recompile1Richard Heathfield
4 Mar 25 i    i `* Re: Python recompile4David Brown
4 Mar 25 i    i  +* Re: Python recompile2Richard Heathfield
4 Mar 25 i    i  i`- Re: Python recompile1Muffley
4 Mar 25 i    i  `- Re: Python recompile1Michael S
3 Mar 25 i    +* Re: Python recompile3David Brown
4 Mar 25 i    i`* Re: Python recompile2Muttley
4 Mar 25 i    i `- Re: Python recompile1Kaz Kylheku
6 Mar 25 i    `* Re: Python recompile5Stuart Redmann
6 Mar 25 i     +* Re: Python recompile2Richard Heathfield
6 Mar 25 i     i`- Re: Python recompile1Muttley
6 Mar 25 i     +- Re: Python recompile1Chris M. Thomasson
7 Mar 25 i     `- Re: Python recompile1James Kuyper
2 Mar 25 `- Re: Python recompile1Left Right

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal