Date: Fri, 13 Apr 2001 17:48:44 GMT From: Larry Rosenman <ler@lerctr.org> To: Robin "P. Blanchard" <Robin_Blanchard@gactr.uga.edu> Cc: Matthew Emmerton <matt@gsicomp.on.ca>, freebsd-stable@FreeBSD.ORG Subject: Re: install world on 486] Message-ID: <20010413.17484400@ler-freebie.iadfw.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Robin_Blanchard@gactr.uga.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010413.17484400>