[Bug 263801] lang/python8: Fails to configure LTO with ports llvm10

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 May 2022 17:20:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263801

            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=233750&action=edit
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

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