tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: defaulting to clang on FreeBSD 10.x



On Sun, Mar 22, 2015 at 07:12:04PM +0100, Joerg Sonnenberger wrote:
 > > But why would you remove the settings that bootstrap has determined to
 > > be required? This is how it has always worked and is not limited
 > > to FreeBSD nor PKGSRC_COMPILER. For example all the TOOLS_PLATFORM
 > > variables that bootstrap may conditionally set in mk.conf if it detects
 > > that it has to install compatibility packages.
 > 
 > To add to this: It has been a long standing issues that most of the
 > TOOLS_PLATFORM.* stuff should not be hard-coded at all, but set by
 > bootstrap. One of the big reasons it is not done is because certain
 > people always insist that NetBSD must be handled specially without
 > bootstrap. The other big reason is noone has sit down to do it.
 > Stop adding any more complexity to the platform specific files. It is a
 > step into the wrong direction.

I would argue the other way: in an ideal world bootstrap would only
compile things needed to get off the ground, not probe settings. It
shouldn't be necessary to rebootstrap once you have working binaries,
and if there's configuration stuff that needs to be statically probed
it should be done as a package so it can be specifically regenerated
when needed/desired.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index