Re: Still confused about PIE/PIC and default build flags

2022-06-13 Thread John Reiser
On 6/13/22 04:59, Richard Shaw wrote: On Sun, Jun 12, 2022 at 9:23 PM John Reiser wrote: Please post a recipe to reproduce those complaints: the .spec file (or URL), other context for building, etc. Sorry, I was hoping it was obvious. I'm only building in locally right now so I have

Re: Still confused about PIE/PIC and default build flags

2022-06-13 Thread Petr Pisar
V Sun, Jun 12, 2022 at 06:07:01PM -0500, Richard Shaw napsal(a): > So I run into this occasionally and it's still not clear to me. In this > specific case I'm trying to build nanomq[1] and I get the following error: > > /usr/bin/ld: CMakeFiles/nano_test.dir/test.c.o: relocation R_X86_64_32 > again

Re: Still confused about PIE/PIC and default build flags

2022-06-12 Thread John Reiser
On 6/12/22 Richard Shaw wrote: So I run into this occasionally and it's still not clear to me. In this specific case I'm trying to build nanomq[1] and I get the following error: /usr/bin/ld: CMakeFiles/nano_test.dir/test.c.o: relocation R_X86_64_32 against `.rodata' can not be used when making