* Disable gdb Python support?
@ 2012-08-14 20:52 Grant Edwards
2012-08-14 21:00 ` Yann E. MORIN
0 siblings, 1 reply; 5+ messages in thread
From: Grant Edwards @ 2012-08-14 20:52 UTC (permalink / raw)
To: crossgcc
We've been using crosstool-ng for a couple years -- we're currently
using 1.12. Gdb used to work find for us, but it seems to have broken
when we switched our configuration from 6.8 to 7.2. It appears that
newer versions of gdb are being built with some sort of Python
dependency:
ldd ./arm-linux-gdb
linux-gate.so.1 (0xffffe000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7743000)
libz.so.1 => /lib/libz.so.1 (0xb772e000)
libm.so.6 => /lib/libm.so.6 (0xb7707000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb76ee000)
libdl.so.2 => /lib/libdl.so.2 (0xb76e9000)
libutil.so.1 => /lib/libutil.so.1 (0xb76e5000)
>>>> libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb758a000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7560000)
libc.so.6 => /lib/libc.so.6 (0xb7410000)
That's causing problems for us since not all of our host machines have
the same python versions installed.
We didn't seem to have this problem with gdb 6.8.
Is there any way to disable the Python support when crosstool-ng
builds the host-side gdb?
--
Grant Edwards grant.b.edwards Yow! When this load is
at DONE I think I'll wash it
gmail.com AGAIN ...
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable gdb Python support? 2012-08-14 20:52 Disable gdb Python support? Grant Edwards @ 2012-08-14 21:00 ` Yann E. MORIN 2012-08-14 21:17 ` Grant Edwards 0 siblings, 1 reply; 5+ messages in thread From: Yann E. MORIN @ 2012-08-14 21:00 UTC (permalink / raw) To: crossgcc; +Cc: Grant Edwards Grant, All, On Tuesday 14 August 2012 22:52:21 Grant Edwards wrote: > We've been using crosstool-ng for a couple years -- we're currently > using 1.12. Gdb used to work find for us, but it seems to have broken > when we switched our configuration from 6.8 to 7.2. It appears that > newer versions of gdb are being built with some sort of Python > dependency: [--SNIP--] > Is there any way to disable the Python support when crosstool-ng > builds the host-side gdb? Yes, in the menuconfig: Debug facilities ---> [*] gdb ---> [ ] Enable python scripting Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable gdb Python support? 2012-08-14 21:00 ` Yann E. MORIN @ 2012-08-14 21:17 ` Grant Edwards 2012-08-14 21:33 ` Yann E. MORIN 0 siblings, 1 reply; 5+ messages in thread From: Grant Edwards @ 2012-08-14 21:17 UTC (permalink / raw) To: crossgcc On Tue, Aug 14, 2012 at 10:59:54PM +0200, Yann E. MORIN wrote: > On Tuesday 14 August 2012 22:52:21 Grant Edwards wrote: > > We've been using crosstool-ng for a couple years -- we're currently > > using 1.12. Gdb used to work find for us, but it seems to have broken > > when we switched our configuration from 6.8 to 7.2. It appears that > > newer versions of gdb are being built with some sort of Python > > dependency: > [--SNIP--] > > Is there any way to disable the Python support when crosstool-ng > > builds the host-side gdb? > > Yes, in the menuconfig: > Debug facilities ---> > [*] gdb ---> > [ ] Enable python scripting Hmm. That must be something added since 1.12. It doesn't show up in my .config file nor when when I do ./ct-ng menuconfig. I tried a couple more recent versions, but my build scripts failed at the "./configure --local" stage, and I haven't had time to figure out how I need to change my build scripts and documenation. It's probably time to figure out the current spelling for "./configure --local"... -- Grant -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable gdb Python support? 2012-08-14 21:17 ` Grant Edwards @ 2012-08-14 21:33 ` Yann E. MORIN 2012-08-14 21:41 ` Grant Edwards 0 siblings, 1 reply; 5+ messages in thread From: Yann E. MORIN @ 2012-08-14 21:33 UTC (permalink / raw) To: crossgcc; +Cc: Grant Edwards Grant, All, On Tuesday 14 August 2012 23:17:00 Grant Edwards wrote: > On Tue, Aug 14, 2012 at 10:59:54PM +0200, Yann E. MORIN wrote: > > On Tuesday 14 August 2012 22:52:21 Grant Edwards wrote: > > > > We've been using crosstool-ng for a couple years -- we're currently > > > using 1.12. Gdb used to work find for us, but it seems to have broken > > > when we switched our configuration from 6.8 to 7.2. It appears that > > > newer versions of gdb are being built with some sort of Python > > > dependency: > > [--SNIP--] > > > Is there any way to disable the Python support when crosstool-ng > > > builds the host-side gdb? > > > > Yes, in the menuconfig: > > Debug facilities ---> > > [*] gdb ---> > > [ ] Enable python scripting > > Hmm. That must be something added since 1.12. It doesn't show up in > my .config file nor when when I do ./ct-ng menuconfig. Nope, it probably isn't in ct-ng 1.12; it's been added after that. In 1.12, the python dependencies was not caught, so there was no provision against it sneaking in. Note that 1.12.x is no longer maintained. The current maintained series is the 1.16.x. Please upgrade. > I tried a couple more recent versions, but my build scripts failed at > the "./configure --local" stage, and I haven't had time to figure out > how I need to change my build scripts and documenation. > > It's probably time to figure out the current spelling for "./configure > --local"... Since switching to autoconf, the switch was renamed --enable-local. With autoconf, it;s notpossible (AFAIK) todefine custom switches, besides the --with-XX or --enable-XXX forms, hence the --enable-local. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disable gdb Python support? 2012-08-14 21:33 ` Yann E. MORIN @ 2012-08-14 21:41 ` Grant Edwards 0 siblings, 0 replies; 5+ messages in thread From: Grant Edwards @ 2012-08-14 21:41 UTC (permalink / raw) To: crossgcc On 2012-08-14, Yann E. MORIN <yann.morin.1998@free.fr> wrote: >> > Debug facilities ---> >> > [*] gdb ---> >> > [ ] Enable python scripting >> >> Hmm. That must be something added since 1.12. It doesn't show up in >> my .config file nor when when I do ./ct-ng menuconfig. > > Nope, it probably isn't in ct-ng 1.12; it's been added after that. > In 1.12, the python dependencies was not caught, so there was no > provision against it sneaking in. > > Note that 1.12.x is no longer maintained. The current maintained > series is the 1.16.x. Please upgrade. > >> I tried a couple more recent versions, but my build scripts failed at >> the "./configure --local" stage, and I haven't had time to figure out >> how I need to change my build scripts and documenation. >> >> It's probably time to figure out the current spelling for "./configure >> --local"... > > Since switching to autoconf, the switch was renamed --enable-local. With > autoconf, it;s notpossible (AFAIK) todefine custom switches, besides the > --with-XX or --enable-XXX forms, hence the --enable-local. Ah! I had started looking through changelogs, but hadn't found that yet. I just tweaked by build script and am now building using ct-ng 1.16 with gdb's python support disabled. Thanks! -- Grant Edwards grant.b.edwards Yow! I smell a RANCID at CORN DOG! gmail.com -- For unsubscribe information see http://sourceware.org/lists.html#faq ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-08-14 21:41 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-08-14 20:52 Disable gdb Python support? Grant Edwards 2012-08-14 21:00 ` Yann E. MORIN 2012-08-14 21:17 ` Grant Edwards 2012-08-14 21:33 ` Yann E. MORIN 2012-08-14 21:41 ` Grant Edwards
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).