Ludovic Courtès writes: Hi!
> Jan Nieuwenhuizen <jann...@gnu.org> skribis: > >>> 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 >> >> #include <signal.h> >> >> int >> main (void) >> { >> if (!raise (-1)) >> return 1; >> >> return 0; >> } > > I don’t know if it’s relevant here, but you should always use ‘-pthread’ > both at compile time and link time: > > gcc raise.c -pthread > > That typically defines a few macros that may or may not have an effect > on the code at hand. Ah...right. Makes no difference, though: root@childhurd ~# guix environment --bootstrap --ad-hoc gcc-toolchain@7 root@childhurd ~ [env]# gcc raise.c root@childhurd ~ [env]# ./a.out root@childhurd ~ [env]# echo $? 0 root@childhurd ~ [env]# gcc raise.c -pthread root@childhurd ~ [env]# ./a.out User defined signal 2 root@childhurd ~ [env]# echo $? 159 Greetings, Janneke -- Jan Nieuwenhuizen <jann...@gnu.org> | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com