Port-hp700 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Cannot build python 2.6.7 package on -current



Hi,

I have a B180L+ running 5.99.59 and am trying to make a workstation out of it:

cpu0 at mainbus0 hpa 0xfffbe000 path 62 irq 31 ipl 0: PA7300LC (Velociraptor) 
rev 12
cpu0: PCXL2, PA-RISC 1.1e, lev 1, cat A, 180 MHz clk
cpu0: shadows, 64K/64K D/I caches, 96 shared TLB, 8 shared BTLB
cpu0: VR floating point, rev 1

Python itself builds (with -march=1.1 -mschedule=7300), but fails to compile 
test_float.py:

Compiling 
/tmp/obj/lang/python26/work.hppa/.destdir/usr/pkg/lib/python2.6/test/test_float.py
 ...
[1]   Illegal instruction (core dumped) PYTHONPATH=/tmp/...

Program received signal SIGILL, Illegal instruction.
0x30481eb0 in _Py_HashDouble () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
(gdb) bt
#0  0x30481eb0 in _Py_HashDouble () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#1  0x30481d38 in PyObject_Hash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#2  0x30497ffc in tuplehash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#3  0x30481d38 in PyObject_Hash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#4  0x30454208 in code_hash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#5  0x30481d38 in PyObject_Hash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#6  0x30497ffc in tuplehash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#7  0x30481d38 in PyObject_Hash () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#8  0x3047d498 in PyDict_GetItem () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#9  0x304ec38c in compiler_add_o.clone.16 () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#10 0x304ec700 in compiler_addop_o () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#11 0x304ec9c0 in compiler_make_closure () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
#12 0x304ec9c0 in compiler_make_closure () from 
/tmp/obj/lang/python26/work.hppa/Python-2.6.7/libpython2.6.so.1.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

(gdb) disass
<...>
   0x30481eac <+220>:   fcnvfxt,dbl,sgl fr23,fr25
=> 0x30481eb0 <+224>:   fcnvxf,sgl,dbl fr25,fr24
   0x30481eb4 <+228>:   fstw fr25,-10(sp)
<...>

registers:

flags          *value not available*
r1             0x3058fe98       811138712
rp             0x30481e93       810032787
r3             0x0      0
r4             0x3058ee98       811134616
r5             0x302d9658       808293976
r6             0x30238cd8       807636184
r7             0xda2f0e65       3660516965
r8             0x14258  82520
r9             0x0      0
r10            0x0      0
r11            0x0      0
r12            0x3057a208       811049480
r13            0x30296380       808018816
r14            0x0      0
r15            0x30105080       806375552
r16            0x3018b1d4       806924756
r17            0x302c8534       808224052
r18            0x3059887c       811174012
r19            0x3058ee98       811134616
r20            0x7ff40000       2146697216
r21            0x7fefffff       2146435071
r22            0x0      0
r23            0x5c     92
r24            0x70003e88       1879064200
r25            0x3056e240       811000384
r26            0x302d9658       808293976
dp             0x1114c  69964
ret0           0x3053f6a8       810809000
ret1           0x4cb2f  314159
sp             0x70003f00       1879064320
r31            0x0      0
sar            0x4      4
pcoqh          0x30481eb3       810032819
pcsqh          0x11     17
pcoqt          0x30481eb7       810032823
pcsqt          0x11     17
eiem           *value not available*
iir            *value not available*
isr            *value not available*
ior            *value not available*
ipsw           0x4f70f  325391
goto           *value not available*
sr4            0x11     17
sr0            0x11     17
sr1            0x11     17
sr2            0x11     17
sr3            0x11     17
sr5            *value not available*
sr6            *value not available*
sr7            *value not available*
cr0            *value not available*
cr8            *value not available*
cr9            *value not available*
ccr            *value not available*
cr12           *value not available*
cr13           *value not available*
cr24           *value not available*
cr25           *value not available*
cr26           *value not available*
cr27           *value not available*
cr28           *value not available*
cr29           *value not available*
cr30           *value not available*
fpsr           0xa8177800       2820110336
fpe1           0x0      0
fpe2           0x0      0
fpe3           0x0      0
fpe4           0x0      0
fpe5           0x0      0
fpe6           0x0      0
fpe7           0x0      0
fr4            nan(0x740000)    (raw 0x7ff40000)
fr4R           0        (raw 0x00000000)
fr5            nan(0x740000)    (raw 0x7ff40000)
fr5R           0        (raw 0x00000000)
fr6            0        (raw 0x00000000)
fr6R           0        (raw 0x00000000)
fr7            0        (raw 0x00000000)
fr7R           0        (raw 0x00000000)
fr8            1.59722197       (raw 0x3fcc71c5)
fr8R           3.77118709e-21   (raw 0x1d8e78af)
fr9            1.55683565       (raw 0x3fc74664)
fr9R           -3.27988594e-25  (raw 0x96cb03de)
fr10           0        (raw 0x00000000)
fr10R          0        (raw 0x00000000)
fr11           0        (raw 0x00000000)
fr11R          0        (raw 0x00000000)
fr12           nan(0x740000)    (raw 0x7ff40000)
fr12R          0        (raw 0x00000000)
fr13           0        (raw 0x00000000)
fr13R          0        (raw 0x00000000)
fr14           0        (raw 0x00000000)
fr14R          0        (raw 0x00000000)
fr15           0        (raw 0x00000000)
fr15R          0        (raw 0x00000000)
fr16           0        (raw 0x00000000)
fr16R          0        (raw 0x00000000)
fr17           0        (raw 0x00000000)
fr17R          0        (raw 0x00000000)
fr18           0        (raw 0x00000000)
fr18R          0        (raw 0x00000000)
fr19           0        (raw 0x00000000)
fr19R          0        (raw 0x00000000)
fr20           0        (raw 0x00000000)
fr20R          0        (raw 0x00000000)
fr21           0        (raw 0x00000000)
fr21R          0        (raw 0x00000000)
fr22           28       (raw 0x41e00000)
fr22R          0        (raw 0x00000000)
fr23           nan(0x740000)    (raw 0x7ff40000)
fr23R          0        (raw 0x00000000)
fr24           -26.0999985      (raw 0xc1d0cccc)
fr24R          -100663296       (raw 0xccc00000)
fr25           -0.0250000004    (raw 0xbccccccd)
fr25R          2.92649063e+24   (raw 0x681aed58)
fr26           1.79167747       (raw 0x3fe555b0)
fr26R          -4.17050563e-13  (raw 0xaaeac752)
fr27           2.00993013       (raw 0x4000a2b2)
fr27R          0.65625  (raw 0x3f280000)
fr28           1.79166663       (raw 0x3fe55555)
fr28R          1.46602197e+13   (raw 0x55555593)
fr29           1.70001686       (raw 0x3fd99a27)
fr29R          -1.01674129e-11  (raw 0xad32ddf5)
fr30           1.69999993       (raw 0x3fd99999)
fr30R          -1.57140146e-23  (raw 0x9997fa04)
fr31           1.64285707       (raw 0x3fd24924)
fr31R          -8.20796907e-27  (raw 0x94229359)

--
Sergey Svishchev

Attachment: pgpm1yYo3nXOj.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index