From owner-cvs-all Thu May 16 22:59:59 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id C877D37B405; Thu, 16 May 2002 22:59:46 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4H5xh975670; Fri, 17 May 2002 08:59:43 +0300 (EEST) (envelope-from ru) Date: Fri, 17 May 2002 08:59:43 +0300 From: Ruslan Ermilov To: "David O'Brien" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/cc/cc_tools Makefile auto-host.h Message-ID: <20020517055943.GB69157@sunbay.com> References: <200205161518.g4GFIE088442@freefall.freebsd.org> <20020516134233.A71503@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <20020516134233.A71503@dragon.nuxi.com> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 16, 2002 at 01:42:33PM -0700, David O'Brien wrote: > On Thu, May 16, 2002 at 08:18:14AM -0700, Ruslan Ermilov wrote: > > Modified files: > > gnu/usr.bin/cc/cc_tools Makefile auto-host.h=20 > > Log: > > Make it possible to build a cross compiler for alpha, > > ia64 and sparc64 on systems that do not have atoll(3). > > The "cross" here doesn't necessarily mean cross-arch. > > =20 > > Revision Changes Path > > 1.63 +4 -0 src/gnu/usr.bin/cc/cc_tools/Makefile > > http://cvsweb.freebsd.org/src/gnu/usr.bin/cc/cc_tools/Makefile.diff?r1= =3D1.62&r2=3D1.63 > > 1.6 +3 -0 src/gnu/usr.bin/cc/cc_tools/auto-host.h > > http://cvsweb.freebsd.org/src/gnu/usr.bin/cc/cc_tools/auto-host.h.diff?= r1=3D1.5&r2=3D1.6 >=20 > Please back this out. We were still discussing this, and I explicitly > said "I'll look into it" when you wanted me to do so. There is a better > way of doing this. >=20 I'm sorry for not waiting longer, but you said you're currently busy with the other stuff, and using this patch I've been able to successfully cross build "alpha", "sparc64" (except for the sys/boot/sparc64/boot1 bit), and now "ia64" (in the works) on my 4.5 SMP box. If there's a better way of doing this, I'd be more than happy if you commit it, and please hereby consider my patch as a "work-around" while you are working on a more proper and better patch. If my patch broke something, please let me know and show me what got broken, or at least try to explain. If that's the case, I would be more than happy to back my changes out or, better yet, work together with you on developing a better patch. FWIW, I used the "standard" bootstrapping technique we applied to many of our in-tree bootstrap-tools, like the recent fix for xargs(1). Please note that this patch is different from the previous (draft) version in that it only applicable to the BOOTSTRAPPING case, i.e. where we build compiler in the cross-tools stage. While later in the "everything" stage of the buildworld we build the compiler again (in the native environment), this special handling of atoll(3) is not done, as we know ${WORLDTMP}/usr/lib/libc.* already have atoll(3). This (I thought) should fix all of your concerns regarding the special casing of atoll(3) here. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE85JxPUkv4P6juNwoRAmRyAJ9M4M4AZvR0wlCJdAY7v4sQq4si9QCfcFqU S3GhVe/Aci6KNe8Ohpj2jbk= =/s/3 -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message