Problem with crt1.o and init tls

Johan Kuuse kuuse at redantigua.com
Fri Jan 21 09:30:51 PST 2005


Probably the best tip I could get, thanks.
boot kernel.old 
now gives
uname -a
FreeBSD qc.gua.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE ...
and I'm now able to answer this mail from the FreeBSD box, but
make buildworld
causes the same 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


Q1. Should I start all over syncing the source code?
or
Q2. Should it be enough to 'make cleandir'and the 'make buildworld'?
Q3. Should the flag -DALWAYS_CHECK_MAKE be used with 'make <whatever>', that 
is, not only with 'make cleandir'?
Q4. Should I try using the old kernel in single user mode? boot -s kernel.old

Thanks in advance.

Best Regards,
Johan Kuuse
kuuse at redantigua.com
 


On Friday 21 January 2005 11:03, Scot Hetzel wrote:
> On Fri, 21 Jan 2005 10:55:17 -0600, Johan Kuuse - Red Antigua
>
> <kuuse at redantigua.com> wrote:
> > OK, any suggestion?
> > I admit I'm having a disaster.
> > What I think about now (the ultimate case) is to get another HDD, install
> > 5.3 on that HDD, mount this disaster as a second HDD to recover data.
> > But I really wanted to get some experience in source updating, so if
> > there is someway to get rid of this disaster, I would really appreciate
> > som hints.
>
> Try booting with kernel.old by breaking in to the loader, then execute
> the following:
>     boot kernel.old
>
> Then try buildworld, buildkernel, installkernel, & installworld steps
> again. _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list