All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: Vincent Fazio <vfazio@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/python3: fix cross builds when host and target use the same SOABI
Date: Mon, 06 May 2024 13:47:41 +0200	[thread overview]
Message-ID: <875xvr17s2.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20240403211805.3100506-1-vfazio@gmail.com> (Vincent Fazio's message of "Wed, 3 Apr 2024 16:18:05 -0500")

>>>>> "Vincent" == Vincent Fazio <vfazio@gmail.com> writes:

 > When python performs a cross compile, it uses a host interpreter to run
 > steps on behalf of the foreign architecture to finalize the build.

 > When performing these steps, foreign modules may be loaded if the SOABI
 > matches that of the host. This can lead to issues if the modules are
 > linked against a libc not available on the host or if the binaries
 > include instructions unsupported by the host.

 > For now, patch the foreign libraries out of PYTHONPATH and explicitly
 > define the path to sysconfigdata so builds can complete without error.

 > This method currently passes all upstream CI pipelines [0] and should
 > also work (with some modifications) for the migration to 3.12 [1].

 > Fixes: http://autobuild.buildroot.net/results/c854080e003e9a7d525325073190b472a8f982aa/
 > [0]: https://github.com/python/cpython/pull/116294
 > [1]: https://lists.buildroot.org/pipermail/buildroot/2024-February/685369.html

 > Signed-off-by: Vincent Fazio <vfazio@gmail.com>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-05-06 11:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-03 21:18 [Buildroot] [PATCH 1/1] package/python3: fix cross builds when host and target use the same SOABI Vincent Fazio
2024-04-09 21:57 ` Yann E. MORIN
2024-05-06 11:47 ` Peter Korsgaard [this message]

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=875xvr17s2.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vfazio@gmail.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 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.