Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 May 2022 17:20:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263801] lang/python8: Fails to configure LTO with ports llvm10
Message-ID:  <bug-263801-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263801
           Summary: lang/python8: Fails to configure LTO with ports llvm10
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gessel@blackrosetech.com

Created attachment 233750
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233750&action=
=3Dedit
make.conf

See Also: bug 261974

with LTO enabled, build of Python8 fails with:

checking for --with-lto... yes
checking for llvm-ar... no
configure: error: llvm-ar is required for a --with-lto build with clang but
could not be found.


But llvm-ar is installed at the following location.
# /usr/local/llvm10/bin/llvm-ar
/usr/local/llvm10/bin/llvm-ar: error: an archive name must be specified
OVERVIEW: LLVM Archiver

config.log is empty.


disabling --with-lto permits build, it is just this check

  FreeBSD 11.3-RELEASE-p8 #0 r360490

--=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-263801-7788>