[Bug 202596] Fix pessimizing moves in devel/llvm36, for the benefit of other ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 23 16:40:34 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202596

            Bug ID: 202596
           Summary: Fix pessimizing moves in devel/llvm36, for the benefit
                    of other ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: brooks at FreeBSD.org
                CC: brooks at FreeBSD.org

Created attachment 160255
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160255&action=edit
Fix pessimizing moves in devel/llvm36

During the exp-run in bug 201377, it was found that lang/rust and
lang/rust-devel give errors with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/rust-1.1.0.log
http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-07-31_13h29m42s/logs/errors/rust-nightly-1.3.0.20150703.log

This is because the ports include headers from the devel/llvm36 port, and some
of these headers contain std::move() calls to temporary objects, which is a
pessimization.

Upstream llvm has removed the std::move() calls here:
http://llvm.org/viewvc/llvm-project?view=revision&revision=236316

but since the external headers matter for other ports, I've patched only those.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list