bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27952] New: ld: Disallow ET_DYN DF_1_PIE linker input?


From: i at maskray dot me
Subject: [Bug ld/27952] New: ld: Disallow ET_DYN DF_1_PIE linker input?
Date: Fri, 04 Jun 2021 05:46:09 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]