cvs commit: src/libexec/rtld-aout Makefile dynamic.hmd-prologue.c rtld.1aout rtld.c shlib.c shlib.h support.c support.h mdprologue.S

Giorgos Keramidas keramida at FreeBSD.org
Tue Jan 11 05:54:16 PST 2005


On 2005-01-11 14:17, Lukas Ertl <le at FreeBSD.org> wrote:
>On Tue, 11 Jan 2005, Tom Rhodes wrote:
>> Log:
>> Remove a.out runtime linker.  It doesn't build and was removed from the
>> build over two years ago by peter.
>
> This breaks buildworld in sbin/ldconfig.

A repocopy of shlib.[ch] and support.[ch] from src/libexec/rtld-aout
into src/sbin/ldconfig and the following patch in src/sbin/ldconfig
fixed the build of ldconfig here:

% Index: Makefile
% ===================================================================
% RCS file: /home/ncvs/src/sbin/ldconfig/Makefile,v
% retrieving revision 1.19
% diff -u -r1.19 Makefile
% --- Makefile    23 Feb 2004 20:13:53 -0000      1.19
% +++ Makefile    11 Jan 2005 13:48:11 -0000
% @@ -2,11 +2,8 @@
%  
%  PROG=  ldconfig
%  SRCS=  elfhints.c ldconfig.c shlib.c support.c
% -LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
% -CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
% +CFLAGS+=-I${.CURDIR}
%  WARNS?=        0
%  MAN=   ldconfig.8
%  
% -.PATH: ${LDDIR}
% -
%  .include <bsd.prog.mk>

Note, however, that I haven't had the chance to test the resulting
ldconfig binary.  I need my workstation to do other work and cannot boot
it into a test install.



More information about the cvs-src mailing list