Subject: MKPIC problem
To: None <current-users@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: current-users
Date: 02/19/2004 20:11:05
Hi!
I'm trying to track down a linking problem for several days now:
# build libc/libc.so.12.111
rm -f libc.so.12.111
/usr/src-current/tooldir.NetBSD-1.6ZK-sparc64/bin/sparc64--netbsd-gcc
-Wl,-nostdlib -B/usr/src-current/destdir.sparc64/usr/lib/
-B/usr/src-current/destdir.sparc64/usr/lib/
-Wl,-rpath-link,/usr/src-current/destdir.sparc64/lib:/usr/src-current/destdir.sparc64/usr/lib -L/usr/src-current/destdir.sparc64/lib
-Wl,-x -shared -Wl,-soname,libc.so.12 -o libc.so.12.111
-Wl,--whole-archive libc_pic.a -Wl,--no-whole-archive
-L/usr/src-current/destdir.sparc64/usr/lib
/usr/src-current/tooldir.NetBSD-1.6ZK-sparc64/lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../sparc64--netbsd/bin/ld: cannot find -lgcc_pic
collect2: ld returned 1 exit status
I grepped for MKPIC in lib/libc but found nothing.
Instead I found some uses in bsd.lib.mk.
MKPIC is only compared against != "no"
The BUILDING file says, MKPIC defaults to 'yes'.
The fact, that libgcc_pic isn't found makes me guess that it isn't built /
installed
- in opposition on what the BUILDING file claims...
Does anyone have some hints how to track this issue down?
--
CU,
Christoph Egger
E-Mail: Christoph_Egger@gmx.de
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++