Date: Wed, 23 Jan 2019 21:57:46 -0700 From: Warner Losh <imp@bsdimp.com> To: Peter Jeremy <peter@rulingia.com> Cc: "freebsd-hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: Cross-building CPU variants Message-ID: <CANCZdfpt-Q8La2bKUtMPFJ_uvTq0pdxFsUoMtn5n5Wo%2BUWysOw@mail.gmail.com> In-Reply-To: <20190123053839.GC75994@server.rulingia.com> References: <20190123053839.GC75994@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 22, 2019 at 10:41 PM Peter Jeremy <peter@rulingia.com> wrote: > A have an AMD GX-412TC (Jaguar) and would like to cross-build an optimised > version (ie CPUTYPE?=btver2) of FreeBSD (and ports) on my Intel IvyBridge > system. Unfortunately, this fails because CPUTYPE?=btver2 causes Clang to > generate instructions that aren't supported on IvyBridge. > > Does anyone have any suggestions on how to make this work? > I think TARGET_CPUTYPE=byver2 is the magic you are looking for. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpt-Q8La2bKUtMPFJ_uvTq0pdxFsUoMtn5n5Wo%2BUWysOw>