https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228261
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: b...@freebsd.org Reporter: free...@shaneware.biz CC: bro...@freebsd.org I am the port maintainer for devel/godot The automated port builds for current have been emailing me for a while about a build failure of the godot port. Turns out that one particular file takes over 1.5 hours to compile and is normally killed as a runaway. My poudriere builds 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 it. 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/595304ad70df4db24a803b5ea3edc2acd8f850d6 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 compile 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 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"