
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2016-04-29 10:32 byxdegaye, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| build.patch | xdegaye,2016-04-29 10:32 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg264484 -(view) | Author: Xavier de Gaye (xdegaye)*![]() | 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)*![]() | 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)![]() | 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 | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:30 | admin | set | github: 71071 |
| 2016-06-04 22:44:37 | doko | set | status: open -> closed resolution: fixed |
| 2016-06-04 22:44:12 | python-dev | set | nosy: +python-dev messages: +msg267337 |
| 2016-05-11 19:24:00 | xdegaye | set | messages: +msg265340 |
| 2016-05-03 07:20:51 | xdegaye | set | title: 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:58 | xdegaye | set | nosy: +eric.araujo,dstufft |
| 2016-04-29 11:12:27 | berker.peksag | link | issue26865 dependencies |
| 2016-04-29 10:32:10 | xdegaye | create | |