Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 17:07:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 215684] ports-mgmt/poudriere-devel: fails to build native-xtools because of libllvmminimal
Message-ID:  <bug-215684-29464-ZlKeShnF8b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215684-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215684-29464@https.bugs.freebsd.org/bugzilla/>

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

Dimitry Andric <dim@FreeBSD.org> changed:

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

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

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

E.g. either TOOLS_PREFIX must be defined (as it normally is during all stag=
es
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".

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215684-29464-ZlKeShnF8b>