Date: Sat, 28 Jul 2007 15:55:15 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Doug Ambrisko <ambrisko@ambrisko.com> Cc: Matthew Jacob <lydianconcepts@gmail.com>, freebsd-current@freebsd.org, Max Laier <max@love2party.net> Subject: Re: Can't build RELENG_6 from HEAD? Message-ID: <1185623715.1461.19.camel@localhost> In-Reply-To: <1185618875.1461.8.camel@localhost> References: <200707131907.l6DJ7Fu1090309@ambrisko.com> <1185618875.1461.8.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
÷ ÓÂ, 28/07/2007 × 14:34 +0400, Vladimir Grebenschikov ÐÉÛÅÔ: > ÷ ÐÔ, 13/07/2007 × 12:07 -0700, Doug Ambrisko ÐÉÛÅÔ: > > Matthew Jacob writes: > > | gcc 4.X will barf all over RELENG_6 code. Better start thinking about > > | a jailed build. > > > > And if you do script something like: > > "Chicken and egg" problem > > 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) > > probably something like CC=gcc34 will help ? Hmm, does not works also: $ make toolchain CC=/usr/X11R6/bin/gcc34 ... ===> 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/usr/src/releng6/src/lib/libcrypt -DHAS_DES -DHAS_BLOWFISH -Dauth_getval=__auth_getval -Dproperty_find=__property_find -Dproperties_read=__properties_read -Dproperties_free=__properties_free -DMD4Init=__MD4Init -DMD4Final=__MD4Final -DMD4Update=__MD4Update -DMD4Pad=__MD4Pad -DMD5Init=__MD5Init -DMD5Final=__MD5Final -DMD5Update=__MD5Update -DMD5Pad=__MD5Pad -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 "input" 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 instead of tree-based sys/sys/md5.h and not only here ... -- Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1185623715.1461.19.camel>
