Openembedded Core Discussions
 help / color / mirror / Atom feed
* Re: [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support"
@ 2012-03-23 16:36 Khem Raj
  2012-03-23 17:01 ` Kamble, Nitin A
  0 siblings, 1 reply; 64+ messages in thread
From: Khem Raj @ 2012-03-23 16:36 UTC (permalink / raw)
  To: Kamble, Nitin A
  Cc: Martin Jansa, Patches and discussions about the oe-core layer

My patch took care of everything including paths
-khem

"Kamble, Nitin A" <nitin.a.kamble@intel.com> wrote:

>> -----Original Message-----
>> From: Khem Raj [mailto:raj.khem@gmail.com]
>> Sent: Friday, March 23, 2012 5:07 AM
>> To: Eric Bénard
>> Cc: Kamble, Nitin A; 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"
>> 
>> On 03/23/2012 01:31 AM, Eric Bénard wrote:
>> > Hi Khem,
>> >
>> > Le Fri, 23 Mar 2012 00:12:25 -0700,
>> > Khem Raj<raj.khem@gmail.com>  a écrit :
>> >> OK can you try following patch ? (untested) it does not fix the
>> paths so
>> >> once you install sdk it will have to be fixed as you did with
>> chrpath
>> >> for testing
>> >>
>> >> http://paste.ubuntu.com/896082/
>> >>
>> >> I think issue is currently we are linking with static version of
>> >> libpython and also the search path to find python executable for gdb
>> >> when running is /usr/bin and not the python from SDK so this patch
>> >> takes care of both
>> >>
>> > very good catch, now gdb runs fine and strace shows that it loads
>> > the right library :
>> >
>> > open("/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/usr/lib/python2.7/lib-dynload/readline.so",
>> > O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0755, st_size=23520, ...}) =
>> 0
>> > futex(0x7f3ada48e0a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
>> > open("/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/usr/lib/python2.7/lib-dynload/readline.so",
>> > O_RDONLY) = 7 read(7,
>> > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`%\0\0\0\0\0\0"...,
>> 832)
>> > = 832 fstat(7, {st_mode=S_IFREG|0755, st_size=23520, ...}) = 0
>> > mmap(NULL, 2118952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
>> 7,
>> > 0) = 0x7f3ad8a05000
>> >
>> > Eric
>> 
>> good. So this patch does the trick. I will post proper patch shortly
>> we still need to fix the rpath problem though
>
>Khem,
>   Thanks for fixing the gdb issue at the root cause. And I have a fix for the rpath issue.
>Thanks,
>Nitin
>

^ permalink raw reply	[flat|nested] 64+ messages in thread
* [PATCH 0/1] fix for the sdk gdb issue
@ 2012-03-21 16:35 nitin.a.kamble
  2012-03-21 16:35 ` [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support" nitin.a.kamble
  0 siblings, 1 reply; 64+ messages in thread
From: nitin.a.kamble @ 2012-03-21 16:35 UTC (permalink / raw)
  To: openembedded-core, eric, fcooper, Martin.Jansa, richard.purdie

From: Nitin A Kamble <nitin.a.kamble@intel.com>

This reverts the commit for adding python support to sdk gdb. It is 
breaking the sdk gdb as reported in this bug: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2077


The following changes since commit 40f95685e6a3b4359d2ab2fea1418fe5e4bd0aa1:

  gzip/pigz-native: Install into a prefix to avoid clashing with system binaries (2012-03-21 15:33:07 +0000)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib nitin/bugfix
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/bugfix

Nitin A Kamble (1):
  Revert "gdb-cross-canadian: build gdb with python support"

 meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |   20 +-------------------
 .../recipes-devtools/gdb/gdb-cross-canadian_7.4.bb |    2 +-
 2 files changed, 2 insertions(+), 20 deletions(-)

-- 
1.7.6.4




^ permalink raw reply	[flat|nested] 64+ messages in thread

end of thread, other threads:[~2012-03-23 18:10 UTC | newest]

Thread overview: 64+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox