[Python-bugs-list] [ python-Bugs-404322 ] Python 2.1a and solaris8/x86

nobody nobody@sourceforge.net
Mon, 26 Feb 2001 08:17:31 -0800


Artifact #404322, was updated on 2001-02-26 08:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=404322&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous
Assigned to: Nobody/Anonymous
Summary: Python 2.1a and solaris8/x86

Initial Comment:
Python 2.1a does not build on Solaris8/X86 with 
gcc 2.95.2 and gmake. The problem has been observed
both with the version of gcc 2.95.2 precompiled from
Sun and with a version bootstrapped on the host where
Python should be built.

'uname -a' says: 
SunOS clutc 5.8 Generic_108529-01 i86pc i386 i86pc

Compilation has been started with
$ ./configure && gmake

The problem occurs in the link step, output is:

gcc   -o python Modules/python.o \
                libpython2.1.a -lpthread -lsocket -lnsl
-ldl  -lthread   -lm  
./python ./setup.py build
Text relocation remains                        
referenced
    against symbol                  offset      in file
_xstat                              0x12       
build/temp.solaris-2.8-i86pc-2.1
/structmodule.o
_lxstat                             0x2a       
build/temp.solaris-2.8-i86pc-2.1
/structmodule.o
_fxstat                             0x42       
build/temp.solaris-2.8-i86pc-2.1
/structmodule.o
_xmknod                             0x5a       
build/temp.solaris-2.8-i86pc-2.1
/structmodule.o
PyInt_AsLong                        0x6e       
build/temp.solaris-2.8-i86pc-2.1
<snip, very long list of similar messages follows,
snip>
ld: fatal: relocations remain against allocatable but
non-writable sections
collect2: ld returned 1 exit status
Text relocation remains                        
referenced
    against symbol                  offset      in file
_xstat                              0x12       
build/temp.solaris-2.8-i86pc-2.1
/regexmodule.o
_xstat                              0x12       
build/temp.solaris-2.8-i86pc-2.1
<again an endless list of similar messages is
following>


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=404322&group_id=5470