Dear readers,

Recently I upgraded my machine to Trisquel 5.5 (x86_64).

While I used Trisquel 5, I had no issues compiling guile, however now it
appears all hell broke losoe.

When compiling I get to the generation stage of GEN guile-procedures.texi.
The stage ends up with a Segmentation fault. I have been debugging the
lt_guile process with gdb, and some interesting things happened. The
process received SIGPWR and SIGXCPU signals (in a loop), and eventually
ends up with a SIGSEGV message from the procedure: GC_generic_malloc_inner.

I ended up attempting to build the bdw-gc from scratch and link in the 7.1
stable version, but resulting in the same situation.

I have no idea where the problem initiates, as it appears to be happening
in a certain time interval (probably thread switching) and there is no way
to pinpoint the problem in scheme itself. Even just looping around
generates this error.

Now, when I went through the make output I noticed some interesting things
while compiling libguile_2.2_la-weak-table.lo:

weak-table.c: In function 'move_disappearing_links':
weak-table.c:164:7: warning: passing argument 1 of
'GC_unregister_disappearing_link' from incompatible pointer type [enabled
by
default]

/usr/local/include/gc/gc.h:771:12: note: expected 'void **' but argument is
of type 'scm_t_bits *'
weak-table.c:165:7: warning: passing argument 1 of
'GC_general_register_disappearing_link' from incompatible pointer type
[enabled by
default]

/usr/local/include/gc/gc.h:744:12: note: expected 'void **' but argument is
of type 'scm_t_bits *'
weak-table.c:175:7: warning: passing argument 1 of
'GC_unregister_disappearing_link' from incompatible pointer type [enabled
by
default]

/usr/local/include/gc/gc.h:771:12: note: expected 'void **' but argument is
of type 'scm_t_bits *'
weak-table.c:176:7: warning: passing argument 1 of
'GC_general_register_disappearing_link' from incompatible pointer type
[enabled by
default]

/usr/local/include/gc/gc.h:744:12: note: expected 'void **' but argument is
of type 'scm_t_bits *'

And although perhaps less important, when compiling libguile_2.2_la-gc.lo:

gc.c:212:1: warning: 'GC_get_free_space_divisor' defined but not used
[-Wunused-function]

As I can't see anyone (yet) having this problem, I consider it might be
rather unique, but I really would like to know what possibly could be going
wrong and where I should start debugging.

Reply via email to