pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc49 gcc49: don't use precompiled headers for li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc183981337c
branches:  trunk
changeset: 361467:dc183981337c
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Apr 22 12:22:01 2017 +0000

description:
gcc49: don't use precompiled headers for libstdc++

this is a build time optimization that causes hangs on some machines
(netbsd-7/i386, but not netbsd-7/amd64). disable it globally instead
of guessing which are broken.

gcc{5,6} are already disabling it.

PR pkg/51352: Compilation error on lang/gcc49
PR pkg/50210: Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE

diffstat:

 lang/gcc49/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4238d85d136d -r dc183981337c lang/gcc49/Makefile
--- a/lang/gcc49/Makefile       Sat Apr 22 10:46:52 2017 +0000
+++ b/lang/gcc49/Makefile       Sat Apr 22 12:22:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/09/06 12:37:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2017/04/22 12:22:01 maya Exp $
 
 GCC_PKGNAME=   gcc49
 .include       "version.mk"
@@ -38,6 +38,7 @@
 GCC_TARGET_MACHINE?=   ${MACHINE_GNU_PLATFORM}
 GNU_CONFIGURE_PREFIX=  ${GCC_PREFIX}
 INFO_FILES=            yes
+CONFIGURE_ARGS+=       --disable-libstdcxx-pch
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize



Home | Main Index | Thread Index | Old Index