erik quanstrom
2013-08-04 11:44:28 UTC
i'm unable to compile tojpg (which you may not have, but most any
program should do) for amd64 on mips. here's an example:
; objtype=amd64 mk tojpg.install
6c -FTVw writejpg.c
6c -FTVw multichan.c
6c -FTVw tojpg.c
6l -o 6.tojpg writejpg.6 multichan.6 tojpg.6
cp 6.tojpg /amd64/bin/tojpg
; cpu -h ladd
ladd; png -t9 < amd64.png|tojpg>amd64.jpg
tojpg 277878: suicide: sys: trap: #SS pc=0x215014
acid says that imagmem is 0, and so is mainmem. this must
mean that the data segment is clobbered. can other folks reproduce
this?
i'm guessing that there is a segment rounding issue? i was
actually looking at a different bug when i tripped on this.
they always hide out in bunches.
- erik
program should do) for amd64 on mips. here's an example:
; objtype=amd64 mk tojpg.install
6c -FTVw writejpg.c
6c -FTVw multichan.c
6c -FTVw tojpg.c
6l -o 6.tojpg writejpg.6 multichan.6 tojpg.6
cp 6.tojpg /amd64/bin/tojpg
; cpu -h ladd
ladd; png -t9 < amd64.png|tojpg>amd64.jpg
tojpg 277878: suicide: sys: trap: #SS pc=0x215014
acid says that imagmem is 0, and so is mainmem. this must
mean that the data segment is clobbered. can other folks reproduce
this?
i'm guessing that there is a segment rounding issue? i was
actually looking at a different bug when i tripped on this.
they always hide out in bunches.
- erik