From owner-freebsd-stable Fri Apr 13 10:48:53 2001 Delivered-To: freebsd-stable@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id C321837B505 for ; Fri, 13 Apr 2001 10:48:46 -0700 (PDT) (envelope-from ler@lerctr.org) Received: from ler-freebie.iadfw.net (ler-freebie.iadfw.net [206.66.13.221]) by lerami.lerctr.org (8.12.0.Beta7/8.12.0.Beta7/20010318/$Revision: 1.21 $) with SMTP id f3DHmiHh011663; Fri, 13 Apr 2001 12:48:45 -0500 (CDT) (envelope-from ler@lerctr.org) From: Larry Rosenman Date: Fri, 13 Apr 2001 17:48:44 GMT Message-ID: <20010413.17484400@ler-freebie.iadfw.net> Subject: Re: install world on 486] To: Robin "P. Blanchard" Cc: Matthew Emmerton , freebsd-stable@FreeBSD.ORG In-Reply-To: <3AD73898.3AC838@gactr.uga.edu> References: <3AD5A1F9.7133FC74@gactr.uga.edu> <017001c0c425$b60c3020$1200a8c0@gsicomp.on.ca> <3AD71263.6E420055@gactr.uga.edu> <20010413181239.A33404@icon.icon.bg> <003f01c0c43a$1cf242c0$1200a8c0@gsicomp.on.ca> <3AD73898.3AC838@gactr.uga.edu> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2; Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You *MUST* for 4.3 use a HOST SYSTEM compiled for the LOWEST processor=20 you want to installworld to.=20 There is a few places (strip for one) that link in /usr/lib/libc.a and=20 NOT the one from /usr/obj/...=20 This is on the list of things to be fixed POST-4.3, but will be true in = 4.3-RELEASE.=20 This was discussed right after Kris Kennaway added the CPUTYPE support=20 for RELENG_4, and I ran into it. See the archives with a title of=20 CPUTYPE=3Di486 .=20 Larry Rosenman --=20 Larry Rosenman http://www.lerctr.org/~ler/ Phone: +1 972 414 9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 US >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 4/13/01, 12:34:16 PM, Robin "P." Blanchard=20 wrote regarding Re: install world on 486= ]: > ok. here's what i've done: > cvs'd (src-all tag=3DRELENG_4) a few hours ago on my 686 box. > did a "make MAKEOBJDIRPREFIX=3D/usr/obj-486 clean buildworld" > on that box with this make.conf: > FETCH_BEFORE_ARGS=3D-p > USA_RESIDENT=3Dyes > MAKE_IDEA=3DYES > CPUTYPE=3Di486 > CFLAGS=3D-O -pipe > COPTFLAGS=3D-O -pipe > CXXFLAGS+=3D -fmemoize-lookups -fsave-memoized > on my 486 i did: > mount 686:/usr/src /usr/src > mount 686:/usr/obj-486 /usr/obj > i then did a "make installworld" on the 486 with this (identical)=20 make.conf: > FETCH_BEFORE_ARGS=3D-p > USA_RESIDENT=3Dyes > MAKE_IDEA=3DYES > CPUTYPE=3Di486 > CFLAGS=3D-O -pipe > COPTFLAGS=3D-O -pipe > CXXFLAGS+=3D -fmemoize-lookups -fsave-memoized > and i get the same error at the same point: > pid 28217 (strip), uid 0: exited on signal 4 (core dumped) > *** Error code 70 > Stop in /usr/src/lib/libcom_err > > >> so CPUTYPE or not CPUTYPE, i get the same error. > > > > >Without CPUTYPE it's i386 isn't it? I have /usr/obj on a CD, it was= =20 built > > >on a i686 machine (actualy a buggy Cyrix) without the CPUTYPE optio= n in > > >make.conf. Later I have installed this on a i586 and on old Compaq = with > > i486 > > >processor -- didn't have any problems... > > > > My mistake, yes, with no CPUTYPE it's i386. However, if hardware wa= s the > > problem, I doubt you'd get signal 4 - you'd be getting signal 10 or = 11=20 (bus > > error or segmentation fault), commonly triggered by bad memory. > > > > Between builds are you removing /usr/obj? If not, some stuff won't = get > > rebuilt and thus you will end up with some binaries that are compile= d for > > i386 (no CPUTYPE) and some for i686 (if you did a build with CPUTYPE= =3Di686=20 at > > some point.) > > > > -- > > Matt Emmerton > -- > ------------------------------------ > Robin P. Blanchard > IT Program Specialist > Georgia Center for Continuing Ed. > fon: 706.542.2404 fax: 706.542.6546 > email: Robin_Blanchard@gactr.uga.edu > ------------------------------------ > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message