osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc revision:44, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=359
This commit is contained in:
Ondřej Súkup 2021-06-10 14:09:09 +00:00 committed by Git OBS Bridge
parent 81d703d916
commit 7e659e12aa
7 changed files with 26 additions and 47 deletions

3
ghc-8.10.4-src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52af871b4e08550257d720c2944ac85727d0b948407cef1bebfe7508c224910e
size 19818108

BIN
ghc-8.10.4-src.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f10941f16e4fbd98580ab5241b9271bb0851304560c4d5ca127e3b0e20e3076f
size 19920148

Binary file not shown.

View File

@ -1,12 +1,12 @@
Index: ghc-8.10.5/compiler/main/DynFlags.hs Index: ghc-8.10.0.20200123/compiler/main/DynFlags.hs
=================================================================== ===================================================================
--- ghc-8.10.5.orig/compiler/main/DynFlags.hs --- ghc-8.10.0.20200123.orig/compiler/main/DynFlags.hs
+++ ghc-8.10.5/compiler/main/DynFlags.hs +++ ghc-8.10.0.20200123/compiler/main/DynFlags.hs
@@ -4651,6 +4651,7 @@ default_PIC platform = @@ -4624,6 +4624,7 @@ default_PIC :: Platform -> [GeneralFlag]
-- while we could work around this on x86_64 (like WINE does), we won't be default_PIC platform =
-- able on aarch64, where this is enforced. case (platformOS platform, platformArch platform) of
(OSDarwin, ArchX86_64) -> [Opt_PIC] (OSDarwin, ArchX86_64) -> [Opt_PIC]
+ (OSLinux, ArchX86_64) -> [Opt_PIC] + (OSLinux, ArchX86_64) -> [Opt_PIC]
-- For AArch64, we need to always have PIC enabled. The relocation model (OSOpenBSD, ArchX86_64) -> [Opt_PIC] -- Due to PIE support in
-- on AArch64 does not permit arbitrary relocations. Under ASLR, we can't -- OpenBSD since 5.3 release
-- control much how far apart symbols are in memory for our in-memory static -- (1 May 2013) we need to

View File

@ -1,24 +1,3 @@
-------------------------------------------------------------------
Tue Jun 8 10:46:50 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
- 8.10.5 llvm backend needs llvm 10 - 12
-------------------------------------------------------------------
Sun Jun 6 19:38:14 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 8.10.5
- refresh ghc-pie.patch
* Fix a bug resulting in segmentation faults where code may be unloaded prematurely
when using the parallel garbage collector (#19417) along with other bugs
in the GC and linker (#19147, #19287)
* Improve code layout fixing certain performance regressions (#18053)
and other code generation bug fixes (#19645)
* Bug fixes for signal handling when using the pthread itimer implementation.
* Improvements to the specializer and simplifier reducing code size and and memory usage
* Fix a bug where typechecker plugins could be run with an inconsistent typechecker environmen
* Fix a simplifier bug which lead to an exponential blow up and excessive memory
usage in certain cases
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 15 20:33:24 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Mar 15 20:33:24 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -23,10 +23,10 @@
%endif %endif
%global unregisterised_archs s390 s390x riscv64 %global unregisterised_archs s390 s390x riscv64
%define full_version 8.10.5 %define full_version 8.10.4
Name: ghc Name: ghc
Version: 8.10.5 Version: 8.10.4
Release: 0 Release: 0
URL: https://www.haskell.org/ghc/ URL: https://www.haskell.org/ghc/
Source: https://downloads.haskell.org/~ghc/%{full_version}/ghc-%{version}-src.tar.xz Source: https://downloads.haskell.org/~ghc/%{full_version}/ghc-%{version}-src.tar.xz
@ -53,10 +53,10 @@ BuildRequires: xz
%ifarch aarch64 %{arm} %ifarch aarch64 %{arm}
BuildRequires: binutils-gold BuildRequires: binutils-gold
%endif %endif
%ifarch aarch64 %{arm} %ifarch aarch64 %{arm} %{ix86} x86_64
BuildRequires: clang10 BuildRequires: clang9
BuildRequires: llvm10 BuildRequires: llvm9
BuildRequires: llvm10-devel BuildRequires: llvm9-devel
%endif %endif
%if %{undefined without_manual} %if %{undefined without_manual}
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
@ -109,12 +109,12 @@ Requires(postun): update-alternatives
Requires: binutils-gold Requires: binutils-gold
%endif %endif
%ifarch aarch64 %{arm} %ifarch aarch64 %{arm}
Requires: clang10 Requires: clang9
Requires: llvm10 Requires: llvm9
%endif %endif
%ifarch x86_64 %{ix86} %ifarch x86_64 %{ix86}
Suggests: clang10 Suggests: clang9
Suggests: llvm10 Suggests: llvm9
%endif %endif
%description compiler %description compiler
@ -137,10 +137,10 @@ To install all of GHC install package ghc.
#!ForceMultiversion #!ForceMultiversion
%ghc_lib_subpackage -d Cabal-3.2.1.0 %ghc_lib_subpackage -d Cabal-3.2.1.0
%ghc_lib_subpackage -d array-0.5.4.0 %ghc_lib_subpackage -d array-0.5.4.0
%ghc_lib_subpackage -d -c gmp-devel,libffi-devel,libdw-devel,libelf-devel%{libnuma_dep} base-4.14.2.0 %ghc_lib_subpackage -d -c gmp-devel,libffi-devel,libdw-devel,libelf-devel%{libnuma_dep} base-4.14.1.0
%ghc_lib_subpackage -d binary-0.8.8.0 %ghc_lib_subpackage -d binary-0.8.8.0
%ghc_lib_subpackage -d bytestring-0.10.12.0 %ghc_lib_subpackage -d bytestring-0.10.12.0
%ghc_lib_subpackage -d containers-0.6.4.1 %ghc_lib_subpackage -d containers-0.6.2.1
%ghc_lib_subpackage -d deepseq-1.4.4.0 %ghc_lib_subpackage -d deepseq-1.4.4.0
%ghc_lib_subpackage -d directory-1.3.6.0 %ghc_lib_subpackage -d directory-1.3.6.0
%ghc_lib_subpackage -d exceptions-0.10.4 %ghc_lib_subpackage -d exceptions-0.10.4
@ -158,7 +158,7 @@ To install all of GHC install package ghc.
%ghc_lib_subpackage -d parsec-3.1.14.0 %ghc_lib_subpackage -d parsec-3.1.14.0
%ghc_lib_subpackage -d pretty-1.1.3.6 %ghc_lib_subpackage -d pretty-1.1.3.6
%ghc_lib_subpackage -d process-1.6.9.0 %ghc_lib_subpackage -d process-1.6.9.0
%ghc_lib_subpackage -d stm-2.5.0.1 %ghc_lib_subpackage -d stm-2.5.0.0
%ghc_lib_subpackage -d template-haskell-2.16.0.0 %ghc_lib_subpackage -d template-haskell-2.16.0.0
%ghc_lib_subpackage -d -c ncurses-devel terminfo-0.4.1.4 %ghc_lib_subpackage -d -c ncurses-devel terminfo-0.4.1.4
%ghc_lib_subpackage -d text-1.2.4.1 %ghc_lib_subpackage -d text-1.2.4.1