genodelabs / genode

Genode OS Framework
https://genode.org/
Other
1.03k stars 249 forks source link

dde_linux: initcall_table.c is sometimes built too early #5159

Closed nfeske closed 1 month ago

nfeske commented 1 month ago

The code must be generated not before all other object files are compiled (and fresh). By chance (parallel build), the rule for generating the .c files can be invoked earlier because the rule's dependencies are not completely known at the position where the rule is defined.

nfeske commented 1 month ago

Fixed by https://github.com/genodelabs/genode/commit/9b101c9a6c9b691e7b64ccdeaea74dd791b169cf

nfeske commented 1 month ago

Fixup https://github.com/genodelabs/genode/commit/9f6a6448d4dfc7addc577684525d76d3b6acdbc8 removes a glitch in my original commit.

ssumpf commented 1 month ago

6098432 makes the necessary changes for the MNT Reform Linux.

nfeske commented 1 month ago

Thanks @ssumpf, merged to staging.