Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2004 11:53:59 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Eirik Oeverby <ltning@anduin.net>
Cc:        current@FreeBSD.org
Subject:   Re: Unable to build world since early June
Message-ID:  <20040913085359.GA31628@ip.net.ua>
In-Reply-To: <414557C3.9020101@anduin.net>
References:  <414557C3.9020101@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 13, 2004 at 10:18:11AM +0200, Eirik Oeverby wrote:
> Hi all,
>=20
> I have tried - and failed - repeatedly since end of May/early June to=20
> build world on my amd64 system. Since the instability issues=20
> (amd64-specific and others) surfaced early June I haven't been overly=20
> concerned about this, since I luckily found a 'sweet spot' of relative=20
> stability back then and haven't needed to upgrade.
>=20
> Now that 5.3 is getting near, though, I am trying to build world again,=
=20
> to prepare for an upgrade. After removing /usr/obj and all subdirs of=20
> /usr/src plus running a cvsup against RELENG_5 (which I assume is what I=
=20
> need to get the latest 5-branch code), I am still unable to compile=20
> world (fails in lib/libc - following is the output of a 'make' in that=20
> directory):
>=20
Hmm, from the output below, it looks like you're trying to just "make"
while in src/ rather than doing a full "make buildworld".  Don't do
that -- you need a new toolchain (including the compiler) to understand
a new syntax like the "__pure" keyword.  buildworld will take care of
upgrading the compiler and binutils for you, and use them to compile
the rest of the world.

If you still see an error while doing "make buildworld", please provide
me with more information, such as which stage of buildworld it breaks,
the contents of your /etc/make.conf, etc.

> cc -O -pipe  -I/usr/src/lib/libc/include=20
> -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64=20
> -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6=
=20
> -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale=20
> -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP=20
> -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k=20
> -Wno-uninitialized -c /usr/src/lib/libc/net/getaddrinfo.c
> In file included from /usr/src/include/string.h:49,
>                  from /usr/src/lib/libc/net/getaddrinfo.c:89:
> /usr/src/include/strings.h:41: error: syntax error before "__pure"
> /usr/src/include/strings.h:50: error: syntax error before "__pure"
> /usr/src/include/strings.h:51: error: syntax error before "__pure"
> /usr/src/include/strings.h:52: error: syntax error before "__pure"
> /usr/src/include/strings.h:53: error: syntax error before "__pure"
> In file included from /usr/src/lib/libc/net/getaddrinfo.c:89:
> /usr/src/include/string.h:61: error: syntax error before "__pure"
> /usr/src/include/string.h:62: error: syntax error before "__pure"
> /usr/src/include/string.h:68: error: syntax error before "__pure"
> /usr/src/include/string.h:71: error: syntax error before "__pure"
> /usr/src/include/string.h:72: error: syntax error before "__pure"
> /usr/src/include/string.h:75: error: syntax error before "__pure"
> /usr/src/include/string.h:87: error: syntax error before "__pure"
> /usr/src/include/string.h:92: error: syntax error before "__pure"
> /usr/src/include/string.h:95: error: syntax error before "__pure"
> /usr/src/include/string.h:97: error: syntax error before "__pure"
> /usr/src/include/string.h:98: error: syntax error before "__pure"
> /usr/src/include/string.h:103: error: syntax error before "__pure"
> /usr/src/include/string.h:104: error: syntax error before "__pure"
> /usr/src/lib/libc/net/getaddrinfo.c: In function `explore_numeric_scope':
> /usr/src/lib/libc/net/getaddrinfo.c:1271: warning: implicit declaration=
=20
> of function `strchr'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `get_canonname':
> /usr/src/lib/libc/net/getaddrinfo.c:1315: warning: implicit declaration=
=20
> of function `strlen'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `getanswer':
> /usr/src/lib/libc/net/getaddrinfo.c:1790: warning: implicit declaration=
=20
> of function `strcasecmp'
> /usr/src/lib/libc/net/getaddrinfo.c: In function `_gethtent':
> /usr/src/lib/libc/net/getaddrinfo.c:2073: warning: implicit declaration=
=20
> of function `strpbrk'
> *** Error code 1
>=20
> Stop in /usr/src/lib/libc.
>=20
>=20
> Anyone? Did I miss some important information? Did I forget to RTFM or=20
> something?


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBRWAnqRfpzJluFF4RAprhAJ9runCAshI3/W5o+d96bkonBf85dwCfY02f
FRcINL7RKySK63cO+gglJJw=
=KNHI
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



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