public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31892] New: Always install mtrace.
@ 2024-06-13 17:17 carlos at redhat dot com
  2024-06-13 18:44 ` [Bug build/31892] " jsm28 at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: carlos at redhat dot com @ 2024-06-13 17:17 UTC (permalink / raw)
  To: glibc-bugs

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

            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=no with running perl code *and* installing
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 = mtrace
255 generated += mtrace
256 
257 # The Perl script will print addresses and to do this nicely we must know
258 # whether we are on a 32 or 64 bit machine.
259 ifneq ($(findstring wordsize-32,$(config-sysdirs)),)
260 address-width=10
261 else
262 address-width=18
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 should
work.

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

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

end of thread, other threads:[~2024-06-21 11:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 17:17 [Bug build/31892] New: Always install mtrace carlos at redhat dot com
2024-06-13 18:44 ` [Bug build/31892] " jsm28 at gcc dot gnu.org
2024-06-13 19:06 ` carlos at redhat dot com
2024-06-14 10:09 ` fweimer at redhat dot com
2024-06-14 16:02 ` carlos at redhat dot com
2024-06-14 16:03 ` carlos at redhat dot com
2024-06-14 16:14 ` fweimer at redhat dot com
2024-06-20  8:33 ` fweimer at redhat dot com
2024-06-20  9:18 ` schwab@linux-m68k.org
2024-06-21 11:15 ` fweimer at redhat dot com

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).