Subject: MKPIC problem
To: None <>
From: Christoph Egger <>
List: current-users
Date: 02/19/2004 20:11:05

I'm trying to track down a linking problem for several days now:

#     build  libc/
rm -f
-Wl,-nostdlib -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,   -o 
-Wl,--whole-archive libc_pic.a  -Wl,--no-whole-archive  
/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

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 /
- in opposition on what the BUILDING file claims...

Does anyone have some hints how to track this issue down?


Christoph Egger

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ +++