From owner-freebsd-bugs@freebsd.org Tue May 15 03:09:48 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 590BAECB326 for ; Tue, 15 May 2018 03:09:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E3E3080923 for ; Tue, 15 May 2018 03:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9DF27ECB323; Tue, 15 May 2018 03:09:47 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 602D8ECB320 for ; Tue, 15 May 2018 03:09:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C241280919 for ; Tue, 15 May 2018 03:09:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D90913448 for ; Tue, 15 May 2018 03:09:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4F39jA5052391 for ; Tue, 15 May 2018 03:09:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4F39jsw052381 for bugs@FreeBSD.org; Tue, 15 May 2018 03:09:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228261] Request for a specific llvm commit to be merged into current and llvm60 port Date: Tue, 15 May 2018 03:09:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: FreeBSD@ShaneWare.Biz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 03:09:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228261 Bug ID: 228261 Summary: Request for a specific llvm commit to be merged into current and llvm60 port Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: FreeBSD@ShaneWare.Biz CC: brooks@FreeBSD.org I am the port maintainer for devel/godot The automated port builds for current have been emailing me for a while abo= ut a build failure of the godot port. Turns out that one particular file takes o= ver 1.5 hours to compile and is normally killed as a runaway. My poudriere buil= ds don't kill runaways and I hadn't noticed the 2 hour build times. The issue is related to an optimisation, so should be a more general issue = than one ports code base. Using -O0 bypasses this issue but -O1 or higher hits i= t. It is also amd64 specific, adding -m32 bypasses the issue. This build issue has been noticed by other godot developers (on osx and debian), and a commit has made to llvm-master that resolves it which has not been merged into the 6.0 release. Using clang++-devel from llvm-devel-7.0.d20180225 does not hit this issue. The same patch should be applied to current as well as the llvm60 port. The llvm commit that reportedly fixes this is https://github.com/llvm-project/llvm-project-20170507/commit/595304ad70df4d= b24a803b5ea3edc2acd8f850d6 The godot project issue related to this is https://github.com/godotengine/godot/issues/18023 You don't need to build the entire godot port to test this, you can start building the port, then stop it after the first files compile and just comp= ile the one file, if it takes more than 10 seconds you have hit the issue. cd /usr/ports/devel/godot make Ctrl-C cd work/godot-3.0.2-stable clang++60 -o test.o -O3 -I. -Icore -Icore/math -Iplatform/x11 servers/physics/collision_solver_sat.cpp --=20 You are receiving this mail because: You are the assignee for the bug.=