[fpc-pascal]some problem with cthreads in ARM

Jose Pascual josepascual at almudi.com
Wed Jul 7 22:03:00 CEST 2004


first of all, thank you for ARM version (beta). 
I finally can build a ppcrossarm version 1.9.5. Everyhing has been built
but DBASE packet
because it's necessary to add some {$ifdef} to avoid intel dependences.

there is a bug with the code generate by pccrossarm compiler for project
with multithreading,
I don't know why but in procedure init_all_unit_threadvars during
init_unit_threadvars for i=15
generate a segmentation fault because tableEntry^.varaddr = nil but code
think is not. I don't still know 
where is the problem exactly. Using Gdb tableEntry^.varaddr is equal to
0 (nil) but the code load in
register r0 a non-zero value.

I'm going to try with a different gcc version to generate pccrossarm,
could it be the problem?
is there some gcc version to generate ppcrossarm I shoul use?

thank you in advanced
best regards

More information about the fpc-pascal mailing list