[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800900: hurd-i386: changeset from r6489 breaks SIGBUS handling



Samuel Thibault a écrit le 04/10/2015 21:19 :
> Hello,
> 
> Gilles Filippini, le Sun 04 Oct 2015 19:48:51 +0200, a écrit :
>> I think the cause of this bus error is the upgrade of glibc from
>> 2.19-19 to 2.19-22 because building with libc0.3 from glibc 2.19-19 is
>> successful.
>>
>> Using bisection on a porterbox I've found out that the guilty commit is
>> r6489 [3].
> 
> Thanks for the investigation!
> 
> That change indeed changes the implementation of raise().  Actually it's
> even a fix, but apparently there are side effects, I'll have a look.

I've had a closer look at H5detect.c and from what I understand it
relies heavily on C macros such as H5_HAVE_SIGSETJMP and
H5_HAVE_SIGLONGJMP. And it happens that these macros aren't defined
anywhere when using the autotools build system, while they are taken
care of by the cmake alternative build system.

Setting these macros by hand, H5detect doesn't fail on Bus error anymore.

Thus I think part of the problem lies in the hdf5 build configuration.
But still there is this glibc fix side effect to understand :/

Thanks,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: