Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2019 12:01:52 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Gcc 4.2.1 to be removed before FreeBSD 13, a firm timeline
Message-ID:  <CANCZdfpYpwoR6QbVS5hUwzJGUS7An3cv-=a8t=TLTPJM6zpotQ@mail.gmail.com>
In-Reply-To: <CAPyFy2C=3NLz8Gwinf06oxsgDvVEHVChd24QVXg-iAf8DeaBBQ@mail.gmail.com>
References:  <CANCZdfrZ-C37c7Eso7NrtMG5_kv3T9qO3c3k8xcgEeTCrY3nQg@mail.gmail.com> <CAPyFy2C=3NLz8Gwinf06oxsgDvVEHVChd24QVXg-iAf8DeaBBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 8, 2019 at 11:40 AM Ed Maste <emaste@freebsd.org> wrote:

> On Tue, 13 Aug 2019 at 12:00, Warner Losh <imp@bsdimp.com> wrote:
> >
> > Greetings,
> >
> > As promised for almost the past decade or so, gcc 4.2.1 will be removed
> > from the tree before FreeBSD 13 is branched.
> >
> > I propose the following timeline for its removal:
> >
> > 2019-08-31: disconnect gcc 4.2.1 from CI build
> >
> > Turn off -Werror on gcc 4.2.1 platforms
> >
> > Turn off all gcc 4.2.1 from universe by default (can be turned on)
>
> I paid most attention to the later dates in the original email (end of
> year and end of next March) and was caught a bit off guard by this
> when it was recently mentioned on IRC. Thus I wanted to refresh this
> topic on the list, and remind everyone that this is imminent - soon a
> default `make universe` without external toolchain will not include
> GCC 4.2.1 archs (mips, powerpc, sparc64).
>
> Warner's patch is in progress in review D21942.
>

I've updated the patch to have a check for external toolchain for mips,
powerpc and sparc64, and skip the build if they aren't installed. The old
behavior is enabled by setting MAKE_OBSOLETE_GCC so if you want, you can
build the universe with the old soon-to-be-deleted in-tree 4.2 gcc, as
outlined in this thread.

I'd held off a little thinking that llvm 9.0 will have landed by now, but
it hasn't due to exp-run issues. Rather than stall until it's in the tree,
I'm planning on committing the review by the end of the week, assuming
testing is all green. When it lands in the tree, we can rejigger with the
new mips and/or powerpc support.

https://reviews.freebsd.org/D21942 is a handy link to the review.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpYpwoR6QbVS5hUwzJGUS7An3cv-=a8t=TLTPJM6zpotQ>