9front - general discussion about 9front
 help / color / mirror / Atom feed
* 5l problem on python276 compilation
@ 2020-07-11 22:10 kokamoto
  2020-07-11 22:28 ` [9front] " kokamoto
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

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

I forgot to include the 5l line which caused this error:

mk
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
/5l 511: suicide: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
pcc: 5l: 5l 511: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
mk: pcc  -o ...  : exit status=rc 508: pcc 510: 5l: 5l 511: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
mk: @{  cd ...  : exit status=rc 450: rc 452: mk 453: error

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] 3+ messages in thread

* Re: [9front] 5l problem on python276 compilation
  2020-07-11 22:28 ` [9front] " kokamoto
@ 2020-07-12  0:22   ` kokamoto
  0 siblings, 0 replies; 3+ messages in thread
From: kokamoto @ 2020-07-12  0:22 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

I forgot to update the 5l sources, obj.c was updated
at May 2020.

Sorry noise

Kenji

[-- Attachment #2: Type: message/rfc822, Size: 3024 bytes --]

From: kokamoto@hera.eonet.ne.jp
To: 9front@9front.org
Subject: Re: [9front] 5l problem on python276 compilation
Date: Sun, 12 Jul 2020 07:28:46 +0900
Message-ID: <91DD69073E2788CF105B0444B1B590CD@hera.eonet.ne.jp>

I forgot to include the 5l line which caused this error:

mk
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
/5l 511: suicide: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
pcc: 5l: 5l 511: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
mk: pcc  -o ...  : exit status=rc 508: pcc 510: 5l: 5l 511: sys: alignment: pc 0x9cac va 0x1ff7c1
 pc=0x9cac
mk: @{  cd ...  : exit status=rc 450: rc 452: mk 453: error

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] 3+ messages in thread

end of thread, other threads:[~2020-07-12  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-11 22:10 5l problem on python276 compilation 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).