mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] gdb python support
Date: Thu, 22 Feb 2018 21:34:10 +0100	[thread overview]
Message-ID: <20180222203409.teh2ugnegphvp2dt@pengutronix.de> (raw)
In-Reply-To: <CAMwGMjwFSrGYzS-WOSvbTCwV4-+-veENKNNkLf0g7_HSc7+86w@mail.gmail.com>

Hi,

On Thu, Feb 22, 2018 at 02:05:03PM -0500, Jon Ringle wrote:
> In building the OSELAS.Toolchain 2018.02.0 for arm-v5te, I noticed that the
> resulting cross-gdb didn't have python support in it. I'm a bit perplexed
> on how this is:
> 
> ~/oselas/OSELAS.Toolchain-2018.02.0$ readelf -d
> /opt/OSELAS.Toolchain-2018.02.0/arm-v5te-linux-gnueabi/gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized/bin/arm-v5te-linux-gnueabi-gdb
> |grep python
> 1 ~/oselas/OSELAS.Toolchain-2018.02.0$
> 
> 1) I built on ubuntu 14.04
> 
> 2) ~/oselas/OSELAS.Toolchain-2018.02.0$ ll p
> lrwxrwxrwx 1 jringle-admin jringle-admin 44 Feb 18 09:41 p ->
> /usr/local/lib/ptxdist-2018.02.0/bin/ptxdist*
> 
> 3) I have `python-dev` package installed

This should probably be python3-dev

> 4) rules/cross-gdb.make has the following, but I do not have
> CROSS_GDB_WITHOUT_PYTHON set at all in my environment:

Are you using build_all_v2.mk or build_one.sh? Then
CROSS_GDB_WITHOUT_PYTHON is set to 'y' by default.

Michael

> # define this from the outside to build without python
> ifeq ($(CROSS_GDB_WITHOUT_PYTHON),y)
> CROSS_GDB_CONF_OPT += --without-python
> else
> CROSS_GDB_CONF_OPT += --with-python=python3
> endif
> 
> 5)
> The platform-arm-v5te-linux-gnueabi-gcc-7.3.1-glibc-2.27-binutils-2.30-kernel-4.15-sanitized/logfile
> contains the following output showing that `--without-python` is set (see
> the very last option):
[...]

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-02-22 20:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 19:05 Jon Ringle
2018-02-22 20:34 ` Michael Olbrich [this message]
2018-02-22 20:57   ` Jon Ringle
2018-02-22 22:10     ` Michael Olbrich
2018-02-23 14:20       ` Jon Ringle
2018-02-23 14:24         ` Tim Sander

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=20180222203409.teh2ugnegphvp2dt@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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