[Bug libelf/27134] New: elfutils-git fails tests against binutils-git (GNU_RETAIN section type)

2020-12-31 Thread slyfox at inbox dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27134

Bug ID: 27134
   Summary: elfutils-git fails tests against binutils-git
(GNU_RETAIN section type)
   Product: elfutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: libelf
  Assignee: unassigned at sourceware dot org
  Reporter: slyfox at inbox dot ru
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

Example test failures (had to add GNU_RETAIN printer):

FAIL: run-strip-strmerge.sh

elflint /home/slyfox/dev/git/elfutils/tests/elfstrmerge
section [19] '.init_array' has wrong flags: expected WRITE|ALLOC, is
WRITE|ALLOC|GNU_RETAIN
section [20] '.fini_array' has wrong flags: expected WRITE|ALLOC, is
WRITE|ALLOC|GNU_RETAIN
FAIL run-strip-strmerge.sh (exit status: 1)

FAIL: run-elflint-self.sh
FAIL: run-reverse-sections-self.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug libelf/27134] elfutils-git fails tests against gcc-git (GNU_RETAIN section type)

2020-12-31 Thread slyfox at inbox dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=27134

Sergei Trofimovich  changed:

   What|Removed |Added

Summary|elfutils-git fails tests|elfutils-git fails tests
   |against binutils-git|against gcc-git (GNU_RETAIN
   |(GNU_RETAIN section type)   |section type)

--- Comment #1 from Sergei Trofimovich  ---
I mis-interpreter the change that caused test failures. elfutils built with
gcc-10.2.0 still passes the tests.

gcc-11 does not pass tests, probably after https://gcc.gnu.org/PR98146

-- 
You are receiving this mail because:
You are on the CC list for the bug.