I know that when i use -pie this error will not come but this error is coming for only some relocation types these are
R_X86_64_32:
R_X86_64_8:
R_X86_64_16:
R_X86_64_32S:
I want to know why this error is coming for these types of relocations? are there any issues with relocation overflow while using position independent code?