Deutsch English Français Italiano |
<vq4gbo$1btr0$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.python Subject: Re: Python recompile Date: Mon, 3 Mar 2025 15:03:20 -0000 (UTC) Organization: A noiseless patient Spider Lines: 38 Message-ID: <vq4gbo$1btr0$1@dont-email.me> References: <vq1qas$j22$1@gallifrey.nk.ca> <vq1uvb$qbuq$1@dont-email.me> <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> <vq46qi$19uq2$1@dont-email.me> Injection-Date: Mon, 03 Mar 2025 16:03:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="beae0baf7281a3a7eead04a3f3afd638"; logging-data="1439584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tJPmwk+hryA06uo+DdBT9" Cancel-Lock: sha1:p9Z904k1bmxXfo647QvkN0Lv7gI= Bytes: 2470 On Mon, 3 Mar 2025 12:20:35 +0000 bart <bc@freeuk.com> wibbled: >On 03/03/2025 10:44, Muttley@DastardlyHQ.org wrote: >> On Mon, 3 Mar 2025 08:31:16 +0000 >> 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. Yes, thats kind of the point. You wouldn't get these errors if it was written in Java or C#. >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. [snip] >On usenet? That is pretty much dead. Not dead but certainly not buzzing yet I presume thats how you like it given you don't want any "everyday development issues" relating to C mentioned here. Or are you another one who thinks usenet should be for the exclusive discussion of high brow issues only of interest to you?