Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue26884

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:android: cross-compilation of extension module links to the wrong python library
Type:compile errorStage:
Components:Cross-BuildVersions:Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: Alex.Willmer, dstufft, eric.araujo, python-dev, xdegaye
Priority:normalKeywords:patch

Created on2016-04-29 10:32 byxdegaye, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
build.patchxdegaye,2016-04-29 10:32review
Messages (3)
msg264484 -(view)Author: Xavier de Gaye (xdegaye)*(Python triager)Date: 2016-04-29 10:32
configure of the cross compilation is run with '--enable-shared --with-pydebug'.The cross-compilation fails attempting to link the extension module objects with a non existing libpython3.6m instead of libpython3.6dm, when the native python that is used to run setup.py had not been configured with --with-pydebug.The attached patch fixes this problem.
msg265340 -(view)Author: Xavier de Gaye (xdegaye)*(Python triager)Date: 2016-05-11 19:24
Another description of the problem:* On the build system, the native python (in one of the search directories of PATH) has been built without --with-pydebug.* The cross-compilation is done on this build system with --with-pydebug.* The cross-compilation of all the Python extension modules fails with:    /bin/ld: error: cannot find -lpython3.6m    collect2: error: ld returned 1 exit status
msg267337 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-06-04 22:44
New changesetd00837de03d7 by doko in branch '3.5':- Issue#26884: Fix linking extension modules for cross builds.https://hg.python.org/cpython/rev/d00837de03d7
History
DateUserActionArgs
2022-04-11 14:58:30adminsetgithub: 71071
2016-06-04 22:44:37dokosetstatus: open -> closed
resolution: fixed
2016-06-04 22:44:12python-devsetnosy: +python-dev
messages: +msg267337
2016-05-11 19:24:00xdegayesetmessages: +msg265340
2016-05-03 07:20:51xdegayesettitle: cross-compilation of extension module links to the wrong python library -> android: cross-compilation of extension module links to the wrong python library
2016-05-01 07:08:58xdegayesetnosy: +eric.araujo,dstufft
2016-04-29 11:12:27berker.peksaglinkissue26865 dependencies
2016-04-29 10:32:10xdegayecreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp