Subject: Re: MKPIC problem
To: None <email@example.com>
From: Christoph Egger <Christoph_Egger@gmx.de>
Date: 02/19/2004 22:26:47
> > On Thursday 19 February 2004 19:11, Christoph Egger wrote:
> > > Hi!
> > >
> > > I'm trying to track down a linking problem for several days now:
> > [...]
> > > The fact, that libgcc_pic isn't found makes me guess that it isn't
> > > built / installed
> > I believe this is your problem. You should try a
> > /usr/src-current/tooldir.NetBSD-1.6ZK-sparc64/bin/nbmake-sparc64 all
> > in
> > /usr/src-current/gnu/lib/libgcc3
> > to see what went wrong. I did almost a complete build of sparc64
> > yesterday to help fix your PR (24474).
> Heh! It looks to me that this command wasn't executed during the
> build.sh distribution command - like a human forgets things to do
> from time to time. :)
> This command created and installed the missing libgcc_pic.so!
Sorry, it's called libgcc_pic.a
find /usr/src-current -name libgcc_pic\* found it:
> I'm running 'build.sh -u -o -T tooldir.NetBSD-1.6ZK-sparc64 distribution'
again to see,
> if it continous on the place, where it failed!
hmm... It failed again:
rm -f libc.so.12.111
-L/usr/src-current/obj/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
/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
is a different directory than
So I copy the missing lib to /usr/src-current/obj/destdir.sparc64/usr/lib
and retry building
*** some minutes later ***
ahh - it works now!
So the problem really is that Nick's install command is NOT executed by
Build process is running now until it finishs or fails elsewhere (which I
hope not) :/
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++