On 08.01.2018 11:33, Mason wrote:
Can you apply the following patch and report what was printed?
A oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
B oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
A oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
B oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
(segfaults)
With O2
A oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
B oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
A oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
B oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
A oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
B oldpos=0 i=0 size=32 name=/home/alarm/amiberry-dev zipname=(null)
size=4096 seek=0
The thing is that the emulator "expects" kickstart rom files in
kickstart/ - if those files are present there's no segfault with Ofast.
It only segfaults if there are no kickstart rom files there.
With kickstart files in place, this happens:
A oldpos=0 i=11 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=11
B oldpos=0 i=32 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=32
A oldpos=0 i=11 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=11
B oldpos=0 i=32 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=32
A oldpos=0 i=11 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=11
B oldpos=0 i=32 size=32 name=KS ROM v1.3 (A500,A1000,A2000)
zipname=(null) size=262144 seek=32