Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39390 )
Change subject: cbfstool: Build vboot library
......................................................................
Patch Set 9:
Patch Set 9:
Hmm... yeah, I don't really understand what's happening there. Maybe it's some weird race condition with parallel make?
Patrick, can you help?
There's a race condition between creating the binary and using it. The simple fix for this is to compile to cbfstool.tmp first, then mv into the real location, because mv is an atomic operation.
But: it will likely fail because there will be multiple writers to coreboot.tmp then. abuild (which is called by the what-jenkins-does target, which is what the builder does) first runs "make tools" (with tons of options) in util/abuild/abuild:839 to avoid that issue.
For some reason this change creates a perceived need to rebuild cbfstool for every board.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39390
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifc826896d895f53d69ea559a88f75672c2ec3146
Gerrit-Change-Number: 39390
Gerrit-PatchSet: 9
Gerrit-Owner: Yu-Ping Wu
yupingso@google.com
Gerrit-Assignee: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@chromium.org
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Fri, 20 Mar 2020 13:02:41 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment