Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 11:41:45 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   [PATCH] cross-arch bootstrapping is broken by GCC 3.1
Message-ID:  <20020514084145.GB54565@sunbay.com>

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

--l76fUT7nc3MelDdI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

4.x i386 and old 5.0 i386 can no longer produce current 5.0 alpha
worlds due to the lack of atoll(3) in libc.  This patch fixes it:

%%%
Index: auto-host.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc_tools/auto-host.h,v
retrieving revision 1.5
diff -u -r1.5 auto-host.h
--- auto-host.h	12 May 2002 12:01:12 -0000	1.5
+++ auto-host.h	14 May 2002 08:04:59 -0000
@@ -97,7 +97,8 @@
 /* #undef HAVE___ARGZ_STRINGIFY */
=20
 /* Define if you have the atoll function.  */
-#define HAVE_ATOLL 1
+/* FreeBSD 4.x doesn't have atoll(3). */
+/* #undef HAVE_ATOLL */
=20
 /* Define if you have the atoq function.  */
 /* #undef HAVE_ATOQ */
%%%


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

--l76fUT7nc3MelDdI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE84M3JUkv4P6juNwoRAlZoAJ4vM7Au9JEDjoe6PkRzLD//2NHkSgCcDV76
0Pypp8qGW8lcZ/at/+dT/1Y=
=LrNT
-----END PGP SIGNATURE-----

--l76fUT7nc3MelDdI--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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