Skip to content

Eagerly resolve git refs

Matthias Käppler requested to merge mk-eager-resolve-gitrefs into master

Doing this lazily sent my machine into a tailspin at some point with make starting hundreds of shell subprocesses in what looked an infinite regress:

$ strace -e trace=clone3 make help
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769025
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769027
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769029
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769031
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769033
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769035
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769037
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769039
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769041
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769043
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769045
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769047
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769049
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769051
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769053
clone3({flags=CLONE_VM|CLONE_VFORK, exit_signal=SIGCHLD, stack=0x7fc08ef5f000, stack_size=0x9000}, 88) = 769055
^Cstrace: Process 766634 detached

Perhaps because there is a dependency cycle somewhere?

Edited by Matthias Käppler

Merge request reports