[Gc] Porting gc to Linux Cris

Simon Posnjak simon.posnjak at siol.net
Wed Oct 6 07:19:18 PDT 2004

Hi all,

I am trying to port gc to Linux running on Axis Cris
(https://developer.axis.com). The simple example program runs perfectly,
but when I run the test program i get segmentation fault or the
following message:

/var # ./test
List reversal produced incorrect list - collector is broken
Test failed

The memory consuption at this point is abut 3.5MB.

Any ideas how to fix this?

The test platform has 16 MB of RAM (about 10 of it is free for the
test). I am running the Linux kernel 2.4.26. The C lib is uClibc
(https://www.uclibc.org) - I also tried with glibc but the result is the

I attached my patch - could somebody please look over it and tell if I
did something wrong. Thank you.

		Regards Simon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc6.3-cris.diff
Type: text/x-patch
Size: 3482 bytes
Desc: not available
Url : https://napali.hpl.hp.com/pipermail/gc/attachments/20041006/33f87f90/gc6.3-cris.bin

More information about the Gc mailing list