Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 08:59:43 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>, 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>
In-Reply-To: <20020516134233.A71503@dragon.nuxi.com>
References:  <200205161518.g4GFIE088442@freefall.freebsd.org> <20020516134233.A71503@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020517055943.GB69157>