https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120772
Bug ID: 120772 Summary: gcobc requires explicit -fPIC Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assignee: unassigned at gcc dot gnu.org Reporter: simonsobisch at gnu dot org Target Milestone: --- That did work with my last test before GCC 15, but now: /usr/bin/ld: /tmp/ccfUJtjt.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status as gcobc is a compatibility layer to cobc which always sets -fPIC as needed (checked during configure), gcobc should do the same.