all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: phst@google.com, 42860@debbugs.gnu.org
Subject: bug#42860: 28.0.50; Build on OpenBSD fails in jansson.h
Date: Fri, 14 Aug 2020 17:40:26 +0300	[thread overview]
Message-ID: <83bljdl291.fsf@gnu.org> (raw)
In-Reply-To: <87v9hl5mi2.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri,  14 Aug 2020 16:29:41 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Fri, 14 Aug 2020 16:29:41 +0200
> Cc: Philipp Stephani <phst@google.com>
> 
> 
> This is on OpenBSD 6.6, with "pkg_add jansson", build from Emacs trunk now:
> 
> gmake[1]: Entering directory '/home/larsi/src/emacs/trunk/src'
>   CC       json.o
> In file included from json.c:27:
> /usr/local/include/jansson.h: In function 'json_incref':
> /usr/local/include/jansson.h:124: warning: implicit declaration of function '__atomic_add_fetch'
> /usr/local/include/jansson.h:124: error: '__ATOMIC_ACQUIRE' undeclared (first use in this function)
> /usr/local/include/jansson.h:124: error: (Each undeclared identifier is reported only once
> /usr/local/include/jansson.h:124: error: for each function it appears in.)
> /usr/local/include/jansson.h: In function 'json_decref':
> /usr/local/include/jansson.h:134: warning: implicit declaration of function '__atomic_sub_fetch'
> /usr/local/include/jansson.h:134: error: '__ATOMIC_RELEASE' undeclared (first use in this function)
> gmake[1]: *** [Makefile:401: json.o] Error 1
> gmake[1]: Leaving directory '/home/larsi/src/emacs/trunk/src'
> gmake: *** [Makefile:424: src] Error 2
> *** Error 2 in /home/larsi/src/emacs/trunk (makefile:4 'all')
> 
> I haven't investigated further -- I wonder whether it's immediately
> obvious to Philipp what the problem is here.  :-)

Too old GCC version?  What do you have there?





  reply	other threads:[~2020-08-14 14:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-14 14:29 bug#42860: 28.0.50; Build on OpenBSD fails in jansson.h Lars Ingebrigtsen
2020-08-14 14:40 ` Eli Zaretskii [this message]
2020-08-14 14:44   ` Lars Ingebrigtsen
2020-08-14 14:50     ` Eli Zaretskii
2020-08-14 14:55       ` Lars Ingebrigtsen
2020-08-14 14:44   ` Eli Zaretskii
2020-08-14 14:46     ` Lars Ingebrigtsen
2020-08-16 18:52 ` Lars Ingebrigtsen
2020-08-16 19:05   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bljdl291.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=42860@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=phst@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.