Subject: Re: Problems during crossbuild on i386
To: Marcus Comstedt <marcus@mc.pp.se>
From: Harold Gutch <logix@foobar.franken.de>
List: port-dreamcast
Date: 08/21/2003 02:18:18
On Wed, Aug 20, 2003 at 10:48:25PM +0200, Marcus Comstedt wrote:
>
> Harold Gutch <logix@foobar.franken.de> writes:
>
> > Hi,
> >
> > I'm unable to crossbuild NetBSD-current for Dreamcast on i386.
> > It bails out in:
> >
> [...]
> >
> > These symbols are in libdes, which is already built at that
> > point. Note that in the command above -ldes is not specified.
> > The same thing happens on a native i386 build, but gcc seems to
> > automatically link the resulting binary against libdes, since it
> > picks this dependency up from somewhere (I guess from one of the
> > other libraries linked against it, perhaps libkrb).
>
> What does ldd say if you run it on libkrb from the native and cross
> builds respectively? Any dependency should be reported just like for
> an executable.
Native libkrb:
> ldd /usr/lib/libkrb.so
/usr/lib/libkrb.so:
-ldes.7 => /usr/lib/libdes.so.7
I'm still using gcc 2.95.3 for my crossbuilds, so I don't have
a crossbuilt .so file, I just have a Dreamcast libkrb.a, on which
ldd obviously doesn't work.
bye,
Harold