Steve Ellcey <[EMAIL PROTECTED]> writes: > I was hoping the next release of guile would be buildable on IA64 HP-UX. > The change that is needed is to modify libguile/continuations.c, > libguile/continuations.h, and libguile/gc.c to have ifdefs on IA64 > instead of __ia64__. > > IA64 is set in libguile/gc_os_dep.c only for IA64 Linux. __ia64__ is set > by GCC (and other compilers) for both Linux and HP-UX. But the code > that is under the __ia64__ ifdef is Linux specific and will not compile > on HP-UX.
I'll need to think about this for a moment. We can't use IA64 directly if it's only defined in gc_os_dep.c, since that's not something continuations.c or gc.c can see. I also don't want to introduce any new header symbols during a stable release, so the least intrusive change would probably be to copy the detection logic from gc_os_dep.c (or something similar) to continuations.c and gc.c. I haven't investigated carefully yet -- do you have any idea offhand if the __ia64__ guarded bits in those files are absolutely Linux specific? If we're not *sure*, then we'll need to reverse the sense of the test and just exclude HP-UX so that we don't accidentally break some other ia64 platform. > | ERROR: In procedure variable-set-name-hint!: > | ERROR: Wrong type argument in position 2 (expecting SYMBOLP): #<freed cell > 40050f00; GC missed a reference> I can't recall if I already asked this, but could you re-try with the 1.6.8-rc0 archive (or current 1.6 CVS)? > I don't know if this is a known issue or IA64 specific or what since I > am not that familiar with guile (I mostly just want to build autogen). We had a similar problem on ia64/Linux, but with rc0 it seems to have vanished, at least on the machine I tested. We still have a problem on m68k. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel