Hi!

> commit 2fc298d19c5256eb5609aae7bd35bada59d91685
> Author: Jan (janneke) Nieuwenhuizen <jann...@gnu.org>
> AuthorDate: Mon Oct 5 11:58:16 2020 +0200
>
>     gnu: gettext-minimal: Mark "test-raise" test XFAIL on the Hurd.
>     
>     * gnu/packages/gettext.scm (gettext-minimal)[arguments]: When compiling 
> for
>     the Hurd, add "test-raise" to XFAIL_TESTS in make-flags.

Some more info on this bug, it is this snippet that causes
the test failure

--8<---------------cut here---------------start------------->8---
#include <signal.h>

int
main (void)
{
  if (!raise (-1))
    return 1;
  
  return 0;
}
--8<---------------cut here---------------end--------------->8---

but only when linked against libpthread:

--8<---------------cut here---------------start------------->8---
$ gcc raise.c
$ ./a.out
$ echo $?
0
$ gcc raise.c 
/gnu/store/9vs3gkp6svam82zw7vjlml7iiarcs11c-glibc-2.31/lib/libpthread.so.0.3
$ ./a.out
User defined signal 2
$ echo $?
159
--8<---------------cut here---------------end--------------->8---

Janneke

-- 
Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

Reply via email to