I'm having a very similar problem... I can't for the life of me get this to build right.
This is my error:
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
error:command 'gcc' failed with exit status 1
Something tells me the God's don't want us to run this on Solaris.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to build python Solaris 10 having
GCC - version 3.4.3
MySQL - Ver 12.22 Distrib 4.0.24, for sun-solaris2.10
Python - 2.5.1
python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.solaris-2.10-sun4u-2.5/MySQLdb
running build_ext
building '_mysql' extension
creating build/temp.solaris-2.10-sun4u-2.5
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Dversion_in fo=(1,2,2,'final',0) -Dversion=1.2.2 -I/usr/sfw/include/mysql -I/usr/local/includ e/python2.5 -c _mysql.c -o build/temp.solaris-2.10-sun4u-2.5/_mysql.o -xstrconst -mt
gcc: warning:
-x strconst' after last input file has no effect cc1: error: invalid option
t'error: command 'gcc' failed with exit status 1
Does anybody knows workarounds for this?
Thank you.
I'm having a very similar problem... I can't for the life of me get this to build right.
This is my error:
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
error:command 'gcc' failed with exit status 1
Something tells me the God's don't want us to run this on Solaris.
Actually, I just made change in site.cfg file to use threaded and now I get the exact same error...