You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile finished in 0.00372612 sec (84 kb). 0 warnings detected
/usr/sbin/ld: release/main.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/sbin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
Trying manually with gcc gives me the same result.
I'm on ArchLinux.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Thanks for trying out Cone. Evidently, the ArchLinux default for gcc is to compile executables as position independent. I have a PIC option on the Cone compiler, but I don't think it is currently hooked up (something I need to correct). I'm glad you found a work-around for now.
Hi.
I tried to compile a hello world example:
with
congo
and it fails with the following error:Trying manually with
gcc
gives me the same result.I'm on ArchLinux.
Thanks for your help.
The text was updated successfully, but these errors were encountered: