Hide Forgot
Description of problem:At an almost stable Gentoo linux image I get : PASS: run-strip-groups.sh ../src/readelf: cannot get debug context descriptor: No DWARF information found *** failure readelf -w debugfile1 ../src/strip ../src/readelf: cannot get debug context descriptor: No DWARF information found *** failure readelf -w debugfile2 ../src/strip *** failure --reloc-debug-sections not smaller ../src/strip.o ../src/readelf: cannot get debug context descriptor: No DWARF information found *** failure readelf -w debugfile1 ../src/strip.o ../src/readelf: cannot get debug context descriptor: No DWARF information found *** failure readelf -w debugfile2 ../src/strip.o FAIL: run-strip-reloc.sh Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 576994 [details] build log
Strange, those are the last two self tests in run-strip-groups.sh: # self test, shouldn't impact non-ET_REL files at all. runtest ../src/strip 0 runtest ../src/strip.o 1 Could you provide those two (src/strip and src/strip.o) object files somewhere?
Also from the logs it is as if you are building without -g, in that case there is indeed no DWARF debuginfo available. Though I would expect more self-tests failing in that case. But maybe this really is the only self tests that requires DWARF?
Created attachment 577009 [details] strip (In reply to comment #2) > > Could you provide those two (src/strip and src/strip.o) object files somewhere?
Created attachment 577010 [details] strip.o (In reply to comment #2) > > Could you provide those two (src/strip and src/strip.o) object files somewhere?
OK, so the reason is indeed that you are trying to build elfutils without -g. Then this self-test does indeed fail. Don't do that :) I am not sure it really makes sense to support the self-tests if somebody removes the -g flag from the build. But since this seems to be the only test that does rely on it we could test for it I guess and just skip it in that case. Do you really want/need to build things without -g?
(In reply to comment #6) > Do you really want/need to build things without -g? No - Gentoo fixed the package - thx.