Skip site navigation (1)Skip section navigation (2)
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
=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1185623715.1461.19.camel>