Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2019 10:03:53 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: New CPUTYPE default for i386 port
Message-ID:  <201910051703.x95H3rsN063998@gndrsh.dnsmgr.net>
In-Reply-To: <CANCZdfoFPsjyuCTfm0dQhz%2BsgVHLEvMA8-E3-Yhciz67qdoKvw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> For a variety of reasons,  the time has come to change the default code
> generation arch from i486 to i686 on our i386 port. No actual code removal
> is planned as part of this effort. Only the default is doing changed for
> clang.
> 
> The practical upshot of this for our i386 users will be zero for almost
> everybody. For the tiny sliver of people planning to deploy FreeBSD on a
> i486 or i586 core, a simple addition of CPUTYPE=xxxx to /etc/make.conf is
> all that is needed for the src side of things. They will need to setup
> their own poudriere instance and create their own pkg repo to build
> whatever packages are required for their deployment.
> 
> It's my belief that even in the trailing edge long tail embedded deployment
> segment of our user base this will cause no issues. All deployments there
> I'm aware of have moved of i486 class CPUs and the one 586 class core
> deployment I know of has no plans to update that to FreeBSD 11, let alone
> newer.
> 
> There are a number of advantages to doing this which have been articulated
> at length in other discussions. Briefly we get better code generation for
> CPUs people use and we avoid some test failures in llvm 9.0 because i486
> doesn't have 64-bot atomics.
> 
> Comments?

Please provide some type of eol statement in the next release cycle release
notes that base and packages are no longer usable on the class of i386 lower
than i686, with the above rationale and work around.

>From the above it does sound as if you plan to MFC this back as far as 11?

What is the error condition one sees if you try to boot release media
built i686 on a i386/i486 system?  It needs to be something sinceable
and preferable some direction to work around, not just some random illegal
instruction panic, PLEASE!

Other than those 2 issues and 1 question I have no objection to doing this.
Regards,
-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910051703.x95H3rsN063998>