Commit Graph

515 Commits

Author SHA1 Message Date
Jens Petersen 79d69f534e fix segfault on i686 when using ffi double-mapping for selinux (#907515)
- originally noticed with gtk2hs
- see http://hackage.haskell.org/trac/ghc/ticket/7629
- thanks Garrett Mitchener for patch committed upstream
2014-01-29 11:26:21 +09:00
Jens Petersen 70f2b5d09d document RTS debugging build option 2013-12-22 21:56:20 +09:00
Jens Petersen 6ee0cad912 enable debuginfo
production build
2013-10-30 00:21:19 +09:00
Jens Petersen bf23eb900b bootstrap build to fix hangs on 64bit bigendian
- rts hang patch from Gustavo Luiz Duarte (#989593)
- generate and ship library doc index for ghc bundled libraries
- build with utf8 encoding (needed for verbose ghc output
  and makes better sense anyway)
- change ghc-cabal to make library html docdirs unversioned
2013-10-29 14:59:08 +09:00
Jens Petersen ddf9e36cdc follow http://fedoraproject.org/wiki/Packaging:CronFiles
thanks Jóhann Guðmundsson
2013-07-29 11:35:56 +09:00
Jens Petersen 0d40f8dbbf silence warnings about unsupported llvm version (> 3.1) on ARM
+You are using a new version of LLVM that hasn't been tested yet!
+We will try though...

(ghc-7.6 only officially supports 2.8 <= llvm <= 3.1)
2013-07-24 18:08:02 +09:00
Jens Petersen b019f63051 Revert "temporary bootstrap build for ARM with llvm-3.3 fix"
This reverts commit a044dc3f8a.
2013-07-24 14:18:09 +09:00
Jens Petersen a044dc3f8a temporary bootstrap build for ARM with llvm-3.3 fix 2013-07-24 11:20:37 +09:00
Jens Petersen 0752284aa9 Revert "turn off executable stack flag in executables (#973512)"
While it seems to fix the flag for intermediate object files
final executables still seems to have the flag set somehow.
Further the patch apparently changed the ABI of the ghc library.
2013-07-11 17:30:54 +09:00
Jens Petersen 4e3e8f4b7c turn off executable stack flag in executables (#973512)
- reported by Dhiru Kholia
- upstream patch by Edward Zhang:
  see http://ghc.haskell.org/trac/ghc/ticket/703 and
  08a38628f2
- this affects both ghc 7.4 and 7.6
2013-07-10 11:07:23 +09:00
Jens Petersen 3c760a9a18 fix compilation with llvm-3.3 2013-06-25 16:56:39 +09:00
Jens Petersen 7b74369001 production build 2013-06-20 17:41:31 +09:00
Jens Petersen d5b07bcada bump release to integer 12 2013-06-20 14:21:18 +09:00
Jens Petersen 4d0408ebce correct the option list name in the Cabal dynexe TH patch 2013-06-12 12:14:35 +09:00
Jens Petersen 025408ab14 reinstate and refresh Cabal-fix-dynamic-exec-for-TH.patch 2013-06-12 11:43:49 +09:00
Jens Petersen 2b100fabe7 production build with BuildFlavour perf; obsolete process-leksah 2013-06-06 11:58:43 +09:00
Jens Petersen 67bcee1c1c only require ghc-doc-index if we package it 2013-04-23 19:52:22 +09:00
Jens Petersen 9340b05892 update to new stable major version 7.6.3
- bootstrap build
- use new ghc-rpm-macros-extra
- no longer filter type-level package from haddock index
2013-04-23 18:33:35 +09:00
Jens Petersen 83540ee652 move ghclibdir ownership from compiler to base lib for runtime (#907671) 2013-02-05 13:04:03 +09:00
Jens Petersen 7c4664cfd4 rebuild 2013-01-18 18:53:01 +09:00
Jens Petersen be3e3d6503 fix permissions of ghc-doc-index and only run when root
cronjob no longer checks /etc/sysconfig/ghc-doc-index
2012-11-21 16:55:59 +09:00
Jens Petersen b94bbde71c turn off bootstrapping for proper bootstrapped build 2012-11-17 21:27:53 +09:00
Jens Petersen d429c0f8f5 install ghc-doc-index in bindir 2012-11-17 20:38:54 +09:00
Jens Petersen f3e1561131 "bogus date in %changelog: Tue Dec 12 2007" 2012-11-17 20:35:05 +09:00
Jens Petersen 19f6f35b16 define doc-index subpackage and set without_haddock for bootstrap
- drop Group fields
2012-11-17 18:43:22 +09:00
Jens Petersen c4cf8af204 update changelog timestamp 2012-11-17 12:28:31 +09:00
Jens Petersen f6ebb90def revert rpm-state and bring back ghc-doc-index cronjob in ghc-doc-index subpackage
- add new ghc-doc-index script
- forward port ghc-7.4-silence-gen_contents_index.patch
- remove /var/lib/rpm-state/ghc/
2012-11-16 16:57:46 +09:00
Jens Petersen 483b090ae7 drop doc re-indexing cronjob and add a rpm-state dir for posttrans scripts (#870694) 2012-10-29 20:14:11 +09:00
Jens Petersen 356d662fcc enable hscolour normally, drop BR hscolour, without_hscolour bootstrap now in ghc-rpm-macros 2012-10-25 16:49:08 +09:00
Jens Petersen f39feba3da revert the removal of ghci HS*.o lib files (see http://hackage.haskell.org/trac/ghc/ticket/7249) 2012-10-24 14:00:31 +09:00
Jens Petersen ac56c4ea87 use %buildroot instead of $RPM_BUILD_ROOT ; remove HS*.o files 2012-09-30 17:52:34 +09:00
Jens Petersen e866330046 really add ghc-7.4.2-src.tar.bz2 2012-08-29 19:17:04 +09:00
Jens Petersen a3e1a4bd2b disable Cabal building ghci lib files 2012-08-24 21:33:48 +09:00
Jens Petersen d69bc0fa37 update to 7.4.2 bootstrap
- drop arm StgCRun patches
- update arm hf patch
- use _smp_mflags
2012-08-24 16:30:44 +09:00
Dennis Gilmore d27beede6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 00:11:59 -05:00
Jens Petersen 64f38f75fa use ghc_lib_subpackage instead of ghc_binlib_package 2012-06-15 16:55:18 +09:00
Jens Petersen 7c3c69245e update-package.sh long moved to haskell-sig/rebuild/ 2012-05-07 23:41:50 +09:00
Jens Petersen df25dd92de ghc-wrapper-libffi-include.patch for "missing libffi.h" when compiling prof on secondary archs
eg on armv7:

[ 1 of 21] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.p_o )

/tmp/ghc1692_0/ghc1692_0.c:4:17:
     fatal error: ffi.h: No such file or directory
2012-05-02 19:54:30 +09:00
Jens Petersen 8dcd7bb8c1 full build for ARM 2012-04-28 13:37:49 +09:00
Jens Petersen 3443bff0bf BR autoconf for armv7hl patch 2012-04-27 23:48:28 +09:00
Jens Petersen 2d889de3ba Reverting last patch "avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu" and run autoreconf 2012-04-27 23:18:42 +09:00
Jens Petersen deef098bfc avoid actually running aclocal (for +d16) by using hard float patch closer to Ubuntu
-drop the original debian armhf llvm driver patches
2012-04-27 10:56:12 +09:00
Jens Petersen 8d5c7715aa remove the erroneous doublequote after -D__ARM_PCS_VFP 2012-04-23 19:13:27 +09:00
Jens Petersen 02d6827bb4 revert dropping ghc-debian-ARM-VFPv3D16.patch and define __ARM_PCS_VFP in build.mk 2012-04-23 17:57:54 +09:00
Jens Petersen 759e833d8b try disabling debian ARM-VFPv3D16 patch
/usr/bin/ld: error: /tmp/ghc24961_0/ghc24961_0.o uses VFP register arguments, libraries/base/dist-install/build/GHC/Event/Clock.o does not
2012-04-14 12:18:52 +09:00
Jens Petersen 9bcd864566 the armel patches are -p1 2012-04-14 02:14:37 +09:00
Jens Petersen 3d57944f93 add the new debian ARM patches 2012-04-14 01:46:47 +09:00
Jens Petersen 822ef01b54 add 4 ARM patches from Debian for armel and armhf
- BR llvm not clang
- remove arm from unregisterised_archs
- revert dropping --with-gcc
2012-04-14 01:37:26 +09:00
Jens Petersen 4bbcdfba1a set CC to clang for ARM 2012-04-14 00:23:08 +09:00
Jens Petersen 5042efe9e9 drop --with-gcc 2012-04-13 23:27:46 +09:00