[Bug debugedit/27890] New: tests using CFLAGS/LDFLAGS causes testsuite failures

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu May 20 12:10:53 GMT 2021


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

            Bug ID: 27890
           Summary: tests using CFLAGS/LDFLAGS causes testsuite failures
           Product: debugedit
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debugedit
          Assignee: unassigned at sourceware dot org
          Reporter: mark at klomp dot org
                CC: debugedit at sourceware dot org
  Target Milestone: ---

Package builds pass their own build flags which breaks the tests that rely on
specific flags themselves.

Fedora has the following in the .spec file:

# The testsuite should be zero fail.
# It uses its own CFLAGS and LDFLAGS settings.
sed -i 's/^\(C\|LD\)FLAGS=.*/\1FLAGS=""/' tests/atlocal

The Debian build sees a lot of testsuite failures when passing lto flags:

<doko> 4. debugedit.at:90: testing debugedit .debug_str objects DWARF4 ...
<doko> `.gnu.debuglto_.debug_macro' referenced in section
`.gnu.debuglto_.debug_macro' of /tmp/ccAYhu9F.debug.temp.o: defined in
discarded section
`.gnu.debuglto_.debug_macro[wm4.0.81fbea40ac96d056116360667986e330]' of
/tmp/ccAYhu9F.debug.temp.o
<doko> `.gnu.debuglto_.debug_macro' referenced in section
`.gnu.debuglto_.debug_macro' of /tmp/ccAYhu9F.debug.temp.o: defined in
discarded section
`.gnu.debuglto_.debug_macro[wm4.stdcpredef.h.19.8dc41bed5d9037ff9622e015fb5f0ce3]'
of /tmp/ccAYhu9F.debug.temp.o
<doko> `.gnu.debuglto_.debug_macro' referenced in section
`.gnu.debuglto_.debug_macro' of /tmp/ccb77ltm.debug.temp.o: defined in
discarded section
`.gnu.debuglto_.debug_macro[wm4.0.81fbea40ac96d056116360667986e330]' of
/tmp/ccb77ltm.debug.temp.o
<doko> `.gnu.debuglto_.debug_macro' referenced in section
`.gnu.debuglto_.debug_macro' of /tmp/ccb77ltm.debug.temp.o: defined in
discarded section
`.gnu.debuglto_.debug_macro[wm4.stdcpredef.h.19.8dc41bed5d9037ff9622e015fb5f0ce3]'
of /tmp/ccb77ltm.debug.temp.o

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


More information about the Debugedit mailing list