From owner-freebsd-current@FreeBSD.ORG Sat Jul 28 11:55:20 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B6216A418 for ; Sat, 28 Jul 2007 11:55:20 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9648813C45A for ; Sat, 28 Jul 2007 11:55:20 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IEkt9-000McA-SD; Sat, 28 Jul 2007 15:55:15 +0400 From: Vladimir Grebenschikov To: Doug Ambrisko In-Reply-To: <1185618875.1461.8.camel@localhost> References: <200707131907.l6DJ7Fu1090309@ambrisko.com> <1185618875.1461.8.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Sat, 28 Jul 2007 15:55:15 +0400 Message-Id: <1185623715.1461.19.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Matthew Jacob , freebsd-current@freebsd.org, Max Laier Subject: Re: Can't build RELENG_6 from HEAD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2007 11:55:20 -0000 =F7 =D3=C2, 28/07/2007 =D7 14:34 +0400, Vladimir Grebenschikov =D0=C9=DB=C5= =D4: > =F7 =D0=D4, 13/07/2007 =D7 12:07 -0700, Doug Ambrisko =D0=C9=DB=C5=D4: > > Matthew Jacob writes: > > | gcc 4.X will barf all over RELENG_6 code. Better start thinking about > > | a jailed build. > >=20 > > And if you do script something like: >=20 > "Chicken and egg" problem >=20 > To make chroot area you need to build appropriate source tree > (RELENG_6). > But it is not build-able due to gcc 4.x. > (of course I known that everybody can unpack 6.x from binary > distribution, but it is another story) >=20 > probably something like CC=3Dgcc34 will help ? Hmm, does not works also: $ make toolchain CC=3D/usr/X11R6/bin/gcc34 ... =3D=3D=3D> lib/libcrypt (obj,depend,all,install) /usr/X11R6/bin/gcc34 -O2 -fno-strict-aliasing -pipe -I/usr/src/releng6/src= /lib/libcrypt/../libmd -I/usr/src/releng6/src/lib/libcrypt/../libutil -I/us= r/src/releng6/src/lib/libcrypt -DHAS_DES -DHAS_BLOWFISH -Dauth_getval=3D__a= uth_getval -Dproperty_find=3D__property_find -Dproperties_read=3D__properti= es_read -Dproperties_free=3D__properties_free -DMD4Init=3D__MD4Init -DMD4Fi= nal=3D__MD4Final -DMD4Update=3D__MD4Update -DMD4Pad=3D__MD4Pad -DMD5Init=3D= __MD5Init -DMD5Final=3D__MD5Final -DMD5Update=3D__MD5Update -DMD5Pad=3D__MD= 5Pad -c /usr/src/releng6/src/lib/libcrypt/../libmd/md5c.c /usr/src/releng6/src/lib/libcrypt/../libmd/md5c.c: In function `__MD5Update= ': /usr/src/releng6/src/lib/libcrypt/../libmd/md5c.c:154: error: argument "inp= ut" doesn't match prototype /usr/include/sys/md5.h:46: error: prototype declaration *** Error code 1 And looks like it just incorrectly includes system /usr/include/sys/md5.h i= nstead of tree-based sys/sys/md5.h and not only here ... --=20 Vladimir B. Grebenschikov vova@fbsd.ru