Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 16:18:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 240507] WITHOUT_CLANG=yes WITH_CLANG_BOOTSTRAP=yes does not work
Message-ID:  <bug-240507-29464-pb0O4LiAk9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240507-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240507-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=3D240507

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Kyle Evans from comment #0)
> Can we consider enabling all LLVM_TARGET_* knobs for the bootstrap/cross-=
compiler clang, and leaving those user-controlled knobs to be purely for th=
e clang that's getting installed

The problem with that is that a lot of unused targets will be built, which =
is
why the MK_LLVM_TARGET_ knobs were created in the first place.  Ideally, on=
ly
the minimum set of targets is built.

That said, I agree that WITHOUT_CLANG should not immediately cause all
MK_LLVM_TARGET_ knobs to be turned off.  However, the logic in share/mk/*.m=
k to
achieve all this is very convoluted and fragile, so I would rather defer to=
 an
expert in that area. :)

--=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-240507-29464-pb0O4LiAk9>