From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D6BF3848011; Thu, 20 May 2021 12:10:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D6BF3848011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1621512654; bh=ZXFGybYkUFtqH2ECtio1wOf6DJYAYBIdCG4e0q1MurQ=; h=From:To:Subject:Date:From; b=wO6yelhi5Re5YfPE0uh3NkjD36Pt+t3Z9TbfKzqsvxrS/I/vPpdHZqJF+h23jCVU+ kIjROi4RreHJ9QUxG+ydh5oOrIqRA758L+66EXumAkEYMo+uU8OkkP1gqPto0r+j5H jlgt9MjADO2PS6/ThF/B6Lk2Jo7YArWUDNfu7Eds= From: "mark at klomp dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/27890] New: tests using CFLAGS/LDFLAGS causes testsuite failures Date: Thu, 20 May 2021 12:10:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 12:10:54 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27890 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=3D.*/\1FLAGS=3D""/' tests/atlocal The Debian build sees a lot of testsuite failures when passing lto flags: 4. debugedit.at:90: testing debugedit .debug_str objects DWARF4 ... `.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 `.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.8dc41bed5d9037ff9622e015fb5= f0ce3]' of /tmp/ccAYhu9F.debug.temp.o `.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 `.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.8dc41bed5d9037ff9622e015fb5= f0ce3]' of /tmp/ccb77ltm.debug.temp.o --=20 You are receiving this mail because: You are on the CC list for the bug.=