Skip to content
Snippets Groups Projects
  1. Jun 12, 2019
  2. Jun 11, 2019
    • Alp Mestanogullari's avatar
      testsuite/mk/boilerplate.mk: rename 'ghc-config-mk' to 'ghc_config_mk' · aad6115a
      Alp Mestanogullari authored and Marge Bot's avatar Marge Bot committed
      Make/shell variable names which contain dashes can cause problems under
      some conditions. The 'ghc-config-mk' variable from testsuite/mk/boilerplate.mk
      that I made overridable (by Hadrian) in ba0aed2e was working as expected when
      our Hadrian/Linux job was based off the deb8 Docker image, but broke when
      I switched the job to use our deb9-based image, in 3d97bad6. The exact
      circumstances/tool versions that trigger this problem are unknown, but
      changing the variable's name to 'ghc_config_mk' lets us work around the issue.
      
      This fixes the annth_compunits and annth_make test failures that showed up
      when we switched the Hadrian/Linux job to use the deb9 environment.
      aad6115a
    • Ömer Sinan Ağacan's avatar
      Fix an error message in CheckUnload.c:searchHeapBlocks · 1389b2cc
      Ömer Sinan Ağacan authored and Marge Bot's avatar Marge Bot committed
      1389b2cc
    • Ben Gamari's avatar
      rts/linker: Use mmapForLinker to map PLT · 0b7f81f5
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      The PLT needs to be located within a close distance of
      the code calling it under the small memory model.
      
      Fixes #16784.
      0b7f81f5
    • Ben Gamari's avatar
      rts/linker: Mmap into low memory on AArch64 · cf7f36ae
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      This extends mmapForLinker to use the same low-memory mapping
      strategy used on x86_64 on AArch64. See #16784.
      cf7f36ae
    • Alp Mestanogullari's avatar
      Hadrian: teach the RTS that PROFILING implies TRACING · 457fe789
      Alp Mestanogullari authored and Marge Bot's avatar Marge Bot committed
      As discussed in #16744, both the Make and Hadrian build systems
      have special code to always pass -eventlog whenever -prof or -debug
      are passed. However, there is some similar logic in the RTS itself only
      for defining TRACING when the DEBUG macro is defined, but no such logic
      is implemented to define TRACING when the PROFILING macro is defined.
      This patch adds such a logic and therefore fixes #16744.
      457fe789
Loading