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.
Created on 2008年12月04日 18:25 by kraai, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| fix-qnx-build-errors | kraai, 2008年12月04日 18:25 | Patch | ||
| Messages (4) | |||
|---|---|---|---|
| msg76912 - (view) | Author: Matt Kraai (kraai) | Date: 2008年12月04日 18:25 | |
When I try to build Python 3.0 on QNX 6.3.2, the build has the following error: gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c Python/pythonrun.c: In function `Py_InitializeEx': ... Python/pythonrun.c:180: `LC_CTYPE' undeclared (first use in this function) Python/pythonrun.c:180: (Each undeclared identifier is reported only once Python/pythonrun.c:180: for each function it appears in.) ... make: *** [Python/pythonrun.o] Error 1 LC_CTYPE is defined in locale.h, which isn't included because HAVE_LANGINFO_H isn't defined because QNX 6.3.2 doesn't provide langinfo.h. The setlocale call in the trunk is guarded by HAVE_LANGINFO_H, so maybe that should be done here as well. Once this error has been fixed, the following error occurs: gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -DPYTHONPATH='":plat-qnx6"' \ -DPREFIX='"/usr/local"' \ -DEXEC_PREFIX='"/usr/local"' \ -DVERSION='"3.0"' \ -DVPATH='""' \ -o Modules/getpath.o ./Modules/getpath.c ./Modules/getpath.c:132: invalid initializer ... make: *** [Modules/getpath.o] Error 1 This version of GCC apparently cannot handle wchar_t array initializers. This can be worked around by changing the type of lib_python to a wchar_t pointer instead. |
|||
| msg76923 - (view) | Author: Christian Heimes (christian.heimes) * (Python committer) | Date: 2008年12月04日 20:28 | |
The patch is looking good to me. |
|||
| msg76942 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2008年12月04日 23:14 | |
Why is this a release blocker? QNX is not a supported platform, so failures on it cannot possibly block a release. |
|||
| msg99871 - (view) | Author: A.M. Kuchling (akuchling) * (Python committer) | Date: 2010年02月22日 23:27 | |
Committed to Python 3.2-trunk as rev78347. Thanks for your patch! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:42 | admin | set | github: 48782 |
| 2010年02月22日 23:27:04 | akuchling | set | status: open -> closed nosy: + akuchling messages: + msg99871 resolution: accepted |
| 2008年12月10日 08:23:23 | loewis | set | priority: release blocker -> normal |
| 2008年12月04日 23:14:09 | loewis | set | nosy:
+ loewis messages: + msg76942 |
| 2008年12月04日 20:28:46 | christian.heimes | set | priority: release blocker nosy: + christian.heimes messages: + msg76923 stage: patch review |
| 2008年12月04日 18:25:13 | kraai | create | |