Menu

#84 Fix parallel build in lib/Makefile

Unstable_(example)
closed
None
5
2022-07-25
2022-06-22
No

Without the change there is no guarantee that .o files will be built
after directories are created for them and build fails as:

gcc -I/build/gnu-efi-code//lib ... -c lib/runtime/rtstr.c -o runtime/rtstr.o
Assembler messages:
Fatal error: can't create runtime/rtstr.o: No such file or directory

Build failures are triggered best with make --shuffle mode added to GNU make recently: https://savannah.gnu.org/bugs/index.php?62100

1 Attachments

Discussion

  • Nigel Croxon

    Nigel Croxon - 2022-07-25
    • status: open --> closed
    • assigned_to: Nigel Croxon
     
  • Nigel Croxon

    Nigel Croxon - 2022-07-25

    Patch is accepted and merged
    Thank you for the patch.

    commit 2ed6486834634130fe7bc9b8803b0113767fc7c1 (HEAD -> master)
    Author: Sergei Trofimovich slyich@gmail.com
    Date: Wed Jun 22 23:00:44 2022 +0100

    lib/Makefile: add .o file dependency on libsubdirs targets

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.