Re: Can't build RELENG_6 from HEAD?

From: Vladimir Grebenschikov <vova_at_fbsd.ru>
Date: Sat, 28 Jul 2007 15:55:15 +0400
÷ ÓÂ, 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_at_fbsd.ru
Received on Sat Jul 28 2007 - 09:55:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC