This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
标题: replace use of uname in the configury with macros set by AC_CANONICAL_HOST
类型: Stage:
Components: Cross-Build Versions:
process
状态: closed Resolution:
Dependencies: 后续:
分配给: doko 抄送列表: Arfrever, doko, python-dev
优先级: normal 关键字: needs review, patch

Created on 2012-03-15 20:14 by doko, last changed 2022-04-11 14:57 by admin. This issue is now closed.

文件
文件名 上传时间 Description 编辑
no-uname-for-cross.diff doko, 2012-03-15 21:17 no-uname-for-cross.diff review
Messages (6)
msg155950 - (view) Author: Matthias Klose (doko) * (Python committer) 日期: 2012-03-15 20:14
the configury uses uname, which fails for cross builds. this issue tracks patches tor replace the uname calls with the use of macros set by AC_CANONICAL_HOST (host*, build*)
msg155952 - (view) Author: Matthias Klose (doko) * (Python committer) 日期: 2012-03-15 20:18
call AC_CANONICAL_HOST and check in config.{guess,sub},
taken from git://git.savannah.gnu.org/config.git

--- a/configure.ac	Thu Mar 15 20:42:23 2012 +0100
+++ b/configure.ac	Thu Mar 15 21:17:32 2012 +0100
@@ -33,6 +33,8 @@
 AC_CONFIG_SRCDIR([Include/object.h])
 AC_CONFIG_HEADER(pyconfig.h)
 
+AC_CANONICAL_HOST
+
 dnl Ensure that if prefix is specified, it does not end in a slash. If
 dnl it does, we get path names containing '//' which is both ugly and
 dnl can cause trouble.
msg155954 - (view) Author: Roundup Robot (python-dev) (Python triager) 日期: 2012-03-15 20:30
New changeset 04aa26c572ba by Matthias Klose in branch 'default':
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
http://hg.python.org/cpython/rev/04aa26c572ba
msg155957 - (view) Author: Matthias Klose (doko) * (Python committer) 日期: 2012-03-15 21:17
the following patch still keeps the uname calls for native builds, but sets the ac_sys_* macros depending on $host for cross builds. For now the cross configure fails for everything except linux and cygwin targets.
msg155958 - (view) Author: Roundup Robot (python-dev) (Python triager) 日期: 2012-03-15 21:19
New changeset d0cce5a2c0cf by Matthias Klose in branch 'default':
- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in
http://hg.python.org/cpython/rev/d0cce5a2c0cf
msg164323 - (view) Author: Matthias Klose (doko) * (Python committer) 日期: 2012-06-29 11:13
that was checked in
历史
日期 用户 动作 参数
2022-04-11 14:57:28admin修改github: 58535
2012-06-29 11:13:00doko修改状态: open -> closed

消息: + msg164323
2012-03-15 22:20:23Arfrever修改抄送: + Arfrever
2012-03-15 21:19:37python-dev修改消息: + msg155958
2012-03-15 21:17:00doko修改文件: + no-uname-for-cross.diff
keywords: + patch
消息: + msg155957
2012-03-15 20:30:37python-dev修改抄送: + python-dev
消息: + msg155954
2012-03-15 20:18:36doko修改消息: + msg155952
2012-03-15 20:14:32doko创建