pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50287: x11/wxGTK30 build on NetBSD/i386 7.0 spins CPU 100%
The following reply was made to PR pkg/50287; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/50287: x11/wxGTK30 build on NetBSD/i386 7.0 spins CPU 100%
Date: Mon, 5 Oct 2015 23:00:42 +0900
Per comment from isaki@, the following patch (--disable-precomp-headers)
works around.
(not sure if other architectures also require it to avoid the >50MB source)
---
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/wxGTK30/Makefile,v
retrieving revision 1.9
diff -u -p -d -r1.9 Makefile
--- Makefile 25 Apr 2015 14:25:20 -0000 1.9
+++ Makefile 5 Oct 2015 13:41:07 -0000
@@ -37,6 +37,12 @@ CONFIGURE_ARGS+= --enable-mediactrl
# http://trac.wxwidgets.org/ticket/16571
CONFIGURE_ARGS+= --disable-visibility
+# gcc 4.8 on NetBSD/i386 7.0 spins on trying to process 50MB wxprec.h.gch
+.include "../../mk/compiler.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386) && !empty(CC_VERSION:Mgcc-4.8.*)
+CONFIGURE_ARGS+= --disable-precomp-headers
+.endif
+
DOCDIR= share/doc/wxGTK
PKGLOCALEDIR= share
---
BTW, what's the following files?
---
% ls -l /usr/pkgsrc/x11/wxGTK30/patches/
total 56
drwxr-xr-x 2 tsutsui wheel 512 Sep 27 02:17 CVS
-rw-r--r-- 1 tsutsui wheel 10442 Jul 21 2014 manual-bakefile.diff
-rw-r--r-- 1 tsutsui wheel 4860 Jul 21 2014 manual-regen.diff
:
---
Home |
Main Index |
Thread Index |
Old Index