[Gc] Problem with libgc under Solaris 10 x86 (fwd)

Boehm, Hans hans.boehm at hp.com
Thu Mar 10 15:15:43 PST 2005

Repeating an earlier, privately mailed answer for the benefit of anyone
else who might be interested.  Hopefully someone else has more
experience ...

I'm not sure the x86/Solaris port has been tried in a long time.

I assume this is a 32-bit executable?  If so, you might try defining
USE_GENERIC_PUSH_REGS in the X86/SUNOS5 section of gcconfig.h. The X86
architecture grew a lot of registers since this code was written.  The
Sun compiler might use them.  I don't think the collector code knows how
to find them on that platform. If that works, please let me know, and
I'll fix my source.

For 64-bit code, more work is involved.


> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Apostolos 
> Syropoulos
> Sent: Thursday, March 10, 2005 2:54 PM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] Problem with libgc under Solaris 10 x86 (fwd)
>       Hello,
>       I have tried to compile libgc under Solaris 10 x86, but 
> running the test program gives the following error:
> Apparently failed to mark form some function arguments.
> Perhaps GC_push_regs was configured incorrectly?
> Test failed
> Abort (core dumped)
> I have read the README.solaris2 file and I compiled the 
> library using the suggested flags but the results are the 
> same. Can you suggest any solution so I can compile the 
> library correctly?
> Sincerely yours,
> Apostolos Syropoulos
> ****************************************************************
> *Apostolos Syropoulos                                          *
> *snail mail: 366, 28th October Str., GR-671 00  Xanthi, HELLAS *
> *email     : apostolo at ocean1.ee.duth.gr                        *
> *phone num.: +30-2541028704                                    *
> *home page : https://obelix.ee.duth.gr/~apostolo                *
> ****************************************************************
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com 
> https://www.hpl.hp.com/hosted/linux/mail-archives/gc/

More information about the Gc mailing list