From: Branden A. <b.m...@gm...> - 2020-05-27 07:47:29
|
(I do not seem to be getting all the emails from Ken for some reason. I see some message I did not see in Fredrik's response.) >From Ken's experiment, it is interesting that a division by zero can raise a floating point signal but signal(SIGFPE) cannot. Maybe raise(SIGFPE) is not as good a test as we thought. There is at least one other platform where trying to raise(SIGFPE) also does not work exactly as planned (link <https://github.com/libcheck/check/issues/97>). Looking at the commit history to determine why SIGFPE, the test was added in the initial revision of Check (link <https://github.com/libcheck/check/commit/daf41f96162e36a7d31e42f93f833472ef99ee6e#diff-2e4afdbfd1b0a116126cb3022ac187b0R40>). If there was a reason, it may be lost to the sands of time. Perhaps the test needs to be updated to pick another signal to try. Or, maybe inducing a division by zero is a portable way to cause a SIGFPE. - Branden On Tue, May 26, 2020 at 9:19 PM Ken Moffat via Check-devel < che...@li...> wrote: > On Tue, May 26, 2020 at 09:49:49PM +0100, Ken Moffat via Check-devel wrote: > > On Tue, May 26, 2020 at 12:46:01PM -0700, chr...@ma... > wrote: > > > On 2020-05-26 10:09, Ken Moffat via Check-devel wrote: > > > > > Try a -O0 build of glibc and then linux. I'm suggesting this because > you > > > also noticed problems in Bash. > > > > > > Chris > > > I changed my CFLAGS for glibc (only) to -O0 -march=native but no can > do: > > error: #error "glibc cannot be compiled without optimization" > > ĸen > -- > Do you not know that, what you belittle by the name tree is but the > mere four-dimensional analogue of a whole multidimensional universe > which - no, I can see you do not. -- Druellae (a Dryad) > > > _______________________________________________ > Check-devel mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/check-devel > |