Date: Tue, 15 May 2018 03:09:46 +0000 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 Message-ID: <bug-228261-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228261-227>