https://sourceware.org/bugzilla/show_bug.cgi?id=27952
Bug ID: 27952 Summary: ld: Disallow ET_DYN DF_1_PIE linker input? Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: i at maskray dot me Target Milestone: --- An input ET_EXEC will cause % as /dev/null -o a.o % ld.bfd a.o -o a; ld.bfd a ... ld.bfd: Using an executable file (a) as input to a link is deprecated - support is likely to be removed in the future Shall we report a similar error for ET_DYN DF_1_PIE input? If a DT_NEEDED entry is a PIE, glibc since 2.30 will report something like: ./b: error while loading shared libraries: b: cannot dynamically load position-independent executable -- You are receiving this mail because: You are on the CC list for the bug.