[New-bugs-announce] [issue14882] Link/Compile Error on Sun Sparc Solaris10 with gcc3.4.3----python2.6.8

Chang Xiaojiang report at bugs.python.org
Tue May 22 11:31:45 CEST 2012


New submission from Chang Xiaojiang <chang847 at oki.com>:

I download the source package of python2.6.8from http://www.python.org/getit/releases/2.6.8/, and start a build on my Sun Sparc Solaris10 with gcc3.4.3 which is preinstalled.But the following error logs are reported.
gcc -shared build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/_ctypes.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/callbacks.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/callproc.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/stgdict.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/cfield.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/malloc_closure.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/prep_cif.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/ffi.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v9.o -L/usr/local/lib -o build/lib.solaris-2.10-sun4u-2.6/_ctypes.so -mimpure-text
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed638e7 が整列していません。
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed638ed が整列していません。
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed638f1 が整列していません。
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed638f5 が整列していません。
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed73d5a が整列していません。
ld: 重大なエラー: 再配置エラー: R_SPARC_32: ファイル build/temp.solaris-2.10-sun4u-2.6/export/diskArray/changxiaojiang/Mercurial/python-src/Python-2.6.8/Modules/_ctypes/libffi/src/sparc/v8.o: シンボル <不明>: オフセット 0xfed75dfe が整列していません。
collect2: ld returned 1 exit status

Failed to find the necessary bits to build these modules:
_bsddb             _sqlite3           _tkinter
bsddb185           gdbm               linuxaudiodev
ossaudiodev        readline
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_ctypes            _curses            _curses_panel
_hashlib           _ssl

running build_scripts

Anyone can tell me what's wrong?
>From some website, I was told that this is caused by a fault of Solaris's gcc.To fix it, I need to recompile the gcc and reinstall it.But I donnot want to do so.Because it is a public server.

----------
components: None
messages: 161344
nosy: seeker77
priority: normal
severity: normal
status: open
title: Link/Compile Error on Sun Sparc Solaris10 with gcc3.4.3----python2.6.8
type: compile error
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14882>
_______________________________________


More information about the New-bugs-announce mailing list