Closed droidicus closed 8 years ago
This means you ctrl-c'd a previous build while it was compiling / linking C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/UAVObjectUtild.dll
Make on windows isn't always able to force the removal of that file.
(If I erroneously closed this, --- e.g. you're sure you did a full clean before like stated-- i'm sorry. But every time I've seen this it's been because I've aborted a prior build).
@mlyle I have had that same problem with ctrl-c in the past as well, but I am 99% sure it is not that this time. Just to be sure I re-ran the tests, and observed the following, in the order of execution: make all_clean && make all -j --> Failure make all_clean && make all -j4 --> Success make all_clean && make all -j --> Failure
This time I saw the problem with GCSControld.dll. I also noted that it didn't fail with '-j' on one attempt, seems random. Please re-open the issue, and let me know if there is further debugging you would like me to do.
I guess there's a build dep missing somewhere
Also, j by itself is bad news, make will launch as many processes as it possibly can.
Not disagreeing, I was playing with build options trying to find the fastest build time possible, and was surprised when it failed. It is easy to work around, so I wouldn't put it at high priority, but I do think that it indicates a missing build dep.
Yeah, if the deps are correct it should still build, just slowly if you have too many threads. :P
I thought about this -- maybe not. If resources run out and a process doesn't start or is abnormally terminated and make doesn't notice, you might get something like this...
After talking with @mlyle in IRC, I ran a test with 'make all_clean && make all -j9' and repeated it 10 times. I was not able to reproduce the issue while doing this, and so am closing this with the instruction of "friends don't let friends use -j".
I have been experiencing GCS build failures on windows recently after using 'make all_clean && make all -j', it will work fine with -j4, and in the case of my i7 processor I believe that -j is using 8 threads. Here is an example of the end of the build process:
Race condition maybe?