Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 16:40:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202596] Fix pessimizing moves in devel/llvm36, for the benefit of other ports
Message-ID:  <bug-202596-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: brooks@FreeBSD.org
                CC: brooks@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202596-13>