Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197299

Re: Python recompile

From bart <bc@freeuk.com>
Newsgroups comp.lang.c, comp.lang.c++, comp.lang.python
Subject Re: Python recompile
Date 2025-03-03 12:20 +0000
Organization A noiseless patient Spider
Message-ID <vq46qi$19uq2$1@dont-email.me> (permalink)
References (2 earlier) <vq22nc$rvb8$1@dont-email.me> <vq24kd$rg6i$1@dont-email.me> <vq3oag$18iv6$1@dont-email.me> <vq3pck$17ol6$1@dont-email.me> <vq415o$19a91$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


On 03/03/2025 10:44, Muttley@DastardlyHQ.org wrote:
> On Mon, 3 Mar 2025 08:31:16 +0000
> Richard Heathfield <rjh@cpax.org.uk> wibbled:
>> On 03/03/2025 08:13, Muttley@DastardlyHQ.org wrote:
>>> On Sun, 2 Mar 2025 12:30:53 -0500
>>> James Kuyper <jameskuyper@alumni.caltech.edu> wibbled:
>>>> On Sun, 02 Mar 2025 16:58:20 +0000, Muttley wrote:
>>>> comp.lang.c is about using the C programming language. Linkers are
>>>> independent of the programming language, and can be used to link
>>>
>>> Without compilers and linkers a C program would just be a load of text.
>>
>> And without people to write it and buildings in which to work it
>> wouldn't even be that, so by your argument everything from
>> demographics to urban planning would be topical here.
>>
>> It's an old argument, but it has never been a good one.
> 
> Really? So if a compiler gives an error thats not a C problem? Go ask a
> group for the specific compiler?

The errors reported by the OP were like this:

ld: error: relocation R_X86_64_32 cannot be used against symbol 
'_PyRuntime'; recompile with -fPIC

'ld' is a program that can be used to link programs in any language.

The problem appears to be do with generating position independent code 
since these days linkers like to generate programs that can loaded at an 
arbitrary address in high memory.

I can't see anything to do with C here, other than the source in 
question may have been written in C.

> What a load of narrow minded BS. Its not as if these groups get hundreds of
> messages a day and the amount needs to be cut down.

Personally I'm not bothered, and would have answered if I could; I think 
some already have.

For a broader C forum, which is more tolerant than this one even though 
it is moderated, the OP could try the C_Programming subreddit of Reddit.

The question also seems a good fit for Stack Exchange.

There may even be specialist forums for building or developing CPython.

(Over a decade ago, I myself had a problem in building CPython on 
Windows. I posted about in comp.lang.python, but they were ******* 
useless. People there only knew how to write Python programs.)

I expect however you'd be OK with this forum being full of everyday 
development issues associated with a million different applications, but 
which just happen to be written in C, or which are partly in C.


> 
>>> If you'd taken 2 seconds to look at it you'd realise the issue was building
>>> the Python source code which is written in C. That sounds like a C issue to
>> me.
>>
>> Then you have very gullible ears. Building the Python source is
> 
> No idea what gullible ears is supposed to mean.
> 
>> an issue for a specific compiler group.
> 
> So which group would that be then?

