From owner-freebsd-current@FreeBSD.ORG Sun Mar 14 23:16:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E89016A4CE; Sun, 14 Mar 2004 23:16:27 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5386B43D2D; Sun, 14 Mar 2004 23:16:26 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2F7Kaee009730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Mar 2004 09:20:37 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2F7GO09043486; Mon, 15 Mar 2004 09:16:24 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 2004 09:16:24 +0200 From: Ruslan Ermilov To: "David O'Brien" , current@FreeBSD.org Message-ID: <20040315071624.GB43263@ip.net.ua> References: <20040305155113.GB31834@ip.net.ua> <20040315003203.GA6007@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline In-Reply-To: <20040315003203.GA6007@dragon.nuxi.com> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: cross make buildworld failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 07:16:27 -0000 --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 14, 2004 at 04:32:03PM -0800, David O'Brien wrote: > On Fri, Mar 05, 2004 at 05:51:13PM +0200, Ruslan Ermilov wrote: > > > =3D=3D=3D> gnu/usr.bin/binutils/gasp > ... > > > /usr/include/regex.h:56: syntax error before `regoff_t' > > > gasp+%FIXED.c: In function `chew_flonum': > > > gasp+%FIXED.c:553: structure has no member named `rm_eo' > > > gasp+%FIXED.c:553: structure has no member named `rm_so' > > > gasp+%FIXED.c:554: structure has no member named `rm_eo' > > > gasp+%FIXED.c:554: structure has no member named `rm_so' > > > gasp+%FIXED.c:558: structure has no member named `rm_eo' > > >=20 > > Thanks for the report, we're working on resolving this. The > > workaround (if you need this quickly) is to remove > > src/contrib/binutils/include/getopt.h, and revert the following >=20 > What does getopt.h have to do with a regex API issue?? >=20 By not quoting all of my reply, you've lost some useful context: On Fri, Mar 05, 2004 at 05:51:13PM +0200, Ruslan Ermilov wrote: [...] > Thanks for the report, we're working on resolving this. The > workaround (if you need this quickly) is to remove > src/contrib/binutils/include/getopt.h, and revert the following > revisions: >=20 > src/gnu/usr.bin/binutils/Makefile.inc0,v 1.34 > src/gnu/usr.bin/binutils/gasp/Makefile,v 1.16 The above two revisions were aimed at picking up the "correct" version of getopt.h, and they have polluted the makefiles with -I${DESTDIR}/usr/include/gnu. As gasp(1) is also a cross tool, the side effect of this change was that it started using the /usr/include/regex.h header instead of the proper bootstrappable one from ${WORLDTMP}/legacy/usr/include. The former requires including of in RELENG_4, as documented in the regex(3) manpage, the latter handles this bootstrapping issue (see src/tools/build/regex.h). The solution was to back out those revisions, and remove the version of getopt.h from contrib/bintutils. (Soon after I've realized that it doesn't harm at all to use getopt.h and friends from contrib/binutils.) Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVVhIUkv4P6juNwoRAkFyAJ40cD2I6GF+gZkVGyYG2PDP3kqguACeJsqm gavqxm9S2h4G0jp7Zi2zy2E= =haht -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt--