This message should not be sent to stachless-checkins



--- Begin Message ---
Hello,
    On Solars 10 sparcv9 with Gcc 3.4.3, It's success to make,but will
crash when running:
   CFLAGS="-m64 -mptr64" CPPFLAGS="-m64 -mptr64" LDFLAGS="-m64 -mptr64
-lumem -lthread" ./configure
--prefix=/export/home/mysqlc/python_stackless/

make test:
……
running build_scripts
find ./Lib -name '*.py[co]' -print | xargs rm -f
./python -Wd -3 -E -tt  ./Lib/test/regrtest.py -l
== CPython 2.7.2 Stackless 3.1b3 060516 (default, Jul 30 2012,
13:50:06) [GCC 3.4.3 (csl-sol210-3_4-branch+sol_rpath)]
==   Solaris-2.10-sun4v-sparc-64bit-ELF big-endian
==   
/export/home/mysqlc/open_source/stackless-272-export/build/test_python_25106
Testing with flags: sys.flags(debug=0, py3k_warning=1,
division_warning=1, division_new=0, inspect=0, interactive=0,
optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
ignore_environment=1, tabcheck=2, verbose=0, unicode=0,
bytes_warning=0)
test_grammar
test_opcodes
test_dict
test_builtin
make: *** [test] Segmentation Fault (core dumped)
./python -Wd -3 -E -tt  ./Lib/test/regrtest.py -l
== CPython 2.7.2 Stackless 3.1b3 060516 (default, Jul 30 2012,
13:50:06) [GCC 3.4.3 (csl-sol210-3_4-branch+sol_rpath)]
==   Solaris-2.10-sun4v-sparc-64bit-ELF big-endian
==   
/export/home/mysqlc/open_source/stackless-272-export/build/test_python_25111
Testing with flags: sys.flags(debug=0, py3k_warning=1,
division_warning=1, division_new=0, inspect=0, interactive=0,
optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
ignore_environment=1, tabcheck=2, verbose=0, unicode=0,
bytes_warning=0)
test_grammar
test_opcodes
test_dict
test_builtin
make: *** [test] Segmentation Fault (core dumped)

dbx:
t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address)
0xffffffffffffffff:     <bad address 0xffffffffffffffff>
Current function is climb_stack_and_eval_frame
  298           if (stackref > ts->st.cstack_base)
(dbx) where
current thread: t@1
  [1] 0x74b4b8(0x10074a930, 0x10030c800, 0x100000000, 0x1, 0x30c800,
0x0), at 0x74b4b8
=>[2] climb_stack_and_eval_frame(f = 0x10074a930), line 298 in "stacklesseval.c"
  [3] slp_eval_frame(f = 0x10074a930), line 299 in "stacklesseval.c"
  [4] PyEval_EvalCodeEx(co = 0x10076ff30, globals = (nil), locals 0x1002b9868, 
args = (nil), argcount = 0, kws = (nil), kwcount = 0,
defs = (nil), defcount = 0, closure = (nil)), line 3559 in "ceval.c"
  [5] PyEval_EvalCode(co = 0x10076ff30, globals = 0x1005ed230, locals
= 0x1005ed230), line 669 in "ceval.c"
  [6] PyRun_FileExFlags(fp = (nil), filename = 0xffffffff7ffffb97
"./Lib/test/regrtest.py", start = 3195904, globals = 0x1005ed230,
locals = 0x1005ed230, closeit = 7798576, flags = 0xffffffff7ffff87c),
line 1378 in "pythonrun.c"
  [7] PyRun_SimpleFileExFlags(fp = 0x100310d20, filename 0xffffffff7ffffb97 
"./Lib/test/regrtest.py", closeit = 1, flags 0xffffffff7ffff87c), line 954 in 
"pythonrun.c"
  [8] Py_Main(argc = -1, argv = 0xffffffff7ffff9c8), line 599 in "main.c"

but it's works under 32bit.

when i use Sun Studio 12 to build:
CC='/export/home/mysqlc/sunstudio/SUNWspro/bin/cc -D__GNUC__'
CXX='/export/home/mysqlc/sunstudio/SUNWspro/bin/CC -D__GNUC__'
CFLAGS="-m64 -mptr64" CPPFLAGS="-m64 -mptr64" LDFLAGS="-m64 -mptr64
-mt -lumem -lthread" ./configure
--prefix=/export/home/mysqlc/python_stackless/

i got:
"Objects/classobject.c", line 263: operands have incompatible types:
         pointer to function(pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type}, pointer to
struct _object {long ob_refcnt, pointer to struct _typeobject {..}
ob_type}, pointer to struct _object {long ob_refcnt, pointer to struct
_typeobject {..} ob_type}) returning pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type} ":" pointer to
void
"Objects/classobject.c", line 743: operands have incompatible types:
         pointer to function(pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type}, pointer to
struct _object {long ob_refcnt, pointer to struct _typeobject {..}
ob_type}, pointer to struct _object {long ob_refcnt, pointer to struct
_typeobject {..} ob_type}) returning pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type} ":" pointer to
void
"Objects/classobject.c", line 2297: warning: initialization type mismatch
"Objects/classobject.c", line 2317: operands have incompatible types:
         pointer to function(pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type}, pointer to
struct _object {long ob_refcnt, pointer to struct _typeobject {..}
ob_type}, pointer to struct _object {long ob_refcnt, pointer to struct
_typeobject {..} ob_type}) returning pointer to struct _object {long
ob_refcnt, pointer to struct _typeobject {..} ob_type} ":" pointer to
void
cc: acomp failed for Objects/classobject.c
make: *** [Objects/classobject.o] Error 2

how can i build it on solaris 10 sparcv9 ?


--- End Message ---
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to