public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/28922] New: The .d dependency files aren't always generated
@ 2022-02-24 17:57 hjl.tools at gmail dot com
2022-02-24 18:13 ` [Bug build/28922] " schwab@linux-m68k.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-24 17:57 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28922
Bug ID: 28922
Summary: The .d dependency files aren't always generated
Product: glibc
Version: 2.35
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
"make -j8" doesn't always generate .d dependency files:
[hjl@gnu-tgl-3 build-x86_64-linux]$ ls */*.dt | wc -l
3817
[hjl@gnu-tgl-3 build-x86_64-linux]$ ls */*.d | wc -l
4377
[hjl@gnu-tgl-3 build-x86_64-linux]$
As the result, many dependencies are missing.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28922] The .d dependency files aren't always generated
2022-02-24 17:57 [Bug build/28922] New: The .d dependency files aren't always generated hjl.tools at gmail dot com
@ 2022-02-24 18:13 ` schwab@linux-m68k.org
2022-02-25 18:39 ` hjl.tools at gmail dot com
2022-03-16 2:13 ` skpgkp2 at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2022-02-24 18:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28922
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
The generation of *.d from *.dt only happens on the second round through the
respective subdir, so for example if you run make check the first time all the
*.dt files from compiling the testsuite sources will still be around.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28922] The .d dependency files aren't always generated
2022-02-24 17:57 [Bug build/28922] New: The .d dependency files aren't always generated hjl.tools at gmail dot com
2022-02-24 18:13 ` [Bug build/28922] " schwab@linux-m68k.org
@ 2022-02-25 18:39 ` hjl.tools at gmail dot com
2022-03-16 2:13 ` skpgkp2 at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2022-02-25 18:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28922
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.36
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.36 by
1fe00d3eb6 build: Properly generate .d dependency files [BZ #28922]
c12c2a41b0 benchtests: Generate .d dependency files [BZ #28922]
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug build/28922] The .d dependency files aren't always generated
2022-02-24 17:57 [Bug build/28922] New: The .d dependency files aren't always generated hjl.tools at gmail dot com
2022-02-24 18:13 ` [Bug build/28922] " schwab@linux-m68k.org
2022-02-25 18:39 ` hjl.tools at gmail dot com
@ 2022-03-16 2:13 ` skpgkp2 at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: skpgkp2 at gmail dot com @ 2022-03-16 2:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28922
Sunil Pandey <skpgkp2 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |goldstein.w.n at gmail dot com,
| |skpgkp2 at gmail dot com
--- Comment #3 from Sunil Pandey <skpgkp2 at gmail dot com> ---
c12c2a41b0 benchtests: Generate .d dependency files [BZ #28922] breaks libmvec
benchmark build and silently ignore it.
libmvec benchmark used to build with "make bench" command, but now it ignores
it.
Reverting Rule line to its previous location fixes the libmvec benchmark issue.
$ cat 0001-benchtests-Revert-Rules-include-line-to-its-previous.patch
>From 87e6cdd5cee293c178982e486eeeac3343e1d5ff Mon Sep 17 00:00:00 2001
From: Sunil K Pandey <skpgkp2@gmail.com>
Date: Tue, 15 Mar 2022 18:52:19 -0700
Subject: [PATCH] benchtests: Revert Rules include line to its previous
location.
---
benchtests/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/benchtests/Makefile b/benchtests/Makefile
index d513b29903..873bbe3fa8 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -296,6 +296,8 @@ bench-extra-objs = json-lib.o
extra-objs += $(bench-extra-objs)
others-extras = $(bench-extra-objs)
+include ../Rules
+
binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
extra-objs += $(addsuffix .o,$(addprefix bench-,$(bench)))
binaries-benchset := $(addprefix $(objpfx)bench-,$(benchset))
@@ -337,8 +339,6 @@ run-bench = $(test-wrapper-env) \
timing-type := $(objpfx)bench-timing-type
extra-objs += bench-timing-type.o
-include ../Rules
-
# This makes sure CPPFLAGS-nonlib and CFLAGS-nonlib are passed
# for all these modules.
cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
--
2.35.1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-16 2:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 17:57 [Bug build/28922] New: The .d dependency files aren't always generated hjl.tools at gmail dot com
2022-02-24 18:13 ` [Bug build/28922] " schwab@linux-m68k.org
2022-02-25 18:39 ` hjl.tools at gmail dot com
2022-03-16 2:13 ` skpgkp2 at gmail 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).