9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] 5l problem on python276 compilation
@ 2020-07-12  0:22 kokamoto
  2020-07-12  5:29 ` kokamoto
  0 siblings, 1 reply; 9+ messages in thread
From: kokamoto @ 2020-07-12  0:22 UTC (permalink / raw)
  To: kokamoto, 9front

Ok, revised error message is as follows:

mkconfig config-$objtype >config-$objtype.c
pcc -TVwc -I.. -I../Include -DTarm -DPLAN9APE -DPy_BUILD_CORE -DNDEBUG config-arm.c
pcc  -o 5.out config-arm.5 python.5 libpython.a5 libz.a5 libbz2.a5 /arm/lib/ape/libmp.a /arm/lib/ape/libsec.a /arm/lib/ape/lib9.a
@{
	cd ..
	Plan9/5.out -E -S -m sysconfig --generate-posix-vars
}
5.out 7040: warning: emulated arm7500 fpa instr 0xee500110 at 0x22ae90
5.out 7040: suicide: illegal instruction: VFP opcode in emulated mode
mk: @{  cd ...  : exit status=rc 7037: rc 7039: 5.out 7040: illegal instruction: VFP opcode in emulated mode, deleting '../pybuilddir.txt'../pybuilddir.txt: '../pybuilddir.txt' directory entry not found

mk: @{  cd ...  : exit status=rc 719: rc 721: mk 6948: error
mk 714: error


Acid examination is as:

term% acid 7040
/proc/7040/text:arm plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/arm
acid: stk()
collect(generation=0x0)+0x28 /usr/sys/src/python276/cpython/Modules/gcmodule.c:882
collect_generations()+0x74 /usr/sys/src/python276/cpython/Modules/gcmodule.c:1050
_PyObject_GC_Malloc()+0xb8 /usr/sys/src/python276/cpython/Modules/gcmodule.c:1510
PyType_GenericAlloc(nitems=0x0,type=0x25a0cc)+0x3c /usr/sys/src/python276/cpython/Objects/typeobject.c:761
descr_new(name=0x389d59,type=0x320d00)+0x8 /usr/sys/src/python276/cpython/Objects/descrobject.c:614
PyDescr_NewWrapper(base=0x303d9c,wrapped=0x196840)+0x18 /usr/sys/src/python276/cpython/Objects/descrobject.c:680
add_operators(type=0x320d00)+0x10c /usr/sys/src/python276/cpython/Objects/typeobject.c:6412
PyType_Ready(type=0x320d00)+0xd0 /usr/sys/src/python276/cpython/Objects/typeobject.c:4041
_Py_ReadyTypes()+0x180 /usr/sys/src/python276/cpython/Objects/object.c:2131
Py_InitializeEx(install_sigs=0x1)+0x18c /usr/sys/src/python276/cpython/Python/pythonrun.c:189
Py_Initialize()+0x4 /usr/sys/src/python276/cpython/Python/pythonrun.c:382
Py_Main(argv=0x3fffff74,argc=0x6)+0x368 /usr/sys/src/python276/cpython/Modules/main.c:544
main(argc=0x6,argv=0x3fffff74)+0xb8 /usr/sys/src/python276/cpython/Plan9/python.c:55
_main+0x58 /sys/src/ape/lib/ap/arm/main9.s:37
acid: 

>emulated arm7500 fpa instr 0xee500110 at 0x22ae90
and
>illegal instruction: VFP opcode in emulated mode
error messages are from the kernel of arm machine at 9/bcm/vfp3.c.

What I should check for this?

Kenji



^ permalink raw reply	[flat|nested] 9+ messages in thread
* 5l problem on python276 compilation
@ 2020-07-11 22:10 kokamoto
  2020-07-11 22:28 ` [9front] " kokamoto
  0 siblings, 1 reply; 9+ messages in thread
From: kokamoto @ 2020-07-11 22:10 UTC (permalink / raw)
  To: 9front

When I compiled python276 on arm machine, I got alignment error, and
acid shows as:
term% acid 542 (542 is 5l process number)
/proc/542/text:arm plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/arm
acid: stk()
ldobj(f=0x4,pn=0x3ffffd54,c=0x6d0)+0x8cc /sys/src/cmd/5l/obj.c:1054
objfile(file=0x3fffff55)+0x4f8 /sys/src/cmd/5l/obj.c:415
main(argc=0x9,argv=0x3fffff14)+0x32c /sys/src/cmd/5l/obj.c:242
_main+0x28 /sys/src/libc/arm/main9.s:19
acid: 

Kenji



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-07-14  4:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12  0:22 [9front] 5l problem on python276 compilation kokamoto
2020-07-12  5:29 ` kokamoto
2020-07-12  5:38   ` ori
2020-07-12 23:30     ` kokamoto
2020-07-13  2:42       ` kokamoto
2020-07-13  3:20         ` ori
2020-07-14  4:58           ` kokamoto
  -- strict thread matches above, loose matches on Subject: below --
2020-07-11 22:10 kokamoto
2020-07-11 22:28 ` [9front] " kokamoto
2020-07-12  0:22   ` kokamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).