Problem with crt1.o and init tls

Johan Kuuse - Red Antigua kuuse at redantigua.com
Fri Jan 21 08:01:04 PST 2005


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 at redantigua.com






More information about the freebsd-current mailing list