From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 15 04:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94525B3B for ; Tue, 15 Apr 2014 04:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 711331632 for ; Tue, 15 Apr 2014 04:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3F4e1tb075448 for ; Tue, 15 Apr 2014 04:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3F4e1ee075447; Tue, 15 Apr 2014 04:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 15 Apr 2014 04:40:01 GMT Resent-Message-Id: <201404150440.s3F4e1ee075447@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jia-Shiun Li Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DF8AAFD for ; Tue, 15 Apr 2014 04:35:22 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B4A11610 for ; Tue, 15 Apr 2014 04:35:22 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3F4ZMlE038557 for ; Tue, 15 Apr 2014 04:35:22 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3F4ZM7S038547; Tue, 15 Apr 2014 04:35:22 GMT (envelope-from nobody) Message-Id: <201404150435.s3F4ZM7S038547@cgiserv.freebsd.org> Date: Tue, 15 Apr 2014 04:35:22 GMT From: Jia-Shiun Li To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188641: [patch] x11-drivers/xf86-video-intel is make jobs safe X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2014 04:40:01 -0000 >Number: 188641 >Category: ports >Synopsis: [patch] x11-drivers/xf86-video-intel is make jobs safe >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 15 04:40:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jia-Shiun Li >Release: 11.0-CURRENT >Organization: >Environment: FreeBSD 4cbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #30 r264316: Thu Apr 10 23:46:51 CST 2014 jsli@4cbsd:/usr/obj/usr/src/sys/Minimal amd64 >Description: x11-drivers/xf86-video-intel looks fine without MAKE_JOBS_UNSAFE jsli@4cbsd:/mnt/xf86-video-intel # sysctl kern.smp.cpus hw.model kern.smp.cpus: 4 hw.model: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz jsli@4cbsd:/mnt/xf86-video-intel # time make -DBATCH MAKE_JOBS_NUMBER=64 .... --- lowlevel-blt-bench --- CCLD lowlevel-blt-bench 31.230u 5.693s 0:15.53 237.7% 33847+351k 4+33io 0pf+0w jsli@4cbsd:/mnt/xf86-video-intel # df -h /mnt Filesystem Size Used Avail Capacity Mounted on tmpfs 1.0G 138M 886M 14% /mnt jsli@4cbsd:/mnt/xf86-video-intel # >How-To-Repeat: >Fix: Remove the line 'MAKE_JOBS_UNSAFE=yes'. Trivial patch is attached. Patch attached with submission follows: diff -bur xf86-video-intel.orig/Makefile xf86-video-intel/Makefile --- xf86-video-intel.orig/Makefile 2014-01-23 01:00:46.000000000 +0800 +++ xf86-video-intel/Makefile 2014-04-15 12:32:29.000000000 +0800 @@ -30,7 +30,6 @@ INTEL_REVISION= 1 CONFIGURE_ENV+= xorg_cv_cc_flag__Wno_maybe_uninitialized=no CONFIGURE_ARGS+= --enable-sna -MAKE_JOBS_UNSAFE=yes PLIST_SUB+= OLD="@comment " EXTRA_PATCHES+= ${PATCHDIR}/extra-src__sna__sna_threads.c \ ${PATCHDIR}/extra-src_sna_kgem.c \ >Release-Note: >Audit-Trail: >Unformatted: