Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 1996 08:55:10 -0700
From:      John Polstra <jdp@polstra.com>
To:        Jian-Da Li <jdli@FreeBSD.csie.NCTU.edu.tw>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: the latest ld.so doesn't work !!!
Message-ID:  <199610011555.IAA03239@austin.polstra.com>
In-Reply-To: <199610011156.TAA11817@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
>         I just grab the latest current with the LD_HINT_VERSION = 2, and now
>         make world dies at :
> 
>         --------------------------------------------------------------
>          Rebuilding tools needed to build the libraries
>         --------------------------------------------------------------
>         ....
>         ===> rtld
>         ....
>         ld -o ld.so  -Bshareable -Bsymbolic -assert nosymbolic mdprologue.o
>         rtld.o malloc.o shlib.o md.o support.o sbrk.o -lc_pic -lgcc_pic
>         ld: Cannot reduce symbol "_RELOC_EXTERN_P" in rtld.o
>         ld: Cannot reduce symbol "_RELOC_SYMBOL" in rtld.o
>         ld: Cannot reduce symbol "_RELOC_PCREL_P" in rtld.o

It looks like you still have the old version of "rtld.c".  The current
version doesn't even reference those symbols.  It used to reference
them, and "ld.h" used to define them.  In the current version, both the
references and definitions were removed.

I think you have the old version of "rtld.c", but the new version
of "ld.h".  That would explain the symptoms.  Perhaps you got
unlucky, and supped your sources at just the wrong time.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



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