[bug #65455] Fails to build with parallel make
Eli Schwartz <[email protected]> Mon, 11 Mar 2024 17:48:52 -0400 (EDT)
| Newsgroups | gmane.comp.debugging.ddd.bugs |
|---|---|
| Message-ID | <[email protected]> |
URL:
<https://savannah.gnu.org/bugs/?65455>
Summary: Fails to build with parallel make
Group: DDD
Submitter: eschwartz
Submitted: Mon 11 Mar 2024 09:48:52 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 11 Mar 2024 09:48:52 PM UTC By: Eli Schwartz <eschwartz>
Originally reported at https://bugs.gentoo.org/696934
In Makefile.am
# Make sure needed headers are built before trying to compile these files
# (Assume ddd.C is the first source file to be built.)
This is not a good assumption when people use make -j$(nproc). Please either:
fully list headers, as such:
-resources.o: Ddd.ad.h
-show.o: build.h
+resources.o: Ddd.ad.h version.h
+show.o: build.h host.h version.h
or else, use BUILT_SOURCES to indicate files that should be built early.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65455>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/