Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 10:01:52 -0600
From:      "Johan Kuuse - Red Antigua" <kuuse@redantigua.com>
To:        <current@freebsd.org>
Subject:   Problem with crt1.o and  init tls
Message-ID:  <000a01c4ffd2$86d5cc70$10bca1cd@widserver1>

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

I'm trying to upgrade from 5.2.1 to 6.0 current.

# make buildworld
# make buildkernel
# make installkernel
# reboot

all went fine.

uname -a now shows
FreeBSD 6.0-CURRENT ...

With
# mergemaster -p
# make installworld
the problems started.
When I try to start over again with

# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir -DALWAYS_CHECK_MAKE

(as indicated at the bottom of
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
19.4.16.6. What do I do if something goes wrong?)

'make cleandir' casues the following error message:
/usr/lib/crt1.o: In function '_start':
/usr/lib/crt1.o(.text+0x64): undefined reference to '_init_tls'
*** Error code 1

Stop in /usr/src/usr.bin/make
*** Error code 1

Stop in /usr/src
*** Error code 1

Stop in /usr/src


If I try
# make buildworld
the error message is the same (undefined reference to '_init_tls')

If I omit the flag -DALWAYS_CHECK_MAKE the error message from 'make
cleandir' is:

+for: not found
*** Error code 127

Stop in /usr/src
*** Error 1

Stop in /usr/src


I would be really grateful if someone could give a hint.

Best Regards,
Johan Kuuse
kuuse@redantigua.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c4ffd2$86d5cc70$10bca1cd>