Date: Mon, 4 Jun 2018 17:12:43 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: bsd-lists@BSDforge.com Cc: freebsd-hackers@FreeBSD.org Subject: Re: defining CPUTYPE when building a custom release Message-ID: <tkrat.98225e1cda8ad82a@FreeBSD.org> In-Reply-To: <8c9b9690f1080c72ac644bbfbb6c61de@udns.ultimatedns.net> References: <tkrat.90d54f15491c4f37@FreeBSD.org> <8c9b9690f1080c72ac644bbfbb6c61de@udns.ultimatedns.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 Jun, Chris H wrote: > On Mon, 4 Jun 2018 15:36:02 -0700 (PDT) "Don Lewis" <truckman@FreeBSD.org> said > >> I'm trying to build a custom 11-STABLE release for a machine that is too >> wimpy to self-host using the /usr/src/release/release.sh script. The >> build host is an amd64 machine and the target machine is is in the i386 >> family. I've set: >> TARGET=i386 >> TARGET_ARCH=i386 >> in the release.conf file. >> >> If I don't try to specify a CPUTYPE, I have no problems. But if I add >> CPUTYPE?=pentium3 >> to the make.conf file, the release build fails like this: >> >> -------------------------------------------------------------- >> >>> stage 4.2: building libraries >> -------------------------------------------------------------- >> ===> gnu/lib/libssp/libssp_nonshared (obj,all,install) >> ===> lib/libcompiler_rt (obj,all,install) >> ===> gnu/lib/libgcc (obj,all,install) >> error: unknown target CPU 'pentium3' >> --- ssp-local.o --- >> *** [ssp-local.o] Error code 1 > Apologies in advance for even *suggesting*; But the KERNCONF > you're working with, originates from, and is within i386/ , > not amd64/ . Right? Yes. If I don't specify CPUTYPE, I can build a release that installs and runs on the target host.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.98225e1cda8ad82a>