pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc47 gcc47: limit disabling of libsdtc++ pch use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a835b5494ef
branches:  trunk
changeset: 352098:0a835b5494ef
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Sep 06 16:28:48 2016 +0000

description:
gcc47: limit disabling of libsdtc++ pch use to netbsd.

add a comment that explains that the hang occurs due to ASLR, so other
ASLR users will be able to identify the cause.

thanks joerg for suggesting the cause

diffstat:

 lang/gcc47/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 2cce97f253f8 -r 0a835b5494ef lang/gcc47/Makefile
--- a/lang/gcc47/Makefile       Tue Sep 06 15:25:10 2016 +0000
+++ b/lang/gcc47/Makefile       Tue Sep 06 16:28:48 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2016/09/06 15:04:57 maya Exp $
+# $NetBSD: Makefile,v 1.40 2016/09/06 16:28:48 maya Exp $
 
 GCC_PKGNAME=           gcc47
 .include               "version.mk"
@@ -68,10 +68,8 @@
 ## For target librarys and libjava programs.
 CONFIGURE_ENV+=                LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
 
-.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc-5.*)
-# hangs "checking for compiler with PCH support"
-# similar to GCC bug 54719/54645.
+# "checking for compiler with PCH support" hangs with ASLR enabled
+.if !empty(MACHINE_PLATFORM:MNetBSD-*)
 CONFIGURE_ARGS+=       --disable-libstdcxx-pch
 .endif
 



Home | Main Index | Thread Index | Old Index