[Bug 231101] -flto option breaks the build: Cannot open "/usr/bin/../lib/LLVMgold.so"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 2 17:56:03 UTC 2018


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

            Bug ID: 231101
           Summary: -flto option breaks the build: Cannot open
                    "/usr/bin/../lib/LLVMgold.so"
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: yuri at freebsd.org

Testcase: port graphics/py-open3d-python with removed patch
files/Python_CMakeLists.txt

cmake introduces the -flto option only on 12 for some reason. This causes the
build to fail:
/usr/local/bin/ld: /usr/bin/../lib/LLVMgold.so: error loading plugin: Cannot
open "/usr/bin/../lib/LLVMgold.so"
  c++: error: linker command failed with exit code 1 (use -v to see invocation)

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


More information about the freebsd-bugs mailing list