Magnus pushed to branch ghc-9.12 at Glasgow Haskell Compiler / GHC

Commits:

3 changed files:

Changes:

  • libraries/base/changelog.md
    1 1
     # Changelog for [`base` package](http://hackage.haskell.org/package/base)
    
    2 2
     
    
    3
    -## 4.21.2.0 *June 2026*
    
    3
    +## 4.21.3.0 *June 2026*
    
    4 4
       * System.Info.fullCompilerVersion: add 'since' annotation
    
    5 5
     
    
    6 6
     ## 4.21.2.0 *March 2026*
    

  • libraries/process
    1
    -Subproject commit 92deb52c1781bf10ad390296dbc435abe103bfe4
    1
    +Subproject commit 11fd247ad33208da7a914acf15d4a09d64a6a4c4

  • testsuite/driver/testlib.py
    ... ... @@ -2992,11 +2992,15 @@ def normalise_errmsg(s: str) -> str:
    2992 2992
         # Old emcc warns when we export HEAP8 but new one requires it (see #26290)
    
    2993 2993
         s = s.replace('warning: invalid item in EXPORTED_RUNTIME_METHODS: HEAP8\nwarning: invalid item in EXPORTED_RUNTIME_METHODS: HEAPU8\nemcc: warning: warnings in JS library compilation [-Wjs-compiler]\n','')
    
    2994 2994
     
    
    2995
    -    # on newer versions of MacOS X, the shipped ranlib warns about object files with no symbols,
    
    2996
    -    # however, these are completely benign stubs.
    
    2997
    -    # See https://gitlab.haskell.org/ghc/ghc/-/issues/27116
    
    2998 2995
         if opsys('darwin'):
    
    2996
    +        # on newer versions of MacOS X, the shipped ranlib warns about object files with no symbols,
    
    2997
    +        # however, these are completely benign stubs.
    
    2998
    +        # See https://gitlab.haskell.org/ghc/ghc/-/issues/27116
    
    2999 2999
             s = modify_lines(s, lambda l: re.sub(r'.*ranlib:.*has no symbols', '', l))
    
    3000
    +        # we also want to remove linker warnings having to do with undefined dynamic_lookup in combination with
    
    3001
    +        # making a single weak symbol undefined as this is dependent on other linker flags
    
    3002
    +        # See also https://github.com/haskell/process/pull/377
    
    3003
    +        s = drop_lines_containing(s, 'ld: warning: -U option is redundant when using -undefined dynamic_lookup')
    
    3000 3004
     
    
    3001 3005
         return s
    
    3002 3006