[Git][haskell-team/DHG_packages][master] 2 commits: ghc: build with -mxgot on mips64el

Gianfranco Costamagna gitlab at salsa.debian.org
Fri Aug 9 15:54:36 BST 2019



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
9a525243 by Aurelien Jarno at 2019-08-05T17:25:45Z
ghc: build with -mxgot on mips64el

GHC creates many small snippets of code, causing the GOT to overflow.
Build GHC with -mxgot to use an extended GOT.

- - - - -
3370923e by Gianfranco Costamagna at 2019-08-09T14:54:32Z
Merge branch 'ghc-mips64el' into 'master'

Fix GHC FTBFS on mips64el

See merge request haskell-team/DHG_packages!1
- - - - -


1 changed file:

- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/rules
=====================================
@@ -93,6 +93,9 @@ endif
 ifneq (,$(filter mips mipsel, $(DEB_HOST_ARCH)))
 	echo "SRC_HC_OPTS     += -optc--param -optcggc-min-expand=10" >> mk/build.mk
 endif
+ifneq (,$(filter mips64el, $(DEB_HOST_ARCH)))
+	echo "SRC_HC_OPTS     += -optc-mxgot" >> mk/build.mk
+endif
 ifeq (x32,$(DEB_HOST_ARCH))
 	echo "INTEGER_LIBRARY = integer-simple" >> mk/build.mk
 endif



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/be6405f149f47655b8b9deb15981c68bfe2cfd89...3370923e05e1dbf7707d7f4c812e7ec979fbe6ce

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/be6405f149f47655b8b9deb15981c68bfe2cfd89...3370923e05e1dbf7707d7f4c812e7ec979fbe6ce
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190809/2c648308/attachment.html>


More information about the Pkg-haskell-commits mailing list