Subject: Re: macppc 'make build' fails in /usr/src/lib/libvers
To: Samuel Hornus <Samuel.Hornus@crans.org>
From: Aymeric Vincent <xmimic@free.fr>
List: current-users
Date: 07/29/2001 11:20:21
oops, re-reading my post and remembering yours makes me feel an idiot:
you said you did a make cleandir before starting your make build.

However, you could try to "make dependall && make install" in lib/csu
and libexec/ld.elf_so before attempting a new build.

 Aymeric



Aymeric Vincent <xmimic@free.fr> writes:

> Samuel Hornus <Samuel.Hornus@crans.org> writes:
> 
> > Hi, I did a cvs update of -current sources 2 days ago (or yesterday ?)
> > on my macppc :
> > [...]
> >                 /usr/obj/lib/libvers
> >                 isobel# ./make-print-version
> >                 Illegal instruction (core dumped)
> 
> Although the reason why it dumps core is not the same, maybe you're
> bitten by the following problem: (this is from /usr/src/UPDATING)
> 
> 20010718:
> 
>         Enabled correct .init/.fini processing in crt0.  The way this
>         was done was to change a -I directive to cc(1), which means
>         make(1) will have a stale dependency (it will be checking the
>         timestamp on the wrong "dot_init.h").
> 
>         The symptom you will see is that new programs die with SIGSEGV
>         if you have a stale dependency.
> 
>         Solution: "make cleandir" in both lib/csu and libexec/ld.elf_so
>         before starting your build.
> 
> Applying the given "solution" should get you going. Don't forget to do
> a "make cleandir" before, at least in the directories which contain
> broken binaries.
> 
>  Aymeric