[Git][ghc/ghc][wip/9.2.7-backports] 3 commits: Hadrian: Enable SMP on powerpc64{le}

Zubin (@wz1000) gitlab at gitlab.haskell.org
Mon Feb 20 17:23:34 UTC 2023



Zubin pushed to branch wip/9.2.7-backports at Glasgow Haskell Compiler / GHC


Commits:
fa92e31a by Peter Trommler at 2023-02-20T22:52:35+05:30
Hadrian: Enable SMP on powerpc64{le}

Fixes #19825

(cherry picked from commit 7cfa6f3114168797cf1fa7faa4ffe6c06b73f149)

- - - - -
617c6871 by Zubin Duggal at 2023-02-20T22:53:24+05:30
Prepare GHC 9.2.7

- - - - -
8044fd96 by Zubin Duggal at 2023-02-20T22:53:24+05:30
Allow metric changes for 9.2.7 as baseline is from a release pipeline

Metric Decrease:
    haddock.base
    haddock.Cabal
    haddock.compiler
Metric Increase:
    ManyAlternatives
    ManyConstructors
    T10421
    T10858
    T12227
    T12425
    T12707
    T13035
    T13253
    T13719
    T15164
    T16577
    T18304
    T18698a
    T18698b
    T3294
    T5321FD
    T5642
    T9203
    T9233
    T9630
    T9872a
    T9872b
    T9872c
    T9872d
    T14697
    T12545

(cherry picked from commit 67ec973ce40d8a66d48c0f5f40458380957b6e6f)

- - - - -


5 changed files:

- configure.ac
- docs/users_guide/9.2.6-notes.rst
- + docs/users_guide/9.2.7-notes.rst
- docs/users_guide/release-notes.rst
- hadrian/src/Oracles/Flag.hs


Changes:

=====================================
configure.ac
=====================================
@@ -13,7 +13,7 @@ dnl
 # see what flags are available. (Better yet, read the documentation!)
 #
 
-AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.2.6], [glasgow-haskell-bugs at haskell.org], [ghc-AC_PACKAGE_VERSION])
+AC_INIT([The Glorious Glasgow Haskell Compilation System], [9.2.7], [glasgow-haskell-bugs at haskell.org], [ghc-AC_PACKAGE_VERSION])
     # Version on HEAD must be X.Y (not X.Y.Z) for ProjectVersionMunged variable
     # to be useful (cf #19058)
 


=====================================
docs/users_guide/9.2.6-notes.rst
=====================================
@@ -20,7 +20,7 @@ Compiler
   (:ghc-ticket:`22491`).
 
 - Fix a compiler panic in the simplifier that manifests when compiling with
-  optimisations (:ghc-ticket:`19824`,:ghc-ticket:`22482`).
+  optimisations (:ghc-ticket:`19824`, :ghc-ticket:`22482`).
 
 - Fix a compiler panic in the demand analyser due to a bug involving shadowing
   (:ghc-ticket:`22718`).


=====================================
docs/users_guide/9.2.7-notes.rst
=====================================
@@ -0,0 +1,78 @@
+.. _release-9-2-7:
+
+Version 9.2.7
+==============
+
+The significant changes to the various parts of the compiler are listed in the
+following sections.
+
+The :ghc-flag:`LLVM backend <-fllvm>` of this release is to be used with LLVM
+9, 10, 11, or 12.
+
+Runtime system
+--------------
+
+- Fix a bug with the RTS linker being unable to resolve the ``setKeepCAFs``
+  symbol which started being used by the GHC library in 9.2.6, resulting in code
+  depending on this symbol failing to load in GHCi or via a compile time splice
+  when using a statically linked GHC, such as on Windows (:ghc-ticket:`22961`).
+
+- Fix a RTS bug resulting in segfaults while using cost center profiling on code
+  that uses the ``newArrayArray#`` primop (:ghc-ticket:`22129`).
+
+- Use C11 compatible static assertion syntax (:ghc-ticket:`22777`).
+
+Build system and packaging
+--------------------------
+
+- Include the ``gen_contents_index`` script which generates an index page
+  for GHC and library documentation in binary distributions generated by
+  Hadrian (:ghc-ticket:`22431`).
+
+- Enable SMP on powerp64{le} (:ghc-ticket:`19825`).
+
+Included libraries
+------------------
+
+The package database provided with this distribution also contains a number of
+packages other than GHC itself. See the changelogs provided with these packages
+for further change information.
+
+.. ghc-package-list::
+
+    libraries/array/array.cabal:             Dependency of ``ghc`` library
+    libraries/base/base.cabal:               Core library
+    libraries/binary/binary.cabal:           Dependency of ``ghc`` library
+    libraries/bytestring/bytestring.cabal:   Dependency of ``ghc`` library
+    libraries/Cabal/Cabal/Cabal.cabal:       Dependency of ``ghc-pkg`` utility
+    libraries/containers/containers/containers.cabal:   Dependency of ``ghc`` library
+    libraries/deepseq/deepseq.cabal:         Dependency of ``ghc`` library
+    libraries/directory/directory.cabal:     Dependency of ``ghc`` library
+    libraries/exceptions/exceptions.cabal:   Dependency of ``ghc`` and ``haskeline`` library
+    libraries/filepath/filepath.cabal:       Dependency of ``ghc`` library
+    compiler/ghc.cabal:                      The compiler itself
+    libraries/ghci/ghci.cabal:               The REPL interface
+    libraries/ghc-boot/ghc-boot.cabal:       Internal compiler library
+    libraries/ghc-boot-th/ghc-boot-th.cabal: Internal compiler library
+    libraries/ghc-compact/ghc-compact.cabal: Core library
+    libraries/ghc-heap/ghc-heap.cabal:       GHC heap-walking library
+    libraries/ghc-prim/ghc-prim.cabal:       Core library
+    libraries/haskeline/haskeline.cabal:     Dependency of ``ghci`` executable
+    libraries/hpc/hpc.cabal:                 Dependency of ``hpc`` executable
+    libraries/integer-gmp/integer-gmp.cabal: Core library
+    libraries/libiserv/libiserv.cabal:       Internal compiler library
+    libraries/mtl/mtl.cabal:                 Dependency of ``Cabal`` library
+    libraries/parsec/parsec.cabal:           Dependency of ``Cabal`` library
+    libraries/pretty/pretty.cabal:           Dependency of ``ghc`` library
+    libraries/process/process.cabal:         Dependency of ``ghc`` library
+    libraries/stm/stm.cabal:                 Dependency of ``haskeline`` library
+    libraries/template-haskell/template-haskell.cabal:     Core library
+    libraries/terminfo/terminfo.cabal:       Dependency of ``haskeline`` library
+    libraries/text/text.cabal:               Dependency of ``Cabal`` library
+    libraries/time/time.cabal:               Dependency of ``ghc`` library
+    libraries/transformers/transformers.cabal: Dependency of ``ghc`` library
+    libraries/unix/unix.cabal:               Dependency of ``ghc`` library
+    libraries/Win32/Win32.cabal:             Dependency of ``ghc`` library
+    libraries/xhtml/xhtml.cabal:             Dependency of ``haddock`` executable
+
+


=====================================
docs/users_guide/release-notes.rst
=====================================
@@ -10,3 +10,4 @@ Release notes
    9.2.4-notes
    9.2.5-notes
    9.2.6-notes
+   9.2.7-notes


=====================================
hadrian/src/Oracles/Flag.hs
=====================================
@@ -72,7 +72,16 @@ targetSupportsSMP :: Action Bool
 targetSupportsSMP = do
   unreg <- flag GhcUnregisterised
   armVer <- targetArmVersion
-  goodArch <- anyTargetArch ["i386", "x86_64", "sparc", "powerpc", "arm", "aarch64", "s390x", "riscv64"]
+  goodArch <- anyTargetArch ["i386"
+                            , "x86_64"
+                            , "sparc"
+                            , "powerpc"
+                            , "powerpc64"
+                            , "powerpc64le"
+                            , "arm"
+                            , "aarch64"
+                            , "s390x"
+                            , "riscv64"]
   if   -- The THREADED_RTS requires `BaseReg` to be in a register and the
        -- Unregisterised mode doesn't allow that.
      | unreg                -> return False



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/55b893e8c57edaf673c79aac6f102174a074a4ca...8044fd968212c4aafc4313e6e87ae41d4a76caf0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/55b893e8c57edaf673c79aac6f102174a074a4ca...8044fd968212c4aafc4313e6e87ae41d4a76caf0
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230220/015250dc/attachment-0001.html>


More information about the ghc-commits mailing list