Subject: Re: build.sh distribution failed
To: None <current-users@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: current-users
Date: 02/18/2004 11:37:05
> > > 
> > > Hi!
> > 
> > My platform:
> > 
> > > machine: Sun Ultra1 (sparc64)
> > kernel: NetBSD 1.6ZK (GENERIC)
> > userland: NetBSD 1.6.1
> > 
> > I am trying to upgrade NetBSD 1.6.1/sparc64 to NetBSD-current/sparc64
> > with the instructions given at
http://www.netbsd.org/Documentation/current/#updating
> > 
> > > Failed command: build.sh distribution
> > > 

On IRC, people say, the above link is out of date.
So, If I do something wrong, I blame the doc rather than me...

I've updated my source tree yesterday evening (CET) and made sure to have
an absolute clean source tree (removed /usr/obj/, run 'make distclean')

Then 'build.sh distribution' failed again - this time much earlier:

/usr/src-current/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/sparc64--netbsd-gcc
-Wl,-nostdlib -B/usr/src-current/obj/destdir.sparc64/usr/lib/
-B/usr/src-current/obj/destdir.sparc64/usr/lib/  
-Wl,-rpath-link,/usr/src-current/obj/destdir.sparc64/lib:/usr/src-current/obj/destdir.sparc64/usr/lib 
-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  
-L/usr/src-current/obj/destdir.sparc64/usr/lib
/usr/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/../lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../sparc64--netbsd/bin/ld: cannot find -lgcc_pic
collect2: ld returned 1 exit status
*** Error code 1
Stop.
nbmake: stopped in /usr/src-current/lib/libc
*** Error code 1
Stop.
nbmake: stopped in /usr/src-current/lib/libc
*** Error code 1


Looks like the recent MKPIC changes are broken to me...



> >
>
/usr/obj/tooldir.NetBSD-1.6ZK-sparc64/bin/../lib/gcc-lib/sparc64--netbsd/3.3.3/../../../../sparc64--netbsd/bin/ld:
> > > cannot find -ldes
> > > collect2: ld returned 1 exit status
> > > *** Error code 1
> > > 
> > > Stop.
> > > nbmake: stopped in /usr/src-current/lib/libkrb
> > > *** Error code 1


-- 
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 +++