public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/22675] New: Failed elfutils 0.170 tests
@ 2018-01-04 22:04 guido at trentalancia dot com
  2018-01-04 22:55 ` [Bug general/22675] " mark at klomp dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: guido at trentalancia dot com @ 2018-01-04 22:04 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=22675

            Bug ID: 22675
           Summary: Failed elfutils 0.170 tests
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: guido at trentalancia dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

FAIL: run-strip-reloc.sh
FAIL: run-strip-strmerge.sh
FAIL: run-readelf-self.sh

---

/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile1 /home/guido/elfutils-0.170/src/strip
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile2 /home/guido/elfutils-0.170/src/strip
*** failure --reloc-debug-sections not smaller
/home/guido/elfutils-0.170/src/strip.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile1 /home/guido/elfutils-0.170/src/strip.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile2 /home/guido/elfutils-0.170/src/strip.o
*** failure --reloc-debug-sections not smaller strip-uncompressed.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile1 strip-uncompressed.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile2 strip-uncompressed.o
*** failure --reloc-debug-sections not smaller strip-compressed.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile1 strip-compressed.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure readelf -w debugfile2 strip-compressed.o
FAIL run-strip-reloc.sh (exit status: 1)

---

elflint /home/guido/elfutils-0.170/tests/elfstrmerge
No errors
elfstrmerge
elflint merged.elf
No errors
strip
elflint merged.elf.stripped
No errors
elflint merged.elf.debug
No errors
unstrip
elflint remerged.elf
No errors
elfcmp
elflint /home/guido/elfutils-0.170/tests/elfstrmerge.o
No errors
elfstrmerge
elflint merged.elf
No errors
strip
elflint merged.elf.stripped
No errors
elflint merged.elf.debug
No errors
unstrip
/home/guido/elfutils-0.170/src/unstrip: more sections in stripped file than
debug file -- arguments reversed?
FAIL run-strip-strmerge.sh (exit status: 1)

---

/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/addr2line
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/elfcmp
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/elflint
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/nm
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/objdump
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/readelf
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/size.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/src/strip.o
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/libelf/libelf.so
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/libdw/libdw.so
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/backends/libebl_i386.so
/home/guido/elfutils-0.170/src/readelf: cannot get debug context descriptor: No
DWARF information found
*** failure in /home/guido/elfutils-0.170/src/readelf -a -w
/home/guido/elfutils-0.170/backends/libebl_x86_64.so
FAIL run-readelf-self.sh (exit status: 1)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/22675] Failed elfutils 0.170 tests
  2018-01-04 22:04 [Bug general/22675] New: Failed elfutils 0.170 tests guido at trentalancia dot com
@ 2018-01-04 22:55 ` mark at klomp dot org
  2018-01-05 13:33 ` guido at trentalancia dot com
  2018-01-05 16:16 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2018-01-04 22:55 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=22675

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
How did you configure?
What build environment? (gcc, binutils versions, etc.)

It almost looks like the build didn't include -g DWARF information, so the
self-tests failed.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/22675] Failed elfutils 0.170 tests
  2018-01-04 22:04 [Bug general/22675] New: Failed elfutils 0.170 tests guido at trentalancia dot com
  2018-01-04 22:55 ` [Bug general/22675] " mark at klomp dot org
@ 2018-01-05 13:33 ` guido at trentalancia dot com
  2018-01-05 16:16 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: guido at trentalancia dot com @ 2018-01-05 13:33 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=22675

--- Comment #2 from Guido Trentalancia <guido at trentalancia dot com> ---
I confirm.

When the CFLAGS environment variable is not passed to the configure script with
compiler optimization options, all tests are passed.

Previously I was passing options such as "-O3" and "-fomit-frame-pointer" in
CFLAGS.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/22675] Failed elfutils 0.170 tests
  2018-01-04 22:04 [Bug general/22675] New: Failed elfutils 0.170 tests guido at trentalancia dot com
  2018-01-04 22:55 ` [Bug general/22675] " mark at klomp dot org
  2018-01-05 13:33 ` guido at trentalancia dot com
@ 2018-01-05 16:16 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2018-01-05 16:16 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=22675

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Guido Trentalancia from comment #2)
> I confirm.
> 
> When the CFLAGS environment variable is not passed to the configure script
> with compiler optimization options, all tests are passed.
> 
> Previously I was passing options such as "-O3" and "-fomit-frame-pointer" in
> CFLAGS.

OK. In that case simply pass CFLAGS="-g -O3 -fomit-frame-pointer" and you'll
find all tests will PASS. The self-tests need debuginfo.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-05 16:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 22:04 [Bug general/22675] New: Failed elfutils 0.170 tests guido at trentalancia dot com
2018-01-04 22:55 ` [Bug general/22675] " mark at klomp dot org
2018-01-05 13:33 ` guido at trentalancia dot com
2018-01-05 16:16 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).