Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Sep 2018 17:56:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231101] -flto option breaks the build: Cannot open "/usr/bin/../lib/LLVMgold.so"
Message-ID:  <bug-231101-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231101

            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@FreeBSD.org
          Reporter: yuri@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 t=
he
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 invocat=
ion)

--=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-231101-227>