From: Doug Evans <dje@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list
Date: Sat, 05 Jun 2010 02:48:00 -0000 [thread overview]
Message-ID: <AANLkTimWI6s_nwGWE0EnfMJw7Ymc99sKM0J95Woadgz_@mail.gmail.com> (raw)
In-Reply-To: <20100528185211.GA30412@host0.dyn.jankratochvil.net>
On Fri, May 28, 2010 at 11:52 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Thu, 27 May 2010 21:54:34 +0200, Tom Tromey wrote:
>> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>>
>> Jan> gdb/
>> Jan> 2010-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
>> Jan> gdb/gdbserver/
>> Jan> 2010-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
>> This is ok. Thanks.
>
> Checked-in:
> http://sourceware.org/ml/gdb-cvs/2010-05/msg00247.html
I've been playing with this a bit and got the following:
"ImportError: /usr/grte/v1/k8-linux/lib/python2.4/lib-dynload/itertools.so:
undefined symbol: PyExc_StopIteration"
when I did "import itertools".
I was statically linking libpythonX.Y.a.
I'm not sure what the right fix is. IWBN if the python folks have
anticipated this and provide something like proc-service.list for
python.
I don't know all the python symbols that need to be exported ... maybe
there's a simple regexp (or a small number of them) that could find
them all.
[OTOH it might be a bit too fragile.]
Alternatively, one could disable this feature when python is being
linked statically.
next prev parent reply other threads:[~2010-06-05 2:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-13 13:27 Jan Kratochvil
2010-05-13 15:47 ` H.J. Lu
2010-05-16 21:08 ` Jan Kratochvil
2010-05-27 19:58 ` Tom Tromey
2010-05-28 23:11 ` Jan Kratochvil
2010-06-05 2:48 ` Doug Evans [this message]
2010-06-05 12:45 ` Jan Kratochvil
2010-06-08 15:23 ` Doug Evans
2010-06-08 16:08 ` Jan Kratochvil
2010-06-08 16:12 ` Doug Evans
2010-06-08 17:37 ` Jan Kratochvil
2012-01-12 19:28 ` [patch] -Wl,--dynamic-list: Test also PYTHON_LIBS, not just PYTHON_CFLAGS [Re: [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list] Jan Kratochvil
2010-06-13 19:58 ` [patch] Smaller gdb: -rdynamic -> -Wl,--dynamic-list Andreas Schwab
2010-06-13 20:17 ` Andreas Schwab
2010-06-15 17:31 ` Tom Tromey
2010-06-15 19:09 ` Jan Kratochvil
2010-06-15 20:36 ` Jan Kratochvil
2010-06-21 18:26 ` Tom Tromey
2010-06-23 10:13 ` Jan Kratochvil
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=AANLkTimWI6s_nwGWE0EnfMJw7Ymc99sKM0J95Woadgz_@mail.gmail.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=tromey@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox