Skip to content

[Backport release-23.11] pkgsi686Linux.samba: don't configure waf in parallel on 32-bit systems#289445

Merged
fabianhjr merged 1 commit intorelease-23.11from
backport-289405-to-release-23.11
Feb 17, 2024
Merged

[Backport release-23.11] pkgsi686Linux.samba: don't configure waf in parallel on 32-bit systems#289445
fabianhjr merged 1 commit intorelease-23.11from
backport-289405-to-release-23.11

Conversation

@github-actions
Copy link
Contributor

Bot-based backport to release-23.11, triggered by a label in #289405.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

Without the change `waf configure` hung on `i686Linux.samba` on systems
with large amount of host CPUs (for me it's 16).

This happens because one of the worker processes gets `-ENOMEM` and does
not recover from it:

    2084476 mmap2(NULL, 8392704, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = -1 ENOMEM (Cannot allocate memory)
    2084476 munmap(0xf2b5c000, 16384)       = 0
    2084476 rt_sigprocmask(SIG_BLOCK, ~[RT_1], NULL, 8) = 0
    2084476 madvise(0x1ff000, 8372224, MADV_DONTNEED) = 0
    2084476 exit(0)                         = ?
    2084476 +++ exited with 0 +++

THe change extends 32-bit arm workaround to limit to one thread to all
32-bit systems.

(cherry picked from commit 9e38b7b)
@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 17, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Feb 17, 2024
@fabianhjr fabianhjr merged commit b9987f7 into release-23.11 Feb 17, 2024
@fabianhjr fabianhjr deleted the backport-289405-to-release-23.11 branch February 17, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants