any 9.1-RELEASE-p1 to 10.0-CURRENT howtos?
freebsd-questions-local at be-well.ilk.org
Wed Mar 27 20:55:23 UTC 2013
Antonio Olivares <olivares14031 at gmail.com> writes:
> On one of my machines I cannot get it to update ports, most fail with
> gettext. I tried some options like disabling Native Language Support
> in binutils, but it still fails. I deleted all the ports and am
> looking at starting from scratch again, but this time move to CLANG
> and build world and install world and not USE gcc and GNU anymore (on
> the machine which gettext fails). Is there a nice howto as to how to
> do this?
> How can it be done in easy steps and then try to track current?
Current isn't necessary, although it often has slightly newer versions
of the related tools. Clang will work fine on recent 9.x (I don't know
when it was imported, so it may need something more recent than
9.1). Furthermore, it will support building the world and ports, as
> I am aware that I would be on my own if I track current, but I want to
> test many programs to see if they would build without GCC and with
> CLANG only and report back to the developers and let them know of
You are not entirely on your own with current, but you are expected to
more of the heavy lifting when a problem comes up that doesn't happen
for other people.
You actually have a number of choices that should work for you. You can
run current, which probably won't be very difficult (but nobody's going
to guarantee that). You can run RELENG_9 using clang as the default
compiler. Or you could use a jail to build with clang when the host
system builds with gcc. And I've most likely overlooked other
If you are really starting from scratch on a particular machine, then a
clean install is worth considering; it guarantees that you're not
bringing along the effects of mistakes made previously on the system. If
the system is also needed stable for other purposes, then doing your
experiments in a jail may be your easiest path (a jail may even be
overkill; a chroot will handle it for some purposes).
More information about the freebsd-questions