On usenet? That is pretty much dead.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Python recompile doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-03-02 14:35 +0000
  Re: Python recompile Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-03-02 15:54 +0000
    Re: Python recompile Muttley@dastardlyhq.com - 2025-03-02 16:58 +0000
      Re: Python recompile Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-03-02 17:08 +0000
        Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 08:14 +0000
      Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-02 12:30 -0500
        Re: Python recompile scott@slp53.sl.home (Scott Lurndal) - 2025-03-02 18:35 +0000
        Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 08:13 +0000
          Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 08:31 +0000
            Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 10:44 +0000
              Re: Python recompile bart <bc@freeuk.com> - 2025-03-03 12:20 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 15:03 +0000
              Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 12:47 +0000
          Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-03 10:22 -0500
            Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 16:19 +0000
            Re: Python recompile geodandw <geodandw@gmail.com> - 2025-03-03 11:24 -0500
              Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 16:26 +0000
              Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-03 11:39 -0500
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-03 16:56 +0000
                Re: Python recompile David Brown <david.brown@hesbynett.no> - 2025-03-03 18:22 +0100
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 08:31 +0000
                Re: Python recompile Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-04 17:28 +0000
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 17:25 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 08:32 +0000
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-04 08:56 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 09:23 +0000
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-04 09:57 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 10:03 +0000
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-04 10:25 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 11:19 +0000
                Re: Python recompile Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-04 17:42 +0000
                Re: Python recompile bart <bc@freeuk.com> - 2025-03-04 18:16 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-05 09:10 +0000
                Re: Python recompile antispam@fricas.org (Waldek Hebisch) - 2025-03-06 19:21 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-07 09:53 +0000
                Re: Python recompile Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-03-07 21:26 +0000
                Re: Python recompile bart <bc@freeuk.com> - 2025-03-07 21:33 +0000
                Re: Python recompile antispam@fricas.org (Waldek Hebisch) - 2025-03-10 14:39 +0000
                Re: Python recompile Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-03-06 03:16 +0000
                Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-04 19:12 -0500
                Re: Python recompile gazelle@shell.xmission.com (Kenny McCormack) - 2025-03-03 23:42 +0000
                Re: Python recompile geodandw <geodandw@gmail.com> - 2025-03-03 13:29 -0500
                Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-03 16:52 -0500
              Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 17:19 +0000
                Re: Python recompile geodandw <geodandw@gmail.com> - 2025-03-03 13:33 -0500
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 19:15 +0000
                Re: Python recompile geodandw <geodandw@gmail.com> - 2025-03-03 18:51 -0500
                Re: Python recompile Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-04 00:49 +0000
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-04 02:29 +0000
                Re: Python recompile David Brown <david.brown@hesbynett.no> - 2025-03-04 09:12 +0100
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-04 11:33 +0000
                Re: Python recompile Muffley@DinkyHQ.org - 2025-03-04 12:00 +0000
                Re: Python recompile Michael S <already5chosen@yahoo.com> - 2025-03-04 15:31 +0200
              Re: Python recompile David Brown <david.brown@hesbynett.no> - 2025-03-03 18:28 +0100
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-04 08:33 +0000
                Re: Python recompile Kaz Kylheku <643-408-1753@kylheku.com> - 2025-03-04 18:06 +0000
              Re: Python recompile Stuart Redmann <DerTopper@web.de> - 2025-03-06 07:35 +0100
                Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-06 07:32 +0000
                Re: Python recompile Muttley@DastardlyHQ.org - 2025-03-06 08:39 +0000
                Re: Python recompile "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-03-06 12:40 -0800
                Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-07 13:17 -0500
          Re: Python recompile doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-03-03 16:12 +0000
    Re: Python recompile Left Right <olegsivokon@gmail.com> - 2025-03-02 23:26 +0100
  Re: Python recompile antispam@fricas.org (Waldek Hebisch) - 2025-03-02 17:54 +0000
    Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-02 19:15 +0000
    Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-02 13:38 -0500
      Re: Python recompile doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-03-03 00:42 +0000
        Re: Python recompile doctor@doctor.nl2k.ab.ca (The Doctor) - 2025-03-03 00:46 +0000
        Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-02 22:24 -0500
      Re: Python recompile antispam@fricas.org (Waldek Hebisch) - 2025-03-03 17:20 +0000
        Re: Python recompile Richard Heathfield <rjh@cpax.org.uk> - 2025-03-03 17:28 +0000
        Re: Python recompile James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-03-03 12:57 -0500
        Re: Python recompile scott@slp53.sl.home (Scott Lurndal) - 2025-03-03 18:02 +0000
        Re: Python recompile bart <bc@freeuk.com> - 2025-03-03 19:37 +0000
  Re: Python recompile (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-03-04 05:46 +0000

csiph-web