Makefile parallel build race condition
Bug #1515370 reported by
Adi Ratiu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
i8kutils |
Fix Released
|
Medium
|
vitorafsr |
Bug Description
(see attached patch)
Fix a race condition causing parallel builds to sometimes fail.
Both probe_i8k_
i8kctl's is omitted when built with -DLIB so they can link without a
conflict. i8kctl is also a standalone exe so it is built twice, with
and without -DLIB. When building in parallel you can get into a
situation where the object file created by the probe_i8k_
target gets overwritten with the one from i8kctl and bad things happen.
Nothing actually uses the i8kctl.o that has main() so we can just not
build it.
Initially reported at: https:/
Changed in i8kutils: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed on revision 51.