From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 64E5E388206F; Thu, 13 Jun 2024 17:17:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64E5E388206F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718299037; bh=tN0+lVVerrtsN0KkUMwjgq6D5assIJ+PxvkZempAmq8=; h=From:To:Subject:Date:From; b=JR8btQjaxMzi4ezqd0n9dwBvN8XA3/IOIMmIu/Uad13V88LyAomgzKmm9co0G5Q+R G//6trVVkUZSUX8vMaFIS+L32SQoZqL2kxJxwU9eBJx0lZJLQaLZvlsdjHObG/iv8c sqXlzEgPI0FT80UYsRrLL5FF8puXSfnnKib0sIOI= From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/31892] New: Always install mtrace. Date: Thu, 13 Jun 2024 17:17:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31892 Bug ID: 31892 Summary: Always install mtrace. Product: glibc Version: 2.40 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com CC: carlos at redhat dot com Target Milestone: --- The malloc/Makefile conflates PERL=3Dno with running perl code *and* instal= ling mtrace. We should always install mtrace, but we might not always be able to= run the script (lack of perl on the host). 252 # The Perl script to analyze the output of the mtrace functions. 253 ifneq ($(PERL),no) 254 install-bin-script =3D mtrace 255 generated +=3D mtrace 256=20 257 # The Perl script will print addresses and to do this nicely we must kn= ow 258 # whether we are on a 32 or 64 bit machine. 259 ifneq ($(findstring wordsize-32,$(config-sysdirs)),) 260 address-width=3D10 261 else 262 address-width=3D18 263 endif 264 endif My position is that we should just always install mtrace. The existing mtrace tests are predicated on PERL being detected, so it shou= ld work. --=20 You are receiving this mail because: You are on the CC list for the bug.=