public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
* [Bug debugedit/27890] New: tests using CFLAGS/LDFLAGS causes testsuite failures
@ 2021-05-20 12:10 mark at klomp dot org
  2021-05-20 13:34 ` [Bug debugedit/27890] " doko at debian dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mark at klomp dot org @ 2021-05-20 12:10 UTC (permalink / raw)
  To: debugedit

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.

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

end of thread, other threads:[~2021-07-12 20:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 12:10 [Bug debugedit/27890] New: tests using CFLAGS/LDFLAGS causes testsuite failures mark at klomp dot org
2021-05-20 13:34 ` [Bug debugedit/27890] " doko at debian dot org
2021-05-20 13:47 ` ldv at sourceware dot org
2021-07-05 15:11 ` mark at klomp dot org
2021-07-12 20:21 ` 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).