You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In multiple places, we build up a file using >> with shell commands for concatenating output. If the target file is a dependency for a make target, e.g. version.c, which version.o depends on, and you build in parallel, it's possible for version.o to attempt to build with an intermediate version of the file, since it may exist on disk at any stage in the process of concatenating file data.
We should probably concat into a temp file, and move that to the correct name as the final step, so intermediate content cannot be seen.
The text was updated successfully, but these errors were encountered:
We build a file with multiple append operations, parallel
make can see the created file part way through and trigger
dependent build targets.
There are other similar problems, audit is needed:
#146
In multiple places, we build up a file using >> with shell commands for concatenating output. If the target file is a dependency for a make target, e.g. version.c, which version.o depends on, and you build in parallel, it's possible for version.o to attempt to build with an intermediate version of the file, since it may exist on disk at any stage in the process of concatenating file data.
We should probably concat into a temp file, and move that to the correct name as the final step, so intermediate content cannot be seen.
The text was updated successfully, but these errors were encountered: