From owner-svn-src-head@FreeBSD.ORG Thu Jan 10 23:41:09 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 54F122EF; Thu, 10 Jan 2013 23:41:09 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 923B8BC; Thu, 10 Jan 2013 23:41:08 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r0ANf8n3080494; Thu, 10 Jan 2013 17:41:08 -0600 (CST) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r0ANf832080493; Thu, 10 Jan 2013 17:41:08 -0600 (CST) (envelope-from brooks) Date: Thu, 10 Jan 2013 17:41:08 -0600 From: Brooks Davis To: Dimitry Andric Subject: Re: svn commit: r244401 - in head: contrib/libc-vis include lib/libc/gen Message-ID: <20130110234108.GB79810@lor.one-eyed-alien.net> References: <201212181637.qBIGbP7e084145@svn.freebsd.org> <50D65630.8010901@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <50D65630.8010901@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, Brooks Davis , src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 23:41:09 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 23, 2012 at 01:54:08AM +0100, Dimitry Andric wrote: > On 2012-12-18 17:37, Brooks Davis wrote: > > Author: brooks > > Date: Tue Dec 18 16:37:24 2012 > > New Revision: 244401 > > URL: http://svnweb.freebsd.org/changeset/base/244401 > > > > Log: > > Replace our implementation of the vis(3) and unvis(3) APIs with > > NetBSD's. This output size limited versions of vis and unvis functi= ons > > as well as a set of vis variants that allow arbitrary characters to = be > > specified for encoding. >=20 > This seems to break bootstrapping in some scenarios, in "stage 4.2: > building libraries"; for example, with a test run with gcc on > ref10-amd64.f.o I got this: >=20 > gcc -O2 -pipe -I/scratch2/tmp/dim/head/lib/libc/include -I/scratch2/tmp= /dim/head/lib/libc/../../include -I/scratch2/tmp/dim/head/lib/libc/amd64 -D= NLS -D__DBINTERFACE_PRIVATE -I/scratch2/tmp/dim/head/lib/libc/../../contri= b/gdtoa -DINET6 -I/scratch2/tmp/dim/obj/scratch2/tmp/dim/head/lib/libc -I/s= cratch2/tmp/dim/head/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/scra= tch2/tmp/dim/head/lib/libc/../../contrib/jemalloc/include -I/scratch2/tmp/d= im/head/lib/libc/../../contrib/tzcode/stdtime -I/scratch2/tmp/dim/head/lib/= libc/stdtime -I/scratch2/tmp/dim/head/lib/libc/locale -DBROKEN_DES -DPORTMA= P -DDES_BUILTIN -I/scratch2/tmp/dim/head/lib/libc/rpc -DYP -DNS_CACHING -D_= FREEFALL_CONFIG -DSYMBOL_VERSIONING -std=3Dgnu99 -fstack-protector -Wsystem= -headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign= -c /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/vis.c -o vis.o > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c: In functi= on 'unvis': > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error= : 'VIS_NOESCAPE' undeclared (first use in this function) > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error= : (Each undeclared identifier is reported only once > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:237: error= : for each function it appears in.) > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:241: error= : 'VIS_HTTP1808' undeclared (first use in this function) > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:245: error= : 'VIS_HTTP1866' undeclared (first use in this function) > /scratch2/tmp/dim/head/lib/libc/../../contrib/libc-vis/unvis.c:249: error= : 'VIS_MIMESTYLE' undeclared (first use in this function) >=20 > There should most likely be an explicit -I option to point the compiler > at the correct vis.h header during the early stages, otherwise it will > pick up /usr/include/vis.h, which does not have several of these new > VIS_XXX defines. Sorry for not following up on this sooner. I've not seen this at all and most of my builds are done on an 9.0-STABLE box so vis.h isn't updated. Adding CFLAGS+=3D -I${CURDIR}/../../contrib/libc-vis to lib/libc/gen/Makefile.inc seems like it should fix this, but I'm surprised not to have bumped into this or broken tinderbox. Is there anything odd about your buildworld command? -- Brooks --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQ71GTXY6L6fI4GtQRAnqBAJ0b0wLIEOTQhc2t5kIlsKPMIUeiMwCfVEQ/ J1QAJOfy29Hi7mJVT4UdGV4= =Gsm3 -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--