emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#40075: closed (guile-3.0.1: --without-threads build failure on NetBS


From: GNU bug Tracking System
Subject: bug#40075: closed (guile-3.0.1: --without-threads build failure on NetBSD)
Date: Sat, 21 Mar 2020 17:29:02 +0000

Your message dated Sat, 21 Mar 2020 18:28:31 +0100
with message-id <address@hidden>
and subject line Re: bug#40075: patch
has caused the debbugs.gnu.org bug report #40075,
regarding guile-3.0.1: --without-threads build failure on NetBSD
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
40075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40075
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: guile-3.0.1: --without-threads build failure on NetBSD Date: Sun, 15 Mar 2020 13:55:04 +0100
Hi!

guile-2.2.7 builds fine, but when I try to build guile 3.0.1
--without-threads on NetBSD-9.99.49/amd64, I see:

  CCLD     libguile-3.0.la
ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam':
/scratch/wip/guile30/work/guile-3.0.1/libguile/posix.c:1605: warning: warning: 
tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
  CCLD     guile
ld: ./.libs/libguile-3.0.so: warning: warning: tmpnam() possibly used unsafely, 
use mkstemp() or mkdtemp()
ld: ./.libs/libguile-3.0.so: undefined reference to `scm_i_pthread_key_create'

Any ideas how to solve this?

Thanks,
 Thomas



--- End Message ---
--- Begin Message --- Subject: Re: bug#40075: patch Date: Sat, 21 Mar 2020 18:28:31 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hi Matt,

Matt Wette <address@hidden> skribis:

> Below is a patch against guile-3.0.1.
>
> "make" works, "make check" works.
>
> null-threads.c was not seeing "SCM_USE_NULL_THREADS" so include
> libguile/scmconfig.h
> null-threads.c was not seeing def of SCM_API so include "libguile/scm.h"
> web-server.test used (if (provided? 'threads) <test>) so #undefined if
> no threads.

Perfect!  Pushed as 865d48058e6b1604b95a5da49334aaf80a6d6471 and
87bf38c93a7baa4f2c060c24d8e2d354f4771861 (slightly different).

Thank you!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]