Can't build RELENG_6 from HEAD?
    Vladimir Grebenschikov 
    vova at fbsd.ru
       
    Sat Jul 28 11:55:20 UTC 2007
    
    
  
В сб, 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
    
    
More information about the freebsd-current
mailing list