Re: [lfs-support] SIGFPE not generated by raise

2020-06-08 Thread Ken Moffat
On Mon, Jun 08, 2020 at 06:11:53PM +0300, Αγαθοκλής wrote: > On Sun, Jun 07, at 10:51 Bruce wrote: > > On 6/7/20 10:35 AM, Ken Moffat wrote: > > > On Sun, Jun 07, 2020 at 03:43:30PM +0100, Ken Moffat wrote: > > > > Finally replying to this: > > Hi Ken, > > I was meant to ask you about this, to

Re: [lfs-support] SIGFPE not generated by raise

2020-06-08 Thread Αγαθοκλής
On Sun, Jun 07, at 10:51 Bruce wrote: > On 6/7/20 10:35 AM, Ken Moffat wrote: > > On Sun, Jun 07, 2020 at 03:43:30PM +0100, Ken Moffat wrote: > > > Finally replying to this: Hi Ken, I was meant to ask you about this, to verify that the issue was really -march=native, because in that case it

Re: [lfs-support] SIGFPE not generated by raise

2020-06-07 Thread Ken Moffat
On Sun, Jun 07, 2020 at 10:51:22AM -0500, Bruce Dubbs wrote: > On 6/7/20 10:35 AM, Ken Moffat wrote: > > On Sun, Jun 07, 2020 at 03:43:30PM +0100, Ken Moffat wrote: > > > > So, I've been looking in the wrong place, it's embedded perl in > > rxvt-unicode: google found > >

Re: [lfs-support] SIGFPE not generated by raise

2020-06-07 Thread Ken Moffat
On Sun, Jun 07, 2020 at 03:43:30PM +0100, Ken Moffat wrote: > Finally replying to this: > > I did use that system for a fresh build, but the sigfpe problem was > present in the tests for both bash and check (building from xorg). > > Then I booted the latest system (last night) and the check

Re: [lfs-support] SIGFPE not generated by raise

2020-06-07 Thread Ken Moffat
On Fri, May 29, 2020 at 12:43:46AM +0100, Ken Moffat wrote: > On Thu, May 28, 2020 at 03:28:17AM +0100, Ken Moffat wrote: > > On Thu, May 28, 2020 at 02:08:08AM +0100, Ken Moffat wrote: > > > On Wed, May 27, 2020 at 10:13:12PM +0100, Ken Moffat wrote: [...] > > > > > > Result! In chroot bash

Re: [lfs-support] SIGFPE not generated by raise

2020-06-07 Thread Bruce Dubbs
On 6/7/20 10:35 AM, Ken Moffat wrote: On Sun, Jun 07, 2020 at 03:43:30PM +0100, Ken Moffat wrote: Finally replying to this: I did use that system for a fresh build, but the sigfpe problem was present in the tests for both bash and check (building from xorg). Then I booted the latest system

Re: [lfs-support] SIGFPE not generated by raise

2020-05-28 Thread Ken Moffat
On Thu, May 28, 2020 at 03:28:17AM +0100, Ken Moffat wrote: > On Thu, May 28, 2020 at 02:08:08AM +0100, Ken Moffat wrote: > > On Wed, May 27, 2020 at 10:13:12PM +0100, Ken Moffat wrote: > > > On Wed, May 27, 2020 at 12:43:26PM +0800, Xi Ruoyao wrote: > > > > > > > > > > When the -O0 override in

Re: [lfs-support] SIGFPE not generated by raise

2020-05-28 Thread Ken Moffat
On Thu, May 28, 2020 at 02:08:08AM +0100, Ken Moffat wrote: > On Wed, May 27, 2020 at 10:13:12PM +0100, Ken Moffat wrote: > > On Wed, May 27, 2020 at 12:43:26PM +0800, Xi Ruoyao wrote: > > > > > > > When the -O0 override in glibc errored, I changed that to -O1 (still > > with -march=native).

Re: [lfs-support] SIGFPE not generated by raise

2020-05-27 Thread Ken Moffat
On Wed, May 27, 2020 at 10:13:12PM +0100, Ken Moffat wrote: > On Wed, May 27, 2020 at 12:43:26PM +0800, Xi Ruoyao wrote: > > > > When the -O0 override in glibc errored, I changed that to -O1 (still > with -march=native). Tests on bash still showed the SIGFPE falure, > but I suspect I need to

Re: [lfs-support] SIGFPE not generated by raise

2020-05-27 Thread Ken Moffat
On Wed, May 27, 2020 at 12:43:26PM +0800, Xi Ruoyao wrote: > > If SIGFPE is somehow masked by sigprocmask, this phenomenon would happen. The > SIGFPE raised by raise() will be masked, but the SIGFPE produced by 1/0 is > still > undefined behavior (on x86_64 Linux normally "as if" a SIGFPE is

Re: [lfs-support] SIGFPE not generated by raise

2020-05-27 Thread Ken Moffat
On Tue, May 26, 2020 at 10:07:50PM +0100, Ken Moffat wrote: > > I've now had a reply on the check list suggesting that I try > rebuilding with -O0. error: #error "glibc cannot be compiled without optimization" Fun, isn't it. ĸen -- Do you not know that, what you belittle by the name tree is

Re: [lfs-support] SIGFPE not generated by raise

2020-05-27 Thread Pierre Labastie
On Wed, 2020-05-27 at 00:27 -0500, Bruce Dubbs wrote: > On 5/26/20 11:43 PM, Xi Ruoyao wrote: > > On 2020-05-26 18:17 +0100, Ken Moffat wrote: > > > I'm trying to discover why two tests in the testsuite for 'check' > > > always fail for me. I've now got a response that the tests raise > > >

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Xi Ruoyao
On 2020-05-27 00:27 -0500, Bruce Dubbs write: > On 5/26/20 11:43 PM, Xi Ruoyao wrote: > > On 2020-05-26 18:17 +0100, Ken Moffat wrote: > > > I'm trying to discover why two tests in the testsuite for 'check' > > > always fail for me. I've now got a response that the tests raise > > > SIGFPE but do

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Bruce Dubbs
On 5/26/20 11:43 PM, Xi Ruoyao wrote: On 2020-05-26 18:17 +0100, Ken Moffat wrote: I'm trying to discover why two tests in the testsuite for 'check' always fail for me. I've now got a response that the tests raise SIGFPE but do not receive it. The example is ken@plexi ~/check-debug $cat

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Xi Ruoyao
On 2020-05-26 18:17 +0100, Ken Moffat wrote: > I'm trying to discover why two tests in the testsuite for 'check' > always fail for me. I've now got a response that the tests raise > SIGFPE but do not receive it. The example is > > ken@plexi ~/check-debug $cat test.c > #include > > #include

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Ken Moffat
On Tue, May 26, 2020 at 07:38:34PM +0100, Ken Moffat wrote: > On Tue, May 26, 2020 at 01:32:55PM -0400, Don Cross wrote: > > On Tue, May 26, 2020 at 1:17 PM Ken Moffat wrote: > > > > > I'm trying to discover why two tests in the testsuite for 'check' > > > always fail for me. I've now got a

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Ken Moffat
On Tue, May 26, 2020 at 01:32:55PM -0400, Don Cross wrote: > On Tue, May 26, 2020 at 1:17 PM Ken Moffat wrote: > > > I'm trying to discover why two tests in the testsuite for 'check' > > always fail for me. I've now got a response that the tests raise > > SIGFPE but do not receive it. The

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Ken Moffat
On Tue, May 26, 2020 at 12:28:15PM -0500, Bruce Dubbs wrote: > On 5/26/20 12:17 PM, Ken Moffat wrote: > > I'm trying to discover why two tests in the testsuite for 'check' > > always fail for me. I've now got a response that the tests raise > > SIGFPE but do not receive it. The example is [...]

[lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Ken Moffat
I'm trying to discover why two tests in the testsuite for 'check' always fail for me. I've now got a response that the tests raise SIGFPE but do not receive it. The example is ken@plexi ~/check-debug $cat test.c #include #include int main() { printf("Before\n"); raise(SIGFPE);

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Don Cross
On Tue, May 26, 2020 at 1:17 PM Ken Moffat wrote: > I'm trying to discover why two tests in the testsuite for 'check' > always fail for me. I've now got a response that the tests raise > SIGFPE but do not receive it. The example is > > ken@plexi ~/check-debug $cat test.c > #include > >

Re: [lfs-support] SIGFPE not generated by raise

2020-05-26 Thread Bruce Dubbs
On 5/26/20 12:17 PM, Ken Moffat wrote: I'm trying to discover why two tests in the testsuite for 'check' always fail for me. I've now got a response that the tests raise SIGFPE but do not receive it. The example is ken@plexi ~/check-debug $cat test.c #include #include int main() {