Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2015-05-10 10:45:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2015-04-15 16:24:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc.new/ghc.changes 2015-05-10 10:45:59.000000000 +0200 @@ -23,0 +24,31 @@ +Wed Feb 4 11:57:35 UTC 2015 - [email protected] + ++ add ghc-glibc-2.20_BSD_SOURCE.patch from fedora +- updated to 7.8.4 ++ removed D177.patch (in upstream) ++ removed D173.patch (in upstream) ++ removed ghc.git-e18525f.patch (in upstream) ++ refresh 0001-implement-native-code-generator-for-ppc64.patch +* A critical bug in the LLVM backend which would cause the compiler to generate incorrect code has been fixed (issue #9439). +* Several bugs in the code generator have been fixed for unregisterised platforms, such as 64bit PowerPC (issue #8819 and #8849). +* A bug that could cause GHC's constructor specialization pass (enabled by default at -O2, or via -fspec-constr) to loop forever and consume large amounts of memory has been fixed (issue #8960). +* A bug that would cause GHC to fail when attempting to determine GCC's version information in non-english locales has been fixed (issue #8825). +* A minor bug that allowed GHC to seemingly import (but not use) private data constructors has been fixed (issue #9006). +* A bug in the register allocator which would cause GHC to crash during compilation has been fixed (issue #9303). +* A bug that caused the compiler to panic on some input C-- code has been fixed (issue #9329). +* A few various minor deadlocks in the runtime system when using forkProcess have been fixed. +* A bug which made blocked STM transactions non-interruptible has been fixed (issue #9379). +* A bug in the compiler which broke pattern synonym imports across modules in Haddock has been fixed (issue #9417). +* A minor bug in the code generator in which the popCnt16# did not zero-extend its result has been fixed (issue #9435). +* A bug which caused the compiler to panic on pattern synonyms inside a class declaration has been fixed (issue #9705). +* A bug in the typechecker revolving around un-saturated type family applications has been fixed (issue #9433). +* Several bugs have been fixed causing problems with building GHC on ARM (issues #8951, #9620, #9336, and #9552). +* A bug in the typechecker that could cause an infinite loop when using superclasses in a cycle has been fixed (issue #9415). +* A bug causing corruption in signal handling with the single-threaded runtime system has been fixed (issue #9817). +* A bug that could cause compiled programs to crash due to use of overlapping type families has been fixed (issue #9371). +* A bug in the inliner that caused certain expressions within unboxed tuples to not be properly evaluated has been fixed (issue #9390). +* A bug that caused the compiler to not always properly detect LLVM tools (particularly on Windows) has been fixed (issue #7143). +* A bug that prevented GHC from deriving Generic1 instances for data families has been fixed (#9563). +* A bug that caused type inference to infer the incorrect type in the presence of certain type families and constraints has been fixed (issue #9316). + +------------------------------------------------------------------- Old: ---- D173.patch D177.patch ghc-7.8.3-src.tar.xz ghc.git-e18525f.patch New: ---- ghc-7.8.4-src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.ad4ETW/_old 2015-05-10 10:46:00.000000000 +0200 +++ /var/tmp/diff_new_pack.ad4ETW/_new 2015-05-10 10:46:00.000000000 +0200 @@ -19,14 +19,13 @@ %global unregisterised_archs ppc64le s390 s390s Name: ghc -Version: 7.8.3 +Version: 7.8.4 Release: 0 Url: http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.bz2 Summary: The Glorious Glasgow Haskell Compiler License: BSD-3-Clause Group: Development/Languages/Other ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le - BuildRequires: binutils-devel BuildRequires: gcc BuildRequires: ghc-bootstrap >= 7.4 @@ -35,6 +34,9 @@ BuildRequires: gmp-devel BuildRequires: libelf-devel BuildRequires: libffi-devel +%ifnarch ppc +BuildRequires: llvm +%endif BuildRequires: ncurses-devel BuildRequires: pkg-config BuildRequires: xz @@ -61,12 +63,6 @@ Patch13: integer-gmp.patch # PATCH-FIX-UPSTREAM ghc-7.8.2-cgen-constify.patch [email protected] - Make constant strings constant in C backend to save data segment space. This is a gentoo patch. Patch14: ghc-7.8.2-cgen-constify.patch -# PATCH-FIX-UPSTREAM D173.patch [email protected] -- Fix C backend. Backport of upstream fix for 7.10. See https://phabricator.haskell.org/D173. -Patch15: D173.patch -# PATCH-FIX-UPSTREAM D177.patch [email protected] -- Pass PIC flags to assembler. See https://phabricator.haskell.org/D177. -Patch16: D177.patch -# PATCH-FIX-UPSTREAM ghc.git-e18525f.patch [email protected] -- Declare extern cmm primitives as functions not data. Backport of upstream fix for 7.10. See https://git.haskell.org/ghc.git/commitdiff_plain/e18525fae273f4c1ad8d6cbe1dea4fc074cac721. -Patch17: ghc.git-e18525f.patch # PATCH-FIX-UPSTREAM D560.patch [email protected] -- Fix loading of PIC register. See https://phabricator.haskell.org/D560. Patch18: D560.patch # PATCH-FEATURE-UPSTREAM 0001-implement-native-code-generator-for-ppc64.patch [email protected] -- Implement native code generator for ppc64. Haskell Trac #9863. @@ -116,9 +112,9 @@ %global ghc_pkg_c_deps ghc-compiler = %{ghc_version_override}-%{release} %if %{defined ghclibdir} -%ghc_lib_subpackage Cabal 1.18.1.3 +%ghc_lib_subpackage Cabal 1.18.1.5 %ghc_lib_subpackage array 0.5.0.0 -%ghc_lib_subpackage -c gmp-devel,libffi-devel base 4.7.0.1 +%ghc_lib_subpackage -c gmp-devel,libffi-devel base 4.7.0.2 %ghc_lib_subpackage binary 0.7.1.0 %ghc_lib_subpackage bytestring 0.10.4.0 %ghc_lib_subpackage containers 0.5.5.1 @@ -167,9 +163,6 @@ %patch12 -p1 %patch13 -p1 %patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 @@ -345,13 +338,13 @@ # groups under a single name 'runhaskell'. Either these tools should be # disentangled from the Haskell implementations or all implementations should # have the same set of tools. *sigh* -"%_sbindir/update-alternatives" --install %{_bindir}/runhaskell runhaskell %{_bindir}/runghc 500 -"%_sbindir/update-alternatives" --install %{_bindir}/hsc2hs hsc2hs %{_bindir}/hsc2hs-ghc 500 +"%{_sbindir}/update-alternatives" --install %{_bindir}/runhaskell runhaskell %{_bindir}/runghc 500 +"%{_sbindir}/update-alternatives" --install %{_bindir}/hsc2hs hsc2hs %{_bindir}/hsc2hs-ghc 500 %preun compiler if test "$1" = 0; then - "%_sbindir/update-alternatives" --remove runhaskell %{_bindir}/runghc - "%_sbindir/update-alternatives" --remove hsc2hs %{_bindir}/hsc2hs-ghc + "%{_sbindir}/update-alternatives" --remove runhaskell %{_bindir}/runghc + "%{_sbindir}/update-alternatives" --remove hsc2hs %{_bindir}/hsc2hs-ghc fi %files ++++++ 0001-implement-native-code-generator-for-ppc64.patch ++++++ --- /var/tmp/diff_new_pack.ad4ETW/_old 2015-05-10 10:46:00.000000000 +0200 +++ /var/tmp/diff_new_pack.ad4ETW/_new 2015-05-10 10:46:00.000000000 +0200 @@ -1809,16 +1809,16 @@ ArchAlpha -> panic "maxSpillSlots ArchAlpha" ArchMipseb -> panic "maxSpillSlots ArchMipseb" ArchMipsel -> panic "maxSpillSlots ArchMipsel" -Index: ghc-7.8.3/compiler/nativeGen/RegAlloc/Linear/Main.hs +Index: ghc-7.8.4/compiler/nativeGen/RegAlloc/Linear/Main.hs =================================================================== ---- ghc-7.8.3.orig/compiler/nativeGen/RegAlloc/Linear/Main.hs -+++ ghc-7.8.3/compiler/nativeGen/RegAlloc/Linear/Main.hs -@@ -207,7 +207,7 @@ linearRegAlloc dflags first_id block_liv - ArchSPARC -> linearRegAlloc' dflags (frInitFreeRegs platform :: SPARC.FreeRegs) first_id block_live sccs - ArchPPC -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) first_id block_live sccs +--- ghc-7.8.4.orig/compiler/nativeGen/RegAlloc/Linear/Main.hs ++++ ghc-7.8.4/compiler/nativeGen/RegAlloc/Linear/Main.hs +@@ -207,7 +207,7 @@ linearRegAlloc dflags entry_ids block_liv + ArchSPARC -> linearRegAlloc' dflags (frInitFreeRegs platform :: SPARC.FreeRegs) entry_ids block_live sccs + ArchPPC -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) entry_ids block_live sccs ArchARM _ _ _ -> panic "linearRegAlloc ArchARM" - ArchPPC_64 -> panic "linearRegAlloc ArchPPC_64" -+ ArchPPC_64 -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) first_id block_live sccs ++ ArchPPC_64 -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) entry_ids block_live sccs ArchAlpha -> panic "linearRegAlloc ArchAlpha" ArchMipseb -> panic "linearRegAlloc ArchMipseb" ArchMipsel -> panic "linearRegAlloc ArchMipsel" ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.ad4ETW/_old 2015-05-10 10:46:00.000000000 +0200 +++ /var/tmp/diff_new_pack.ad4ETW/_new 2015-05-10 10:46:00.000000000 +0200 @@ -2,9 +2,19 @@ <hardware> <disk> <size unit="G">12</size> - </disk> + </disk> <physicalmemory> - <size unit="G">4</size> + <size unit="G">4</size> </physicalmemory> </hardware> + <overwrite> + <conditions> + <arch>ppc64le</arch> + </conditions> + <hardware> + <memory> + <size unit="G">8</size> + </memory> + </hardware> + </overwrite> </constraints> ++++++ ghc-7.8.3-src.tar.xz -> ghc-7.8.4-src.tar.xz ++++++ /work/SRC/openSUSE:Factory/ghc/ghc-7.8.3-src.tar.xz /work/SRC/openSUSE:Factory/.ghc.new/ghc-7.8.4-src.tar.xz differ: char 26, line 1
