[PATCH rtems-central] spec/build-objects: Add details about duplicates

Kinsey Moore kinsey.moore at oarcorp.com
Tue Feb 7 22:00:56 UTC 2023

Add a comment warning against duplicate ObjectsItem inclusions and why
that can cause problems.
 spec/spec/build-objects.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/spec/spec/build-objects.yml b/spec/spec/build-objects.yml
index 0453619d..695ab69f 100644
--- a/spec/spec/build-objects.yml
+++ b/spec/spec/build-objects.yml
@@ -54,7 +54,10 @@ spec-info:
         spec-type: build-source-list
     description: |
       This set of attributes specifies a set of object files used to build
-      static libraries or test programs.
+      static libraries or test programs. Objects Items must not be included on
+      multiple paths through the build dependency graph with identical build
+      options. Violating this can cause race conditions in the build system due
+      to duplicate installs and multiple instances of build tasks.
     mandatory-attributes: all
 spec-name: Build Objects Item Type
 spec-type: build-objects

More information about the devel mailing list