Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boehmgc: disable SOFT_VDB on powerpc64le for version 8.2.2 #199978

Merged
merged 3 commits into from Nov 14, 2022
Merged

boehmgc: disable SOFT_VDB on powerpc64le for version 8.2.2 #199978

merged 3 commits into from Nov 14, 2022

Commits on Nov 7, 2022

  1. boehmgc: disable SOFT_VDB on powerpc64le for version 8.2.2

    Upstream has not yet fixed the bug:
    
      ivmai/bdwgc#376
      ivmai/bdwgc#479
    
    However there is a recommended workaround:
    
      ivmai/bdwgc#479 (comment)
    
    This adds `CFLAGS_EXTRA=-DNO_SOFT_VDB` to the `makeFlags`, which
    prevents direct accesses to `/proc` being used for tracking dirtied
    pages (which must be rescanned):
    
      https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741
    
    The collector will fall back to using mprotect() to trigger page
    faults on writes to clean pages and maintain its own dirty bits,
    which is slightly less efficient but (in this case) more reliable.
    Unreliable page-dirtiness bits can lead to use-after-free()
    corruption; this is not a situation where disabling the tests is a
    good idea.
    Adam Joseph committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    06ecc51 View commit details
    Browse the repository at this point in the history
  2. rephrase to avoid mass-rebuild

    Adam Joseph committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    8260aed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7343a3b View commit details
    Browse the repository at this point in the history