Subject: pkg/24529: othersrc/bootstrap-pkgsrc doesn't build on Darwin/MacOS X 7.x/10.3
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 02/22/2004 21:03:44
>Number:         24529
>Category:       pkg
>Synopsis:       othersrc/bootstrap-pkgsrc doesn't build on Darwin/MacOS X 7.x/10.3
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 22 21:04:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        
>Organization:
>Environment:
Darwin Gizmobook.local 7.2.0 Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC  Power Macintosh powerpc

>Description:
# ./bootstrap
[...]
(cd lst.lib; make -f makefile.boot CC="gcc" CFLAGS="-I.. -I./.. -I. -I. -DHAVE_C
ONFIG_H  "-D_PATH_DEFSYSPATH=\"/usr/pkg/share/mk\"" -DMAKE_BOOTSTRAP " )
make[1]: Nothing to be done for `all'.
gcc *.o lst.lib/*.o -o bmake.boot 
/usr/bin/ld: multiple definitions of symbol _Lst_Append
lstAppend.o definition of _Lst_Append in section (__TEXT,__text)
lst.lib/lstAppend.o definition of _Lst_Append in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _Lst_AtEnd
lstAtEnd.o definition of _Lst_AtEnd in section (__TEXT,__text)
lst.lib/lstAtEnd.o definition of _Lst_AtEnd in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _Lst_AtFront
lstAtFront.o definition of _Lst_AtFront in section (__TEXT,__text)
lst.lib/lstAtFront.o definition of _Lst_AtFront in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _Lst_Close
lstClose.o definition of _Lst_Close in section (__TEXT,__text)
lst.lib/lstClose.o definition of _Lst_Close in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _Lst_Concat


This occurs whether using gcc 2.95, gcc 3.1, or gcc 3.3
>How-To-Repeat:
get and try to build the bootstrap routine
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: