On Thu, 22 Sep 2022 11:23:38 +0300 (EEST) Martin Storsjö <[email protected]> wrote:
> On Sun, 18 Sep 2022, Sergei Trofimovich wrote: > > > Before the change massively parallel builds failed when Makefile > > attempted to build both lib64/libd3dx9_38.a and lib32/libd3dx9_38.a: > > > > x86_64-w64-mingw32-dlltool --as-flags=--64 -m i386:x86-64 ... \ > > --output-lib lib64/libd3dx9_38.a \ > > --temp-prefix $(basename lib64/libd3dx9_38.a .a) ... > > ... > > x86_64-w64-mingw32-dlltool --as-flags=--32 -m i386 ... \ > > --output-lib lib32/libd3dx9_38.a \ > > --temp-prefix $(basename lib32/libd3dx9_38.a .a) ... > > > > x86_64-w64-mingw32-dlltool: bfd_open failed reopen stub file: \ > > libd3dx9_38s00271.o: No such file or directory > > make[3]: *** [Makefile:77947: lib32/libd3dx9_38.a] Error 1 > > shuffle=1662967885 > > make[3]: *** Waiting for unfinished jobs.... > > Thanks for the patch, and I'm sorry you've run into this issue. However, > I'm pretty sure that this issue already is fixed in git master (where > you've made your patch). > > I assume you've run into this issue in the tagged v10.0.0 release, then > analyzed the issue and fixed it there, and gone ahead and adapted the fix > on top of git master, without retesting that the issue still was present > on git master? (The fact that it is fixed is very subtle though.) > > This issue was fixed in 953bcd32ae470c4647e94de8548dda5a8f07d82d in git > master. Before the fix, the commands looked like what you quoted above, > calling dlltool with "--temp-prefix $(basename lib64/libd3dx9_38.a .a)". > However, after the fix, the make output prints them as being called with > "--temp-prefix lib64/libd3dx9_38" (the difference between $(basename) and > $$(basename) in that fix commit is very subtle, but should fix the issue). > > Can you retest your issue on latest git master? Ah, yes. 953bcd32ae470c4647e94de8548dda5a8f07d82d does fix this build failure for me! Re-tested on master with only e1b0c1420bbd52ef505c71737c57393ac1397b0a applied and could not trigger any failures in 30 consecutive builds. Usually 4-5 builds are enough to step on the race condition. > BTW, we generally don't include the updates to Makefile.in in the patches > posted to the list. Got it. Thank you! -- Sergei _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
