[Bug 215684] ports-mgmt/poudriere-devel: fails to build native-xtools because of libllvmminimal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 31 17:07:59 UTC 2016


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

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim at FreeBSD.org

--- Comment #1 from Dimitry Andric <dim at FreeBSD.org> ---
There's a special case in usr.bin/clang/llvm.prog.mk for the pre-world stages:

# Special case for the bootstrap-tools phase.
.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
    (${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "llvm-tblgen")
LIBDEPS+=       llvmminimal
.else
LIBDEPS+=       llvm
.endif

E.g. either TOOLS_PREFIX must be defined (as it normally is during all stages
before world), or as Bryan added in r305223, for the host build.

I take it something is going wrong in this second case, e.g. TOOLS_PREFIX is
likely not defined, while ${MACHINE} is not "host".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-toolchain mailing list