Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Download (1.1 KB)
Bug #22059
» patch-template_Makefile.in
wiz (Thomas Klausner)
, 05/15/2026 04:58 PM
$NetBSD: patch-template_Makefile.in,v 1.3 2026/05/15 16:56:19 wiz Exp $
Try fixing make parallelism/submake problems.
1. make sure no stale probes.o is there when the probes.o is rebuilt
2. ruby-glommed and probes.stamp depend on the same files, make sure
they don't trigger the same objects twice.
--- template/Makefile.in.orig 2026-05-07 20:25:14.644318083 +0000
+++ template/Makefile.in
@@ -523,7 +523,7 @@
probes.stamp: $(DTRACE_REBUILD_OBJS)
probes.stamp: $(DTRACE_REBUILD_OBJS)
$(Q) if test -f $@ -o -f probes.$(OBJEXT); then \
- $(RM) $(DTRACE_REBUILD_OBJS) $@; \
+ $(RM) $(DTRACE_REBUILD_OBJS) $@ probes.$(OBJEXT); \
$(ECHO0) "rebuilding objects which were modified by \"dtrace -G\""; \
$(MAKE) $(DTRACE_REBUILD_OBJS); \
fi
@@ -537,7 +537,7 @@
probes.$(OBJEXT): $(srcdir)/probes.d $(DTRACE_REBUILD:
# DTrace static library hacks described here:
# https://marc.info/?l=opensolaris-dtrace-discuss&m=114761203110734&w=4
-ruby-glommed.$(OBJEXT):
+ruby-glommed.$(OBJEXT): probes.$(OBJEXT)
@$(ECHO) generating a glommed object with DTrace probes for static library
$(Q) $(LD) -r -o $@ $(OBJS)
« Previous
1
2
Next »
(2-2/2)
Loading...