From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 01:46:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A255616A4CE; Sat, 24 Jan 2004 01:46:25 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id C79BF43D1F; Sat, 24 Jan 2004 01:44:50 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0O9jWem052346; Sat, 24 Jan 2004 11:45:32 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0O9jUEW052341; Sat, 24 Jan 2004 11:45:31 +0200 (EET) (envelope-from ru) Date: Sat, 24 Jan 2004 11:45:30 +0200 From: Ruslan Ermilov To: erek Message-ID: <20040124094530.GH51326@FreeBSD.org.ua> References: <49178.216.9.170.168.1074910404.spork@webmail.necrotec.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QDIl5R72YNOeCxaP" Content-Disposition: inline In-Reply-To: <49178.216.9.170.168.1074910404.spork@webmail.necrotec.com> User-Agent: Mutt/1.5.5.1i cc: hackers@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2-RELEASE buildworld failure. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 09:46:25 -0000 --QDIl5R72YNOeCxaP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 23, 2004 at 06:13:24PM -0800, erek wrote: > I cvsuped today using tag RELENG_5_2 (i'm already using 5.2-RELEASE), [...] > During the buildworld I get this VERY odd error: [...] > /usr/src/gnu/usr.bin/cc/cc_tools/freebsd-native.h:62:25: attempt to use p= oisoned "malloc" [...] > mkdep: compile failed > *** Error code 1 [...] > any suggestions? >=20 Go to /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus, and compare parse.c and parse+%DIKED.c there. They should be different, "xmalloc" vs "malloc", "xrealloc" vs "realloc. If they are identical, chances are your /usr/bin/sed is probably broken, and you should read this entry =66rom src/UPDATING: : 20030613: [retrospective] : There was a small window in which sed(1) was broken. If you : happen to have sed(1) installed during that window, which is : evidenced by an inability to build world with the failure : given below, you need to manually build and install sed(1) : (and only sed(1)) before doing anything else. This is a one- : time snafu. Typical failure mode: :=20 : In file included from /usr/src/contrib/binutils/bfd/targets.c:109= 2: : targmatch.h:7:1: null character(s) ignored : targmatch.h:12:1: null character(s) ignored : targmatch.h:16:1: null character(s) ignored : : :=20 : The window of "sed(1)-uction" is from Wed Jun 4 15:31:55 2003 UTC : to Thu Jun 5 12:10:19 2003 UTC (from rev 1.30 to rev 1.31 of : usr.bin/sed/process.c). To see if you're affected, run this: ident /usr/bin/sed And see which process.c revision your sed(1) has. It if's 1.30, you're affected. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --QDIl5R72YNOeCxaP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAEj66Ukv4P6juNwoRAoFrAJ4pIVaAFxR8soihm01vXlBoi4jLBgCeNDJu 08JCoIroJxfceH1ab6uemGs= =p94o -----END PGP SIGNATURE----- --QDIl5R72YNOeCxaP--