[Gc] Undefined references to G_save_regs_in_stack, GC_find_limit on sparc64-openbsd

Jon Merriman jmerrima at gonzaga.edu
Mon Feb 2 02:37:57 PST 2004

Attempting to link any program with libgc results in the following 

mach_dep.o(.text+0x4): In function `GC_push_regs':
/home/jonm/src/thirdparty/gc6.3alpha4/mach_dep.c:320: undefined 
reference to `GC_save_regs_in_stack'
os_dep.o(.text+0x14): In function `GC_init_netbsd_elf':
/home/jonm/src/thirdparty/gc6.3alpha4/os_dep.c:389: undefined reference 
to `GC_find_limit'

I grepped for GC_find_limit and was unable to find where this function 
was defined. Has this even been implemented yet?

Jon Merriman

More information about the Gc mailing list