On Fri, 2012-03-23 at 17:01 +0000, Kamble, Nitin A wrote:
>
> > -----Original Message-----
> > From: Khem Raj [mailto:[email protected]]
> > Sent: Friday, March 23, 2012 9:37 AM
> > To: Kamble, Nitin A
> > Cc: eric; Patches and discussions about the oe-core layer; Martin Jansa
> > Subject: RE: [OE-core] [PATCH 1/1] Revert "gdb-cross-canadian: build
> > gdb with python support"
> >
> > My patch took care of everything including paths
> > -khem
> >
>
>
> Khem,
> I am testing your commit here. From the patch looks like it is taking care
> of rpath issue for gdb. The rpath issue also needs to be corrected for all
> the sdk executables.
> And I have this fix for general sdk rpath fix.
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=nitin/sdk-rpath
Er, looking at that patch:
BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
-Wl,-rpath-link,${STAGING_LIBDIR} \
-Wl,-rpath,${libdir} -Wl,-O1 \
+ -Wl,-rpath,${libdir}/.. -Wl,-O1 \
-L${STAGING_DIR_HOST}${base_libdir} \
-Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \
-Wl,-rpath,${base_libdir} -Wl,-O1"
Things look confused. In the commit message you say:
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib
but then add:
-Wl,-rpath,${libdir}/.. -Wl,-O1 \
which is:
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr
(i.e. without the /lib on the end?) ?
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core