bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John David Anglin
On 2020-12-12 5:47 p.m., John Paul Adrian Glaubitz wrote: > And m68k and powerpc most likely. This could also be a bug on 32-bit targets:   CC   libguile_3.0_la-hash.lo ../../guile/libguile/hash.c: In function 'narrow_string_hash': ../../guile/libguile/hash.c:118:34: warning: left shift count

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John Paul Adrian Glaubitz
On 12/12/20 11:44 PM, John David Anglin wrote: > Guess, I should have copied the whole bit: > > The last option is: > #else > /* This should be used as a fall back solution for machines on which >casting to a pointer may lead to loss of bit information, e. g. in >the three least

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John David Anglin
On 2020-12-12 5:30 p.m., John David Anglin wrote: > On 2020-12-12 5:21 p.m., John David Anglin wrote: >> On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: >>> I assume the crash has got something to do how values are packed and >>> unpacked >>> into the SCM object type. I have not been

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John David Anglin
On 2020-12-12 5:21 p.m., John David Anglin wrote: > On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: >> I assume the crash has got something to do how values are packed and unpacked >> into the SCM object type. I have not been able to find the problem yet >> myself, >> unfortunately

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John David Anglin
On 2020-12-12 4:26 p.m., John Paul Adrian Glaubitz wrote: > I assume the crash has got something to do how values are packed and unpacked > into the SCM object type. I have not been able to find the problem yet myself, > unfortunately which is why I am reporting this issue here. I see this in

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John Paul Adrian Glaubitz
Hi! On 12/12/20 11:00 PM, John David Anglin wrote: > Trying to bisect. Bisecting lead me to this which I guess is just painting over the real problem: (sid_powerpc-dchroot)glaubitz@perotto:~/guile-git$ git bisect good a68c80c747a2a8ec92fa84684ebd60b4ecb7ffa0 is the first bad commit commit

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John David Anglin
Hi, I created this debian PR earlier today: Bug#977223: Acknowledgement (guile-3.0: FTBFS on hppa - segmentation faults) In the above, the segmentation fault occurs during exception handling on hppa.  The exception is more or less handled on powerpc: ../meta/build-env                \ guild

bug#45214: guile segfaults on 32-bit big-endian targets

2020-12-12 Thread John Paul Adrian Glaubitz
Hello! As reported in [1], guile segfaults on 32-bit big-endian targets with: guild compile --target="hppa-unknown-linux-gnu"\ -W0 -O1 \ -L "/<>/module" \ -L "/<>/guile-readline" \ -o