All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Martin Jansa <martin.jansa@gmail.com>
Subject: Re: [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support"
Date: Fri, 23 Mar 2012 17:44:57 +0000	[thread overview]
Message-ID: <1332524697.9740.465.camel@ted> (raw)
In-Reply-To: <ADD6A3980E8C39419A432FF422031B4C0137C776@ORSMSX106.amr.corp.intel.com>

On Fri, 2012-03-23 at 17:01 +0000, Kamble, Nitin A wrote:
> 
> > -----Original Message-----
> > From: Khem Raj [mailto:raj.khem@gmail.com]
> > 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






  reply	other threads:[~2012-03-23 17:54 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 16:36 [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support" Khem Raj
2012-03-23 17:01 ` Kamble, Nitin A
2012-03-23 17:44   ` Richard Purdie [this message]
2012-03-23 18:01     ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2012-03-21 16:35 [PATCH 0/1] fix for the sdk gdb issue nitin.a.kamble
2012-03-21 16:35 ` [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support" nitin.a.kamble
2012-03-21 17:07   ` Eric Bénard
2012-03-21 17:47     ` Kamble, Nitin A
2012-03-21 17:52       ` Eric Bénard
2012-03-21 17:57         ` Kamble, Nitin A
2012-03-21 18:02           ` Eric Bénard
2012-03-21 18:07             ` Kamble, Nitin A
2012-03-21 19:32               ` Eric Bénard
2012-03-21 19:49                 ` Martin Jansa
2012-03-21 20:48                   ` Kamble, Nitin A
2012-03-21 21:02                     ` Eric Bénard
2012-03-21 21:12                       ` Kamble, Nitin A
2012-03-21 21:35                         ` Eric Bénard
2012-03-21 21:53                           ` Kamble, Nitin A
2012-03-21 22:05                             ` Eric Bénard
2012-03-21 22:10                               ` Kamble, Nitin A
2012-03-21 22:21                                 ` Saul Wold
2012-03-21 22:37                                   ` Eric Bénard
2012-03-21 22:55                                     ` Kamble, Nitin A
2012-03-21 23:07                                     ` Kamble, Nitin A
2012-03-22 12:09                                   ` Eric Bénard
2012-03-21 22:22                               ` Kamble, Nitin A
2012-03-22  8:47                               ` Martin Jansa
2012-03-22  8:50                                 ` Eric Bénard
2012-03-22  0:27                             ` Khem Raj
2012-03-22  1:58                               ` Kamble, Nitin A
2012-03-22  4:24                                 ` Khem Raj
2012-03-22  4:55                                   ` Kamble, Nitin A
2012-03-22  5:06                                     ` Khem Raj
2012-03-22  5:42                                       ` Khem Raj
2012-03-22 12:13                                       ` Eric Bénard
2012-03-22 12:17                                         ` Khem Raj
2012-03-22 12:43                                           ` Eric Bénard
2012-03-22 12:57                                             ` Khem Raj
2012-03-22 13:14                                               ` Eric Bénard
2012-03-22 13:34                                                 ` Eric Bénard
2012-03-22 13:54                                                   ` Khem Raj
2012-03-22 16:20                                                 ` Kamble, Nitin A
2012-03-22 16:38                                                   ` Khem Raj
2012-03-22 17:38                                                     ` Kamble, Nitin A
2012-03-22 19:16                                                       ` Khem Raj
2012-03-22 21:31                                                         ` Eric Bénard
2012-03-22 21:40                                                           ` Kamble, Nitin A
2012-03-23  8:07                                                             ` Eric Bénard
2012-03-22 21:48                                                           ` Kamble, Nitin A
2012-03-23  5:33                                                             ` Khem Raj
2012-03-23  6:29                                                           ` Khem Raj
2012-03-23  7:12                                                           ` Khem Raj
2012-03-23  8:31                                                             ` Eric Bénard
2012-03-23 12:07                                                               ` Khem Raj
2012-03-23 16:07                                                                 ` Kamble, Nitin A
2012-03-21 22:04                           ` Kamble, Nitin A
2012-03-21 22:09                             ` Eric Bénard
2012-03-21 23:25                               ` Kamble, Nitin A
2012-03-21 23:29                               ` Richard Purdie
2012-03-21 21:48                       ` Kamble, Nitin A
2012-03-21 19:04             ` Kamble, Nitin A
2012-03-21 19:36               ` Eric Bénard
2012-03-21 19:48                 ` Kamble, Nitin A
2012-03-21 17:58         ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332524697.9740.465.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.