The following issue has been SUBMITTED. ====================================================================== https://austingroupbugs.net/view.php?id=1631 ====================================================================== Reported By: dmitry_goncharov Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1631 Category: Shell and Utilities Type: Error Severity: Editorial Priority: normal Status: New Name: Dmitry Goncharov Organization: User Reference: Section: make Page Number: https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/nframe.html Line Number: 0 Final Accepted Text: ====================================================================== Date Submitted: 2023-01-21 18:45 UTC Last Modified: 2023-01-21 18:45 UTC ====================================================================== Summary: Default archive rules are incompatible with parallel processing. Description: The default archive rules specified in the standard are
".c.a: $(CC) -c $(CFLAGS) $< $(AR) $(ARFLAGS) $@ $*.o rm -f $*.o .f.a: $(FC) -c $(FFLAGS) $< $(AR) $(ARFLAGS) $@ $*.o rm -f $*.o " Parallel processing was introduced in https://austingroupbugs.net/view.php?id=1436. With -j specified these rules can result in an incomplete archive, because multiple instances of ar are updating the same archive simultaneously. Desired Action: One option is to state that these rules are incompatible with parallel processing. Another option is to remove these rules from the standard. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2023-01-21 18:45 dmitry_goncharovNew Issue 2023-01-21 18:45 dmitry_goncharovName => Dmitry Goncharov 2023-01-21 18:45 dmitry_goncharovSection => make 2023-01-21 18:45 dmitry_goncharovPage Number => https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/nframe.html 2023-01-21 18:45 dmitry_goncharovLine Number => 0 ======================================================================