Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 14:41:49 +0100
From:      Koos van den Hout <koos@kzdoos.xs4all.nl>
To:        freebsd-questions@freebsd.org
Subject:   5.3 buildworld fails
Message-ID:  <20041222134149.GA2629@kzdoos.xs4all.nl>

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

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


I guess I managed to get into a circular dependency problem ;)

I have a machine, running at the moment

FreeBSD master.idefix.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  9
22:49:23 CET 2004     bofh@master.idefix.net:/usr/obj/usr/src/sys/IDEFIX
i386

I cvsupped the source to RELENG_5_3, and am trying to do a buildworld
(after a buildkernel).

But, it fails at a known place:

cc -O -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=3D\"5200408120\"
-D__FBSDID=3D__RCSID -DDEFSHELL=3D1   -static -o make arch.o buf.o compat.o
cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o
util.o var.o var_modify.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o
lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o
lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o
lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o
lstOpen.o lstRemove.o lstReplace.o lstSucc.o=20
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x64): undefined reference to `_init_tls'
*** Error code 1

Searching for solutions using google, I found 'rebuild your libc using cd /=
usr/src/lib/libc && make obj && make depend && make all && make install' wh=
ich
gives the error:

 -O -pipe -mcpu=3Dpentiumpro -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
-I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale
-DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized  -c
nslexer.c
/dev/stdout: In function `_nsyylex':
/dev/stdout:711: warning: label `find_rule' defined but not used
/usr/src/lib/libc/net/nslexer.l: At top level:
/dev/stdout:1678: warning: `yy_flex_realloc' defined but not used
*** Error code 1

Stop in /usr/src/lib/libc.

The next suggestion I find is 'rebuild yacc' .. which fails with _init_tls
or 'rebuild lex' which points back at '_init_tls'.

A nice circulair dependency. Any way to get out of this?

I already re-cvsupped from a clear /usr/src.

                                                   Koos

--=20
Koos van den Hout,           PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl        or DSS/1024 0xF0D7C263                        =
-?)
Fax +31-30-2817051             Camp Wireless, wireless Internet access     =
/\\
http://idefix.net/~koos/       at campsites http://www.camp-wireless.org/ _=
\_V

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

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: P1ny+fujlqDmgtKF3mnWl8kpF+N+9BFA

iQA/AwUBQcl5nCxmO13w18JjEQLhOgCg562/R4/4b/b8TxiEtND2KMleKeUAoLj1
c7T5jSYNZAyVQNLvDiSzSc0u
=2+0O
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



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