slyfox 14/07/05 15:40:40 Modified: ghc-7.6.3-r1.ebuild ChangeLog Log: pax-mark ghc-stage2 before it's used first time. Fixes bootstrap failure on hardened (bug #516430 by Markus Oehme). (Portage version: 2.2.10_p15/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Revision Changes Path 1.12 dev-lang/ghc/ghc-7.6.3-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild?rev=1.12&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild?rev=1.12&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild?r1=1.11&r2=1.12 Index: ghc-7.6.3-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ghc-7.6.3-r1.ebuild 27 Jun 2014 09:54:02 -0000 1.11 +++ ghc-7.6.3-r1.ebuild 5 Jul 2014 15:40:40 -0000 1.12 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild,v 1.11 2014/06/27 09:54:02 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3-r1.ebuild,v 1.12 2014/07/05 15:40:40 slyfox Exp $ # Brief explanation of the bootstrap logic: # @@ -603,8 +603,13 @@ # ghc massively parallel make: #409631, #409873 # but let users screw it by setting 'I_DEMAND_MY_CORES_LOADED' # 4 parallel jobs usually does not break - emake $(limit_jobs 4) all - emake all V=1 + + # 1. build compiler binary(+wrapper) first + emake $(limit_jobs 4) inplace/bin/ghc-stage2 V=1 + # 2. pax-mark (bug #516430) + pax-mark -m inplace/lib/ghc-stage2 + # 3. and then all the rest + emake $(limit_jobs 4) all V=1 if is_crosscompile; then # runghc does not work for a stage1 compiler, we can build it anyway 1.257 dev-lang/ghc/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.257&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ChangeLog?rev=1.257&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ghc/ChangeLog?r1=1.256&r2=1.257 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v retrieving revision 1.256 retrieving revision 1.257 diff -u -r1.256 -r1.257 --- ChangeLog 27 Jun 2014 09:54:02 -0000 1.256 +++ ChangeLog 5 Jul 2014 15:40:40 -0000 1.257 @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/ghc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.256 2014/06/27 09:54:02 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ChangeLog,v 1.257 2014/07/05 15:40:40 slyfox Exp $ + + 05 Jul 2014; Sergei Trofimovich <sly...@gentoo.org> ghc-7.6.3-r1.ebuild: + pax-mark ghc-stage2 before it's used first time. Fixes bootstrap failure on + hardened (bug #516430 by Markus Oehme). 27 Jun 2014; Sergei Trofimovich <sly...@gentoo.org> ghc-7.6.3-r1.ebuild: Ignore flags '--with-compiler/--with-gcc' passed by cabal with