From unknown Wed Jun 25 03:56:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22385: 24.5; Build failure with modules on OpenBSD Resent-From: Joakim Jalap Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2016 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22385@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145296868222892 (code B ref -1); Sat, 16 Jan 2016 18:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2016 18:24:42 +0000 Received: from localhost ([127.0.0.1]:51125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVWj-0005x9-Cb for submit@debbugs.gnu.org; Sat, 16 Jan 2016 13:24:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55091) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKUte-0004z1-Ld for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKUtW-00011x-Hg for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtW-00011t-E9 for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtT-0000xe-7u for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKUtP-00011P-VP for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:07 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtP-000118-M0 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5A0D1204DF for ; Sat, 16 Jan 2016 12:44:00 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 16 Jan 2016 12:44:00 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=0++x19GMbtMYEvJYx5M4dbf4HEg =; b=Rz6RTj4YmpGAvV7pGH42C756/t9432xbrNG1+w9mGXDGHxWzr9h68YwC1XK JaFzOjMi/evopD9kiKL0wekpD7oGWT1QGa1wdCqY7HtkLw2kQF9ALsZujYMbM1lr aikEBT+T+uHZSDDwN/UJP9hhi4NLS5CAOxml/hI87dyflgFk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=0+ +x19GMbtMYEvJYx5M4dbf4HEg=; b=sBAyV9rrbA2upetq8fET7F5OlaufVj2nPE qX+R975f6Qbb2fT5QH70uYuAMLOUU6nsx2DtOeVYVTwybI6stzYJAr6rN5COVOpo 5F9woZvUoRK+mDd03Yg9wKw9BAxgtbELO/aLX11GuUZYiLQNmtjkiQbGSQlSISUb pKz1ay9us= X-Sasl-enc: bQyzXTrK/48jEW9YJXmToTOOWJIPknDANqIA73FLbqNr 1452966239 Received: from netbook.my.domain (unknown [5.150.202.248]) by mail.messagingengine.com (Postfix) with ESMTPA id 764C96800BF for ; Sat, 16 Jan 2016 12:43:59 -0500 (EST) From: Joakim Jalap Date: Sat, 16 Jan 2016 18:43:40 +0100 Message-ID: <87h9idmncj.fsf@netbook.my.domain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Mailman-Approved-At: Sat, 16 Jan 2016 13:24:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) --=-=-= Content-Type: text/plain Hello I discovered a little problem while trying to build emacs-25 with modules on OpenBSD-current. The problem is that an assertion fails because HAVE_ATTRIBUTE_CLEANUP is not true, even though I'm using clang which does support the cleanup attribute (I think). This is because the test for whether CC supports that attribute (m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4) only checks if there were warnings issued and if so decides that the compiler has no support. But OpenBSDs linker (I think it is) outputs the following warnings: /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcpy() is almost always misused, please use strlcpy() /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcat() is almost always misused, please use strlcat() /usr/X11R6/lib/libX11.so.16.1: warning: warning: sprintf() is often misused, please use snprintf() which are completely unrelated to lack of attribute support. The attached fix allows me to build. It isn't meant as a real solution, it's more to illustrate the problem. I guess another way to go migt be to run this test with empty linker flags, but I haven't tried that. Either way, I hope this is of some use. -- Joakim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=ignore_openbsd_warns.patch Content-Description: openbsd-fix diff --git m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4 index d12fce8..963af5e 100644 --- m4/ax_gcc_var_attribute.m4 +++ m4/ax_gcc_var_attribute.m4 @@ -55,6 +55,11 @@ #serial 3 AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ + + dnl Temporarily make unknown attributes an error + OLDCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Werror=attributes" + AS_VAR_PUSHDEF([ac_var], [ax_cv_have_var_attribute_$1]) AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [ @@ -124,15 +129,12 @@ AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ [] )]) ], - dnl GCC doesn't exit with an error if an unknown attribute is - dnl provided but only outputs a warning, so accept the attribute - dnl only if no warning were issued. - [AS_IF([test -s conftest.err], - [AS_VAR_SET([ac_var], [no])], - [AS_VAR_SET([ac_var], [yes])])], + [AS_VAR_SET([ac_var], [yes])], [AS_VAR_SET([ac_var], [no])]) ]) + CFLAGS="$OLDCFLAGS" + AS_IF([test yes = AS_VAR_GET([ac_var])], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_VAR_ATTRIBUTE_$1), 1, [Define to 1 if the system has the `$1' variable attribute])], []) --=-=-= Content-Type: text/plain In GNU Emacs 24.5.1 (x86_64-unknown-openbsd, GTK+ Version 3.18.6) of 2015-12-09 on amd64.ports.openbsd.org Windowing system distributor `The X.Org Foundation', version 11.0.11704000 Configured using: `configure --build=amd64-unknown-openbsd --without-sound --with-x-toolkit=gtk3 --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc 'CFLAGS=-O2 -pipe -fno-pie' CPPFLAGS=-I/usr/local/include 'LDFLAGS=-L/usr/local/lib -nopie'' Important settings: locale-coding-system: nil Major mode: Org Minor modes in effect: show-paren-mode: t global-linum-mode: t rich-minority-mode: t global-cwarn-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t global-semantic-idle-scheduler-mode: t global-semanticdb-minor-mode: t semantic-mode: t erc-notifications-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t w3m-fb-mode: t global-hl-line-mode: t diff-auto-refine-mode: t global-company-mode: t company-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t flx-ido-mode: t ido-everywhere: t global-undo-tree-mode: t undo-tree-mode: t global-auto-revert-mode: t projectile-global-mode: t projectile-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent messages: [2 times] Buffer is read-only (emacs gnus type) Buffer is read-only Describe-Function... Making completion list... Quit Entering debugger... Back to top level. Making completion list... [3 times] gnus-user-agent Load-path shadows: /home/joakim/.emacs.d/elpa/helm-20151106.2158/helm-multi-match hides /home/joakim/.emacs.d/elpa/helm-core-20151104.0/helm-multi-match /home/joakim/.emacs.d/elpa/org-20151005/org-protocol hides /usr/local/share/emacs/24.5/lisp/org/org-protocol /home/joakim/.emacs.d/elpa/org-20151005/org-pcomplete hides /usr/local/share/emacs/24.5/lisp/org/org-pcomplete /home/joakim/.emacs.d/elpa/org-20151005/org-eshell hides /usr/local/share/emacs/24.5/lisp/org/org-eshell /home/joakim/.emacs.d/elpa/org-20151005/org-element hides /usr/local/share/emacs/24.5/lisp/org/org-element /home/joakim/.emacs.d/elpa/org-20151005/ob-plantuml hides /usr/local/share/emacs/24.5/lisp/org/ob-plantuml /home/joakim/.emacs.d/elpa/org-20151005/ob-picolisp hides /usr/local/share/emacs/24.5/lisp/org/ob-picolisp /home/joakim/.emacs.d/elpa/org-20151005/ob-maxima hides /usr/local/share/emacs/24.5/lisp/org/ob-maxima /home/joakim/.emacs.d/elpa/org-20151005/ob-lilypond hides /usr/local/share/emacs/24.5/lisp/org/ob-lilypond /home/joakim/.emacs.d/elpa/org-20151005/ob-ledger hides /usr/local/share/emacs/24.5/lisp/org/ob-ledger /home/joakim/.emacs.d/elpa/org-20151005/ob-octave hides /usr/local/share/emacs/24.5/lisp/org/ob-octave /home/joakim/.emacs.d/elpa/org-20151005/ob-lob hides /usr/local/share/emacs/24.5/lisp/org/ob-lob /home/joakim/.emacs.d/elpa/org-20151005/org-inlinetask hides /usr/local/share/emacs/24.5/lisp/org/org-inlinetask /home/joakim/.emacs.d/elpa/org-20151005/org-footnote hides /usr/local/share/emacs/24.5/lisp/org/org-footnote /home/joakim/.emacs.d/elpa/org-20151005/ob-fortran hides /usr/local/share/emacs/24.5/lisp/org/ob-fortran /home/joakim/.emacs.d/elpa/org-20151005/ob-dot hides /usr/local/share/emacs/24.5/lisp/org/ob-dot /home/joakim/.emacs.d/elpa/org-20151005/ob-tangle hides /usr/local/share/emacs/24.5/lisp/org/ob-tangle /home/joakim/.emacs.d/elpa/org-20151005/ob-css hides /usr/local/share/emacs/24.5/lisp/org/ob-css /home/joakim/.emacs.d/elpa/org-20151005/ob-sql hides /usr/local/share/emacs/24.5/lisp/org/ob-sql /home/joakim/.emacs.d/elpa/org-20151005/ob-core hides /usr/local/share/emacs/24.5/lisp/org/ob-core /home/joakim/.emacs.d/elpa/org-20151005/org-datetree hides /usr/local/share/emacs/24.5/lisp/org/org-datetree /home/joakim/.emacs.d/elpa/org-20151005/org-capture hides /usr/local/share/emacs/24.5/lisp/org/org-capture /home/joakim/.emacs.d/elpa/org-20151005/ob-python hides /usr/local/share/emacs/24.5/lisp/org/ob-python /home/joakim/.emacs.d/elpa/org-20151005/ox-org hides /usr/local/share/emacs/24.5/lisp/org/ox-org /home/joakim/.emacs.d/elpa/org-20151005/org-plot hides /usr/local/share/emacs/24.5/lisp/org/org-plot /home/joakim/.emacs.d/elpa/org-20151005/ob-clojure hides /usr/local/share/emacs/24.5/lisp/org/ob-clojure /home/joakim/.emacs.d/elpa/org-20151005/ob-C hides /usr/local/share/emacs/24.5/lisp/org/ob-C /home/joakim/.emacs.d/elpa/org-20151005/org-irc hides /usr/local/share/emacs/24.5/lisp/org/org-irc /home/joakim/.emacs.d/elpa/org-20151005/ox-html hides /usr/local/share/emacs/24.5/lisp/org/ox-html /home/joakim/.emacs.d/elpa/org-20151005/ob-org hides /usr/local/share/emacs/24.5/lisp/org/ob-org /home/joakim/.emacs.d/elpa/org-20151005/org-id hides /usr/local/share/emacs/24.5/lisp/org/org-id /home/joakim/.emacs.d/elpa/org-20151005/org-w3m hides /usr/local/share/emacs/24.5/lisp/org/org-w3m /home/joakim/.emacs.d/elpa/org-20151005/org-macro hides /usr/local/share/emacs/24.5/lisp/org/org-macro /home/joakim/.emacs.d/elpa/org-20151005/ox-md hides /usr/local/share/emacs/24.5/lisp/org/ox-md /home/joakim/.emacs.d/elpa/org-20151005/org-src hides /usr/local/share/emacs/24.5/lisp/org/org-src /home/joakim/.emacs.d/elpa/org-20151005/org-docview hides /usr/local/share/emacs/24.5/lisp/org/org-docview /home/joakim/.emacs.d/elpa/org-20151005/ob-awk hides /usr/local/share/emacs/24.5/lisp/org/ob-awk /home/joakim/.emacs.d/elpa/org-20151005/ob-scala hides /usr/local/share/emacs/24.5/lisp/org/ob-scala /home/joakim/.emacs.d/elpa/org-20151005/org-attach hides /usr/local/share/emacs/24.5/lisp/org/org-attach /home/joakim/.emacs.d/elpa/org-20151005/ob-table hides /usr/local/share/emacs/24.5/lisp/org/ob-table /home/joakim/.emacs.d/elpa/org-20151005/org-feed hides /usr/local/share/emacs/24.5/lisp/org/org-feed /home/joakim/.emacs.d/elpa/org-20151005/org-compat hides /usr/local/share/emacs/24.5/lisp/org/org-compat /home/joakim/.emacs.d/elpa/org-20151005/ob-ocaml hides /usr/local/share/emacs/24.5/lisp/org/ob-ocaml /home/joakim/.emacs.d/elpa/org-20151005/ob-scheme hides /usr/local/share/emacs/24.5/lisp/org/ob-scheme /home/joakim/.emacs.d/elpa/org-20151005/org-bbdb hides /usr/local/share/emacs/24.5/lisp/org/org-bbdb /home/joakim/.emacs.d/elpa/org-20151005/ob-calc hides /usr/local/share/emacs/24.5/lisp/org/ob-calc /home/joakim/.emacs.d/elpa/org-20151005/org-ctags hides /usr/local/share/emacs/24.5/lisp/org/org-ctags /home/joakim/.emacs.d/elpa/org-20151005/org-archive hides /usr/local/share/emacs/24.5/lisp/org/org-archive /home/joakim/.emacs.d/elpa/org-20151005/org-entities hides /usr/local/share/emacs/24.5/lisp/org/org-entities /home/joakim/.emacs.d/elpa/org-20151005/ob-comint hides /usr/local/share/emacs/24.5/lisp/org/ob-comint /home/joakim/.emacs.d/elpa/org-20151005/ob-matlab hides /usr/local/share/emacs/24.5/lisp/org/ob-matlab /home/joakim/.emacs.d/elpa/org-20151005/org-mhe hides /usr/local/share/emacs/24.5/lisp/org/org-mhe /home/joakim/.emacs.d/elpa/org-20151005/ob-lisp hides /usr/local/share/emacs/24.5/lisp/org/ob-lisp /home/joakim/.emacs.d/elpa/org-20151005/ox-beamer hides /usr/local/share/emacs/24.5/lisp/org/ox-beamer /home/joakim/.emacs.d/elpa/org-20151005/org-rmail hides /usr/local/share/emacs/24.5/lisp/org/org-rmail /home/joakim/.emacs.d/elpa/org-20151005/org-colview hides /usr/local/share/emacs/24.5/lisp/org/org-colview /home/joakim/.emacs.d/elpa/org-20151005/org-gnus hides /usr/local/share/emacs/24.5/lisp/org/org-gnus /home/joakim/.emacs.d/elpa/org-20151005/ob-makefile hides /usr/local/share/emacs/24.5/lisp/org/ob-makefile /home/joakim/.emacs.d/elpa/org-20151005/ob-emacs-lisp hides /usr/local/share/emacs/24.5/lisp/org/ob-emacs-lisp /home/joakim/.emacs.d/elpa/org-20151005/ob-shen hides /usr/local/share/emacs/24.5/lisp/org/ob-shen /home/joakim/.emacs.d/elpa/org-20151005/ob-haskell hides /usr/local/share/emacs/24.5/lisp/org/ob-haskell /home/joakim/.emacs.d/elpa/org-20151005/ob-java hides /usr/local/share/emacs/24.5/lisp/org/ob-java /home/joakim/.emacs.d/elpa/org-20151005/ob-sqlite hides /usr/local/share/emacs/24.5/lisp/org/ob-sqlite /home/joakim/.emacs.d/elpa/org-20151005/ob-latex hides /usr/local/share/emacs/24.5/lisp/org/ob-latex /home/joakim/.emacs.d/elpa/org-20151005/ob-mscgen hides /usr/local/share/emacs/24.5/lisp/org/ob-mscgen /home/joakim/.emacs.d/elpa/org-20151005/ob-screen hides /usr/local/share/emacs/24.5/lisp/org/ob-screen /home/joakim/.emacs.d/elpa/org-20151005/org-macs hides /usr/local/share/emacs/24.5/lisp/org/org-macs /home/joakim/.emacs.d/elpa/org-20151005/org-timer hides /usr/local/share/emacs/24.5/lisp/org/org-timer /home/joakim/.emacs.d/elpa/org-20151005/ob-ref hides /usr/local/share/emacs/24.5/lisp/org/ob-ref /home/joakim/.emacs.d/elpa/org-20151005/ob-perl hides /usr/local/share/emacs/24.5/lisp/org/ob-perl /home/joakim/.emacs.d/elpa/org-20151005/org-faces hides /usr/local/share/emacs/24.5/lisp/org/org-faces /home/joakim/.emacs.d/elpa/org-20151005/org-table hides /usr/local/share/emacs/24.5/lisp/org/org-table /home/joakim/.emacs.d/elpa/org-20151005/ob-gnuplot hides /usr/local/share/emacs/24.5/lisp/org/ob-gnuplot /home/joakim/.emacs.d/elpa/org-20151005/ob-eval hides /usr/local/share/emacs/24.5/lisp/org/ob-eval /home/joakim/.emacs.d/elpa/org-20151005/ox-latex hides /usr/local/share/emacs/24.5/lisp/org/ox-latex /home/joakim/.emacs.d/elpa/org-20151005/ob-io hides /usr/local/share/emacs/24.5/lisp/org/ob-io /home/joakim/.emacs.d/elpa/org-20151005/ox-man hides /usr/local/share/emacs/24.5/lisp/org/ox-man /home/joakim/.emacs.d/elpa/org-20151005/org-habit hides /usr/local/share/emacs/24.5/lisp/org/org-habit /home/joakim/.emacs.d/elpa/org-20151005/org-crypt hides /usr/local/share/emacs/24.5/lisp/org/org-crypt /home/joakim/.emacs.d/elpa/org-20151005/ob-asymptote hides /usr/local/share/emacs/24.5/lisp/org/ob-asymptote /home/joakim/.emacs.d/elpa/org-20151005/org-mouse hides /usr/local/share/emacs/24.5/lisp/org/org-mouse /home/joakim/.emacs.d/elpa/org-20151005/org-version hides /usr/local/share/emacs/24.5/lisp/org/org-version /home/joakim/.emacs.d/elpa/org-20151005/org-indent hides /usr/local/share/emacs/24.5/lisp/org/org-indent /home/joakim/.emacs.d/elpa/org-20151005/ox-texinfo hides /usr/local/share/emacs/24.5/lisp/org/ox-texinfo /home/joakim/.emacs.d/elpa/org-20151005/org-mobile hides /usr/local/share/emacs/24.5/lisp/org/org-mobile /home/joakim/.emacs.d/elpa/org-20151005/ob-exp hides /usr/local/share/emacs/24.5/lisp/org/ob-exp /home/joakim/.emacs.d/elpa/org-20151005/ox-odt hides /usr/local/share/emacs/24.5/lisp/org/ox-odt /home/joakim/.emacs.d/elpa/org-20151005/ob-keys hides /usr/local/share/emacs/24.5/lisp/org/ob-keys /home/joakim/.emacs.d/elpa/org-20151005/ox-ascii hides /usr/local/share/emacs/24.5/lisp/org/ox-ascii /home/joakim/.emacs.d/elpa/org-20151005/org-agenda hides /usr/local/share/emacs/24.5/lisp/org/org-agenda /home/joakim/.emacs.d/elpa/org-20151005/ox-publish hides /usr/local/share/emacs/24.5/lisp/org/ox-publish /home/joakim/.emacs.d/elpa/org-20151005/ob-js hides /usr/local/share/emacs/24.5/lisp/org/ob-js /home/joakim/.emacs.d/elpa/org-20151005/ob-R hides /usr/local/share/emacs/24.5/lisp/org/ob-R /home/joakim/.emacs.d/elpa/org-20151005/org hides /usr/local/share/emacs/24.5/lisp/org/org /home/joakim/.emacs.d/elpa/org-20151005/org-list hides /usr/local/share/emacs/24.5/lisp/org/org-list /home/joakim/.emacs.d/elpa/org-20151005/org-install hides /usr/local/share/emacs/24.5/lisp/org/org-install /home/joakim/.emacs.d/elpa/org-20151005/ob-ditaa hides /usr/local/share/emacs/24.5/lisp/org/ob-ditaa /home/joakim/.emacs.d/elpa/org-20151005/org-info hides /usr/local/share/emacs/24.5/lisp/org/org-info /home/joakim/.emacs.d/elpa/org-20151005/ob hides /usr/local/share/emacs/24.5/lisp/org/ob /home/joakim/.emacs.d/elpa/org-20151005/ox-icalendar hides /usr/local/share/emacs/24.5/lisp/org/ox-icalendar /home/joakim/.emacs.d/elpa/org-20151005/ob-sass hides /usr/local/share/emacs/24.5/lisp/org/ob-sass /home/joakim/.emacs.d/elpa/org-20151005/org-loaddefs hides /usr/local/share/emacs/24.5/lisp/org/org-loaddefs /home/joakim/.emacs.d/elpa/org-20151005/ox hides /usr/local/share/emacs/24.5/lisp/org/ox /home/joakim/.emacs.d/elpa/org-20151005/org-clock hides /usr/local/share/emacs/24.5/lisp/org/org-clock /home/joakim/.emacs.d/elpa/org-20151005/ob-ruby hides /usr/local/share/emacs/24.5/lisp/org/ob-ruby /home/joakim/.emacs.d/elpa/org-20151005/org-bibtex hides /usr/local/share/emacs/24.5/lisp/org/org-bibtex /home/joakim/.emacs.d/elpa/emms-20150810.832/tq hides /usr/local/share/emacs/24.5/lisp/emacs-lisp/tq Features: (shadow bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015 debug org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-element org-w3m ispell emacsbug mule-util view eieio-opt whitespace m4-mode smex sh-script smie executable misearch multi-isearch vc-git solarized-dark-theme solarized company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-css company-nxml company-bbdb emms-mode-line emms-info-ogginfo emms-info-mp3info emms-player-vlc emms-player-mplayer emms-browser sort emms-playlist-sort emms-playlist-mode emms-last-played emms-player-mpd emms-url emms-cache emms-info later-do tq emms-source-playlist emms-source-file locate emms-player-simple emms-setup emms emms-compat paren linum-off linum rich-minority f90 fortran cus-edit cus-start cus-load py-autopep8 company-anaconda anaconda-mode pythonic f python cwarn company-irony irony-completion irony-snippet irony company-rtags company-template rtags popup repeat bookmark function-args semantic-directory semantic/ia etags srefactor subr-x srefactor-ui recentf tree-widget srecode/semantic semantic/senator semantic/decorate pulse srecode/insert srecode/filters srecode/args ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image dframe eieio-custom srecode/find srecode/map srecode/ctxt srecode/compile srecode/dictionary srecode/table srecode semantic/doc semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dsvn vc vc-dispatcher magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver shell comment-dwim-2 origami origami-parsers semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/db-mode semantic/db eieio-base semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet lice mentor xml-rpc url-http tls url-auth url-gw url-scgi google-translate-smooth-ui google-translate google-translate-default-ui google-translate-core-ui google-translate-core elfeed-show elfeed-db elfeed-lib avl-tree elfeed-search elfeed url-queue xml-query erc-desktop-notifications notifications erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat gnutls weechat-complete weechat-button weechat weechat-color rx weechat-relay bindat weechat-core s ucs-normalize conkeror-minor-mode w3m-lnum w3m-search w3m doc-view jka-compr image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util eww-lnum eww mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util shr browse-url bbdb-mua bbdb-com bbdb bbdb-site timezone notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs notmuch-tag notmuch-lib mm-view mml-smime smime dig mailcap nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo mbsync smtpmail sendmail gnus-sync gnus-start gnus-spec gnus-int gnus-range message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win json gnus gnus-ems nnheader mail-utils wid-edit company-math math-symbol-lists company-auctex yasnippet company pcase latex tex-style tex dbus xml crm swiper ivy delsel ffap url-parse auth-source gnus-util mm-util mail-prsvr password-cache url-vars idomenu imenu ace-link ace-window em-smart esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util multi-term term disp-table ehelp flx-ido flx ido avy-zap avy move-text undo-tree diff hydra lv multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect org-table misc programmers-dvorak quail edmacro kmacro dired+ image-dired image-file dired-aux dired-x server pinentry autorevert filenotify projectile grep compile ibuf-ext ibuffer dash thingatpt ignoramus el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload lisp-mnt dired finder-inf org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs tex-site eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core help-fns cl-macs cl gv cl-loaddefs cl-lib info easymenu package epg-config tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 1027147 421321) (symbols 48 76509 1) (miscs 40 863 1582) (strings 32 207041 118087) (string-bytes 1 6146562) (vectors 16 147798) (vector-slots 8 3193259 446740) (floats 8 17152 16902) (intervals 56 10608 3318) (buffers 960 31)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 16 13:29:07 2016 Received: (at control) by debbugs.gnu.org; 16 Jan 2016 18:29:07 +0000 Received: from localhost ([127.0.0.1]:51132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVb1-000645-MP for submit@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33341) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVb0-00063j-VZ for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKVav-000243-Ba for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKVav-00023z-8i for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:01 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aKVav-0007Up-0a for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:01 -0500 Subject: control message for bug 22385 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 16 Jan 2016 13:29:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) notfound 22385 24.5 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 16 13:29:38 2016 Received: (at control) by debbugs.gnu.org; 16 Jan 2016 18:29:38 +0000 Received: from localhost ([127.0.0.1]:51135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVbV-00064y-TL for submit@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33405) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVbU-00064a-By for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKVbO-00027I-Ni for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKVbO-00027E-Kn for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:30 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aKVbO-0007YB-Bw for control@debbugs.gnu.org; Sat, 16 Jan 2016 13:29:30 -0500 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 16 Jan 2016 13:29:30 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 22385 From unknown Wed Jun 25 03:56:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22385: 24.5; Build failure with modules on OpenBSD Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jan 2016 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Joakim Jalap , 22385@debbugs.gnu.org Received: via spool by 22385-submit@debbugs.gnu.org id=B22385.14530477882195 (code B ref 22385); Sun, 17 Jan 2016 16:24:01 +0000 Received: (at 22385) by debbugs.gnu.org; 17 Jan 2016 16:23:08 +0000 Received: from localhost ([127.0.0.1]:52019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKq6c-0000ZK-NN for submit@debbugs.gnu.org; Sun, 17 Jan 2016 11:23:08 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:37840) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKq6Z-0000Ya-Ng for 22385@debbugs.gnu.org; Sun, 17 Jan 2016 11:23:05 -0500 Received: by mail-wm0-f49.google.com with SMTP id n5so31100523wmn.0 for <22385@debbugs.gnu.org>; Sun, 17 Jan 2016 08:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=e06BNxwYfrSVZySNfDsuNc39DsWj5W8JqPEt094HV3M=; b=rNrDz7WtpgQFIUlmXiIx5V1QhipXvG1zhxzA3D9RlYEUhc0GTIQ/wEXzBgVDH4YWqY HnUVhvBhFaxq1P9sYu3MM0JfVW35LNGtxbUhWniIUk1/bDygJHz/rccxjeVfxpTWJykz sVXKSCaCnWvFKtuT+NYW+wylXJ89LtgWv/qia5/6hya2oIWHGhMMpnWbKI8WO8MrxdFj KzgUfpBCLGHFfxK2NGQoZMSMNFy3h4r7hx/Rm8Vex95HbNwlXK/VwDJ7bJUN/viM73ai 1XvmfB6X73Mt1DdlM3Hk0zqN1tOHWsuzenLvCG1gdXO9KMvyCKd/LoDrIzw1uCQkHw2O teZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=e06BNxwYfrSVZySNfDsuNc39DsWj5W8JqPEt094HV3M=; b=DFHMJvecJ1A6oTUURI1GIqOcDhBt5mBxqUb8fCwsRX6iJSIWpgvdU9LJgTQf3tZuh3 wfNNs3Z56umx2fEi+FU3v7ybpJ/jZeA+JfTBxnwvwzc4WPtsGchivyFpKD6ivog1r5G/ z8pVArbXngCV3XMYw9D3X93UotaF4Kdizjgv+qw3JICNCM9J9ONSp8B2dgpAEaZJeVQm PY4RIn3r8CzKFvYfiUWzlVFxOHY946o2hZhdDo3vQzeMsYouNgBsVnhVQASPaCIbEu4N b+xCOAw2dG5JoI0U/gak9O/dNVnJ+K7KM45bxmNVNfZt4/7R9NdAbCAXf/MsuQ0l/4LW M0iw== X-Gm-Message-State: ALoCoQkkW+B4jIOOvHFrxdqrOqnlNMFpE5YSC3KVAxVgNnd5G54HPvwZAaGVPRxWHsbH0y3rDb165cynU7SnO4WU7OxzL7a+eg== X-Received: by 10.194.116.170 with SMTP id jx10mr19356538wjb.166.1453047777910; Sun, 17 Jan 2016 08:22:57 -0800 (PST) MIME-Version: 1.0 References: <87h9idmncj.fsf@netbook.my.domain> In-Reply-To: <87h9idmncj.fsf@netbook.my.domain> From: Philipp Stephani Date: Sun, 17 Jan 2016 16:22:48 +0000 Message-ID: Content-Type: multipart/alternative; boundary=001a1130cd24a4e49d05298a0cd6 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --001a1130cd24a4e49d05298a0cd6 Content-Type: text/plain; charset=UTF-8 Thanks for reporting. I guess this should also reported against autoconf-archive because the m4 file is from there ( https://www.gnu.org/software/autoconf-archive/How-to-contribute.html). More generally, a test for a GCC-style attribute should use the __has_attribute builtin if available and only resort to brittler methods such as warning output checks if the builtin is unavailable. Joakim Jalap schrieb am Sa., 16. Jan. 2016 um 19:25 Uhr: > > Hello > > I discovered a little problem while trying to build emacs-25 with modules > on > OpenBSD-current. The problem is that an assertion fails because > HAVE_ATTRIBUTE_CLEANUP is not true, even though I'm using clang which does > support the cleanup attribute (I think). > > This is because the test for whether CC supports that attribute > (m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4) only checks if > there > were warnings issued and if so decides that the compiler has no support. > But > OpenBSDs linker (I think it is) outputs the following warnings: > > /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcpy() is almost always > misused, please use strlcpy() > /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcat() is almost always > misused, please use strlcat() > /usr/X11R6/lib/libX11.so.16.1: warning: warning: sprintf() is often > misused, please use snprintf() > > which are completely unrelated to lack of attribute support. > > The attached fix allows me to build. It isn't meant as a real solution, > it's more to illustrate the problem. > > I guess another way to go migt be to run this test with empty linker > flags, but > I haven't tried that. > > Either way, I hope this is of some use. > > -- Joakim > > > > In GNU Emacs 24.5.1 (x86_64-unknown-openbsd, GTK+ Version 3.18.6) > of 2015-12-09 on amd64.ports.openbsd.org > Windowing system distributor `The X.Org Foundation', version 11.0.11704000 > Configured using: > `configure --build=amd64-unknown-openbsd --without-sound > --with-x-toolkit=gtk3 --prefix=/usr/local --sysconfdir=/etc > --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var > --disable-silent-rules --disable-gtk-doc 'CFLAGS=-O2 -pipe -fno-pie' > CPPFLAGS=-I/usr/local/include 'LDFLAGS=-L/usr/local/lib -nopie'' > > Important settings: > locale-coding-system: nil > > Major mode: Org > > Minor modes in effect: > show-paren-mode: t > global-linum-mode: t > rich-minority-mode: t > global-cwarn-mode: t > global-git-commit-mode: t > async-bytecomp-package-mode: t > shell-dirtrack-mode: t > global-semantic-idle-scheduler-mode: t > global-semanticdb-minor-mode: t > semantic-mode: t > erc-notifications-mode: t > erc-list-mode: t > erc-menu-mode: t > erc-autojoin-mode: t > erc-ring-mode: t > erc-networks-mode: t > erc-pcomplete-mode: t > erc-track-mode: t > erc-match-mode: t > erc-button-mode: t > erc-fill-mode: t > erc-stamp-mode: t > erc-netsplit-mode: t > erc-irccontrols-mode: t > erc-noncommands-mode: t > erc-move-to-prompt-mode: t > erc-readonly-mode: t > w3m-fb-mode: t > global-hl-line-mode: t > diff-auto-refine-mode: t > global-company-mode: t > company-mode: t > TeX-PDF-mode: t > TeX-source-correlate-mode: t > flx-ido-mode: t > ido-everywhere: t > global-undo-tree-mode: t > undo-tree-mode: t > global-auto-revert-mode: t > projectile-global-mode: t > projectile-mode: t > tooltip-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > auto-fill-function: do-auto-fill > transient-mark-mode: t > > Recent messages: > [2 times] > Buffer is read-only > (emacs gnus type) > Buffer is read-only > Describe-Function... > Making completion list... > Quit > Entering debugger... > Back to top level. > Making completion list... [3 times] > gnus-user-agent > > Load-path shadows: > /home/joakim/.emacs.d/elpa/helm-20151106.2158/helm-multi-match hides > /home/joakim/.emacs.d/elpa/helm-core-20151104.0/helm-multi-match > /home/joakim/.emacs.d/elpa/org-20151005/org-protocol hides > /usr/local/share/emacs/24.5/lisp/org/org-protocol > /home/joakim/.emacs.d/elpa/org-20151005/org-pcomplete hides > /usr/local/share/emacs/24.5/lisp/org/org-pcomplete > /home/joakim/.emacs.d/elpa/org-20151005/org-eshell hides > /usr/local/share/emacs/24.5/lisp/org/org-eshell > /home/joakim/.emacs.d/elpa/org-20151005/org-element hides > /usr/local/share/emacs/24.5/lisp/org/org-element > /home/joakim/.emacs.d/elpa/org-20151005/ob-plantuml hides > /usr/local/share/emacs/24.5/lisp/org/ob-plantuml > /home/joakim/.emacs.d/elpa/org-20151005/ob-picolisp hides > /usr/local/share/emacs/24.5/lisp/org/ob-picolisp > /home/joakim/.emacs.d/elpa/org-20151005/ob-maxima hides > /usr/local/share/emacs/24.5/lisp/org/ob-maxima > /home/joakim/.emacs.d/elpa/org-20151005/ob-lilypond hides > /usr/local/share/emacs/24.5/lisp/org/ob-lilypond > /home/joakim/.emacs.d/elpa/org-20151005/ob-ledger hides > /usr/local/share/emacs/24.5/lisp/org/ob-ledger > /home/joakim/.emacs.d/elpa/org-20151005/ob-octave hides > /usr/local/share/emacs/24.5/lisp/org/ob-octave > /home/joakim/.emacs.d/elpa/org-20151005/ob-lob hides > /usr/local/share/emacs/24.5/lisp/org/ob-lob > /home/joakim/.emacs.d/elpa/org-20151005/org-inlinetask hides > /usr/local/share/emacs/24.5/lisp/org/org-inlinetask > /home/joakim/.emacs.d/elpa/org-20151005/org-footnote hides > /usr/local/share/emacs/24.5/lisp/org/org-footnote > /home/joakim/.emacs.d/elpa/org-20151005/ob-fortran hides > /usr/local/share/emacs/24.5/lisp/org/ob-fortran > /home/joakim/.emacs.d/elpa/org-20151005/ob-dot hides > /usr/local/share/emacs/24.5/lisp/org/ob-dot > /home/joakim/.emacs.d/elpa/org-20151005/ob-tangle hides > /usr/local/share/emacs/24.5/lisp/org/ob-tangle > /home/joakim/.emacs.d/elpa/org-20151005/ob-css hides > /usr/local/share/emacs/24.5/lisp/org/ob-css > /home/joakim/.emacs.d/elpa/org-20151005/ob-sql hides > /usr/local/share/emacs/24.5/lisp/org/ob-sql > /home/joakim/.emacs.d/elpa/org-20151005/ob-core hides > /usr/local/share/emacs/24.5/lisp/org/ob-core > /home/joakim/.emacs.d/elpa/org-20151005/org-datetree hides > /usr/local/share/emacs/24.5/lisp/org/org-datetree > /home/joakim/.emacs.d/elpa/org-20151005/org-capture hides > /usr/local/share/emacs/24.5/lisp/org/org-capture > /home/joakim/.emacs.d/elpa/org-20151005/ob-python hides > /usr/local/share/emacs/24.5/lisp/org/ob-python > /home/joakim/.emacs.d/elpa/org-20151005/ox-org hides > /usr/local/share/emacs/24.5/lisp/org/ox-org > /home/joakim/.emacs.d/elpa/org-20151005/org-plot hides > /usr/local/share/emacs/24.5/lisp/org/org-plot > /home/joakim/.emacs.d/elpa/org-20151005/ob-clojure hides > /usr/local/share/emacs/24.5/lisp/org/ob-clojure > /home/joakim/.emacs.d/elpa/org-20151005/ob-C hides > /usr/local/share/emacs/24.5/lisp/org/ob-C > /home/joakim/.emacs.d/elpa/org-20151005/org-irc hides > /usr/local/share/emacs/24.5/lisp/org/org-irc > /home/joakim/.emacs.d/elpa/org-20151005/ox-html hides > /usr/local/share/emacs/24.5/lisp/org/ox-html > /home/joakim/.emacs.d/elpa/org-20151005/ob-org hides > /usr/local/share/emacs/24.5/lisp/org/ob-org > /home/joakim/.emacs.d/elpa/org-20151005/org-id hides > /usr/local/share/emacs/24.5/lisp/org/org-id > /home/joakim/.emacs.d/elpa/org-20151005/org-w3m hides > /usr/local/share/emacs/24.5/lisp/org/org-w3m > /home/joakim/.emacs.d/elpa/org-20151005/org-macro hides > /usr/local/share/emacs/24.5/lisp/org/org-macro > /home/joakim/.emacs.d/elpa/org-20151005/ox-md hides > /usr/local/share/emacs/24.5/lisp/org/ox-md > /home/joakim/.emacs.d/elpa/org-20151005/org-src hides > /usr/local/share/emacs/24.5/lisp/org/org-src > /home/joakim/.emacs.d/elpa/org-20151005/org-docview hides > /usr/local/share/emacs/24.5/lisp/org/org-docview > /home/joakim/.emacs.d/elpa/org-20151005/ob-awk hides > /usr/local/share/emacs/24.5/lisp/org/ob-awk > /home/joakim/.emacs.d/elpa/org-20151005/ob-scala hides > /usr/local/share/emacs/24.5/lisp/org/ob-scala > /home/joakim/.emacs.d/elpa/org-20151005/org-attach hides > /usr/local/share/emacs/24.5/lisp/org/org-attach > /home/joakim/.emacs.d/elpa/org-20151005/ob-table hides > /usr/local/share/emacs/24.5/lisp/org/ob-table > /home/joakim/.emacs.d/elpa/org-20151005/org-feed hides > /usr/local/share/emacs/24.5/lisp/org/org-feed > /home/joakim/.emacs.d/elpa/org-20151005/org-compat hides > /usr/local/share/emacs/24.5/lisp/org/org-compat > /home/joakim/.emacs.d/elpa/org-20151005/ob-ocaml hides > /usr/local/share/emacs/24.5/lisp/org/ob-ocaml > /home/joakim/.emacs.d/elpa/org-20151005/ob-scheme hides > /usr/local/share/emacs/24.5/lisp/org/ob-scheme > /home/joakim/.emacs.d/elpa/org-20151005/org-bbdb hides > /usr/local/share/emacs/24.5/lisp/org/org-bbdb > /home/joakim/.emacs.d/elpa/org-20151005/ob-calc hides > /usr/local/share/emacs/24.5/lisp/org/ob-calc > /home/joakim/.emacs.d/elpa/org-20151005/org-ctags hides > /usr/local/share/emacs/24.5/lisp/org/org-ctags > /home/joakim/.emacs.d/elpa/org-20151005/org-archive hides > /usr/local/share/emacs/24.5/lisp/org/org-archive > /home/joakim/.emacs.d/elpa/org-20151005/org-entities hides > /usr/local/share/emacs/24.5/lisp/org/org-entities > /home/joakim/.emacs.d/elpa/org-20151005/ob-comint hides > /usr/local/share/emacs/24.5/lisp/org/ob-comint > /home/joakim/.emacs.d/elpa/org-20151005/ob-matlab hides > /usr/local/share/emacs/24.5/lisp/org/ob-matlab > /home/joakim/.emacs.d/elpa/org-20151005/org-mhe hides > /usr/local/share/emacs/24.5/lisp/org/org-mhe > /home/joakim/.emacs.d/elpa/org-20151005/ob-lisp hides > /usr/local/share/emacs/24.5/lisp/org/ob-lisp > /home/joakim/.emacs.d/elpa/org-20151005/ox-beamer hides > /usr/local/share/emacs/24.5/lisp/org/ox-beamer > /home/joakim/.emacs.d/elpa/org-20151005/org-rmail hides > /usr/local/share/emacs/24.5/lisp/org/org-rmail > /home/joakim/.emacs.d/elpa/org-20151005/org-colview hides > /usr/local/share/emacs/24.5/lisp/org/org-colview > /home/joakim/.emacs.d/elpa/org-20151005/org-gnus hides > /usr/local/share/emacs/24.5/lisp/org/org-gnus > /home/joakim/.emacs.d/elpa/org-20151005/ob-makefile hides > /usr/local/share/emacs/24.5/lisp/org/ob-makefile > /home/joakim/.emacs.d/elpa/org-20151005/ob-emacs-lisp hides > /usr/local/share/emacs/24.5/lisp/org/ob-emacs-lisp > /home/joakim/.emacs.d/elpa/org-20151005/ob-shen hides > /usr/local/share/emacs/24.5/lisp/org/ob-shen > /home/joakim/.emacs.d/elpa/org-20151005/ob-haskell hides > /usr/local/share/emacs/24.5/lisp/org/ob-haskell > /home/joakim/.emacs.d/elpa/org-20151005/ob-java hides > /usr/local/share/emacs/24.5/lisp/org/ob-java > /home/joakim/.emacs.d/elpa/org-20151005/ob-sqlite hides > /usr/local/share/emacs/24.5/lisp/org/ob-sqlite > /home/joakim/.emacs.d/elpa/org-20151005/ob-latex hides > /usr/local/share/emacs/24.5/lisp/org/ob-latex > /home/joakim/.emacs.d/elpa/org-20151005/ob-mscgen hides > /usr/local/share/emacs/24.5/lisp/org/ob-mscgen > /home/joakim/.emacs.d/elpa/org-20151005/ob-screen hides > /usr/local/share/emacs/24.5/lisp/org/ob-screen > /home/joakim/.emacs.d/elpa/org-20151005/org-macs hides > /usr/local/share/emacs/24.5/lisp/org/org-macs > /home/joakim/.emacs.d/elpa/org-20151005/org-timer hides > /usr/local/share/emacs/24.5/lisp/org/org-timer > /home/joakim/.emacs.d/elpa/org-20151005/ob-ref hides > /usr/local/share/emacs/24.5/lisp/org/ob-ref > /home/joakim/.emacs.d/elpa/org-20151005/ob-perl hides > /usr/local/share/emacs/24.5/lisp/org/ob-perl > /home/joakim/.emacs.d/elpa/org-20151005/org-faces hides > /usr/local/share/emacs/24.5/lisp/org/org-faces > /home/joakim/.emacs.d/elpa/org-20151005/org-table hides > /usr/local/share/emacs/24.5/lisp/org/org-table > /home/joakim/.emacs.d/elpa/org-20151005/ob-gnuplot hides > /usr/local/share/emacs/24.5/lisp/org/ob-gnuplot > /home/joakim/.emacs.d/elpa/org-20151005/ob-eval hides > /usr/local/share/emacs/24.5/lisp/org/ob-eval > /home/joakim/.emacs.d/elpa/org-20151005/ox-latex hides > /usr/local/share/emacs/24.5/lisp/org/ox-latex > /home/joakim/.emacs.d/elpa/org-20151005/ob-io hides > /usr/local/share/emacs/24.5/lisp/org/ob-io > /home/joakim/.emacs.d/elpa/org-20151005/ox-man hides > /usr/local/share/emacs/24.5/lisp/org/ox-man > /home/joakim/.emacs.d/elpa/org-20151005/org-habit hides > /usr/local/share/emacs/24.5/lisp/org/org-habit > /home/joakim/.emacs.d/elpa/org-20151005/org-crypt hides > /usr/local/share/emacs/24.5/lisp/org/org-crypt > /home/joakim/.emacs.d/elpa/org-20151005/ob-asymptote hides > /usr/local/share/emacs/24.5/lisp/org/ob-asymptote > /home/joakim/.emacs.d/elpa/org-20151005/org-mouse hides > /usr/local/share/emacs/24.5/lisp/org/org-mouse > /home/joakim/.emacs.d/elpa/org-20151005/org-version hides > /usr/local/share/emacs/24.5/lisp/org/org-version > /home/joakim/.emacs.d/elpa/org-20151005/org-indent hides > /usr/local/share/emacs/24.5/lisp/org/org-indent > /home/joakim/.emacs.d/elpa/org-20151005/ox-texinfo hides > /usr/local/share/emacs/24.5/lisp/org/ox-texinfo > /home/joakim/.emacs.d/elpa/org-20151005/org-mobile hides > /usr/local/share/emacs/24.5/lisp/org/org-mobile > /home/joakim/.emacs.d/elpa/org-20151005/ob-exp hides > /usr/local/share/emacs/24.5/lisp/org/ob-exp > /home/joakim/.emacs.d/elpa/org-20151005/ox-odt hides > /usr/local/share/emacs/24.5/lisp/org/ox-odt > /home/joakim/.emacs.d/elpa/org-20151005/ob-keys hides > /usr/local/share/emacs/24.5/lisp/org/ob-keys > /home/joakim/.emacs.d/elpa/org-20151005/ox-ascii hides > /usr/local/share/emacs/24.5/lisp/org/ox-ascii > /home/joakim/.emacs.d/elpa/org-20151005/org-agenda hides > /usr/local/share/emacs/24.5/lisp/org/org-agenda > /home/joakim/.emacs.d/elpa/org-20151005/ox-publish hides > /usr/local/share/emacs/24.5/lisp/org/ox-publish > /home/joakim/.emacs.d/elpa/org-20151005/ob-js hides > /usr/local/share/emacs/24.5/lisp/org/ob-js > /home/joakim/.emacs.d/elpa/org-20151005/ob-R hides > /usr/local/share/emacs/24.5/lisp/org/ob-R > /home/joakim/.emacs.d/elpa/org-20151005/org hides > /usr/local/share/emacs/24.5/lisp/org/org > /home/joakim/.emacs.d/elpa/org-20151005/org-list hides > /usr/local/share/emacs/24.5/lisp/org/org-list > /home/joakim/.emacs.d/elpa/org-20151005/org-install hides > /usr/local/share/emacs/24.5/lisp/org/org-install > /home/joakim/.emacs.d/elpa/org-20151005/ob-ditaa hides > /usr/local/share/emacs/24.5/lisp/org/ob-ditaa > /home/joakim/.emacs.d/elpa/org-20151005/org-info hides > /usr/local/share/emacs/24.5/lisp/org/org-info > /home/joakim/.emacs.d/elpa/org-20151005/ob hides > /usr/local/share/emacs/24.5/lisp/org/ob > /home/joakim/.emacs.d/elpa/org-20151005/ox-icalendar hides > /usr/local/share/emacs/24.5/lisp/org/ox-icalendar > /home/joakim/.emacs.d/elpa/org-20151005/ob-sass hides > /usr/local/share/emacs/24.5/lisp/org/ob-sass > /home/joakim/.emacs.d/elpa/org-20151005/org-loaddefs hides > /usr/local/share/emacs/24.5/lisp/org/org-loaddefs > /home/joakim/.emacs.d/elpa/org-20151005/ox hides > /usr/local/share/emacs/24.5/lisp/org/ox > /home/joakim/.emacs.d/elpa/org-20151005/org-clock hides > /usr/local/share/emacs/24.5/lisp/org/org-clock > /home/joakim/.emacs.d/elpa/org-20151005/ob-ruby hides > /usr/local/share/emacs/24.5/lisp/org/ob-ruby > /home/joakim/.emacs.d/elpa/org-20151005/org-bibtex hides > /usr/local/share/emacs/24.5/lisp/org/org-bibtex > /home/joakim/.emacs.d/elpa/emms-20150810.832/tq hides > /usr/local/share/emacs/24.5/lisp/emacs-lisp/tq > > Features: > (shadow bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015 debug > org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex > bibtex org-bbdb org-element org-w3m ispell emacsbug mule-util view > eieio-opt whitespace m4-mode smex sh-script smie executable misearch > multi-isearch vc-git solarized-dark-theme solarized company-files > company-oddmuse company-keywords company-etags company-gtags > company-dabbrev-code company-dabbrev company-capf company-cmake > company-xcode company-clang company-semantic company-eclim company-css > company-nxml company-bbdb emms-mode-line emms-info-ogginfo > emms-info-mp3info emms-player-vlc emms-player-mplayer emms-browser sort > emms-playlist-sort emms-playlist-mode emms-last-played emms-player-mpd > emms-url emms-cache emms-info later-do tq emms-source-playlist > emms-source-file locate emms-player-simple emms-setup emms emms-compat > paren linum-off linum rich-minority f90 fortran cus-edit cus-start > cus-load py-autopep8 company-anaconda anaconda-mode pythonic f python > cwarn company-irony irony-completion irony-snippet irony company-rtags > company-template rtags popup repeat bookmark function-args > semantic-directory semantic/ia etags srefactor subr-x srefactor-ui > recentf tree-widget srecode/semantic semantic/senator semantic/decorate > pulse srecode/insert srecode/filters srecode/args ede/speedbar ede/files > ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image dframe > eieio-custom srecode/find srecode/map srecode/ctxt srecode/compile > srecode/dictionary srecode/table srecode semantic/doc semantic/bovine/c > hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc > semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze > semantic/sort semantic/scope semantic/analyze/fcn cc-mode cc-fonts > cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs > dsvn vc vc-dispatcher magit-blame magit-stash magit-bisect magit-remote > magit-commit magit-sequence magit magit-apply magit-wip magit-log > magit-diff smerge-mode magit-core magit-process magit-popup magit-mode > magit-git magit-section magit-utils git-commit log-edit pcvs-util > add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat > tramp-loaddefs trampver shell comment-dwim-2 origami origami-parsers > semantic/idle semantic/format ezimage semantic/tag-ls semantic/find > semantic/ctxt inversion semantic/db-global semantic/symref/global > semantic/symref semantic/db-find semantic/db-ref cedet-global > semantic/db-mode semantic/db eieio-base semantic/util-modes > semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local > cedet lice mentor xml-rpc url-http tls url-auth url-gw url-scgi > google-translate-smooth-ui google-translate google-translate-default-ui > google-translate-core-ui google-translate-core elfeed-show elfeed-db > elfeed-lib avl-tree elfeed-search elfeed url-queue xml-query > erc-desktop-notifications notifications erc-list erc-menu erc-join > erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button > erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat > gnutls weechat-complete weechat-button weechat weechat-color rx > weechat-relay bindat weechat-core s ucs-normalize conkeror-minor-mode > w3m-lnum w3m-search w3m doc-view jka-compr image-mode w3m-hist w3m-fb > bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util > eww-lnum eww mm-url url url-proxy url-privacy url-expand url-methods > url-history url-cookie url-domsuf url-util shr browse-url bbdb-mua > bbdb-com bbdb bbdb-site timezone notmuch hl-line notmuch-message > notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-show > notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company > notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr > icalendar diary-lib diary-loaddefs notmuch-tag notmuch-lib mm-view > mml-smime smime dig mailcap nnir gnus-sum gnus-group gnus-undo nnmail > mail-source nnoo mbsync smtpmail sendmail gnus-sync gnus-start gnus-spec > gnus-int gnus-range message idna rfc822 mml mml-sec mm-decode mm-bodies > mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev > gmm-utils mailheader gnus-win json gnus gnus-ems nnheader mail-utils > wid-edit company-math math-symbol-lists company-auctex yasnippet company > pcase latex tex-style tex dbus xml crm swiper ivy delsel ffap url-parse > auth-source gnus-util mm-util mail-prsvr password-cache url-vars idomenu > imenu ace-link ace-window em-smart esh-var esh-io esh-cmd esh-opt > esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode > esh-util multi-term term disp-table ehelp flx-ido flx ido avy-zap avy > move-text undo-tree diff hydra lv multiple-cursors > mc-hide-unmatched-lines-mode mc-separate-operations > rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors > mc-edit-lines multiple-cursors-core rect org-table misc > programmers-dvorak quail edmacro kmacro dired+ image-dired image-file > dired-aux dired-x server pinentry autorevert filenotify projectile grep > compile ibuf-ext ibuffer dash thingatpt ignoramus el-get > el-get-autoloading el-get-list-packages el-get-dependencies el-get-build > el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman > el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar > el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki > el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github > el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew > el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile > el-get-custom el-get-core autoload lisp-mnt dired finder-inf org advice > org-macro org-footnote org-pcomplete pcomplete org-list org-faces > org-entities time-date noutline outline easy-mmode org-version > ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys > ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs > org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs > tex-site eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core > help-fns cl-macs cl gv cl-loaddefs cl-lib info easymenu package > epg-config tooltip electric uniquify ediff-hook vc-hooks lisp-float-type > mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe > tabulated-list newcomment lisp-mode prog-mode register page menu-bar > rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax > facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese > tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak > czech european ethiopic indian cyrillic chinese case-table epa-hook > jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button > faces cus-face macroexp files text-properties overlay sha1 md5 base64 > format env code-pages mule custom widget hashtable-print-readable > backquote make-network-process dbusbind gfilenotify dynamic-setting > system-font-setting font-render-setting move-toolbar gtk x-toolkit x > multi-tty emacs) > > Memory information: > ((conses 16 1027147 421321) > (symbols 48 76509 1) > (miscs 40 863 1582) > (strings 32 207041 118087) > (string-bytes 1 6146562) > (vectors 16 147798) > (vector-slots 8 3193259 446740) > (floats 8 17152 16902) > (intervals 56 10608 3318) > (buffers 960 31)) > --001a1130cd24a4e49d05298a0cd6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for reporting. I guess this should also reported ag= ainst autoconf-archive because the m4 file is from there (https://www= .gnu.org/software/autoconf-archive/How-to-contribute.html). More genera= lly, a test for a GCC-style attribute should use the __has_attribute builti= n if available and only resort to brittler methods such as warning output c= hecks if the builtin is unavailable.

Joakim Jalap <joakim.jalap@fastmail.com> schrieb am Sa., 16. Jan. 2016 um 19:25= =C2=A0Uhr:

Hello

I discovered a little problem while trying to build emacs-25 with modules o= n
OpenBSD-current. The problem is that an assertion fails because
HAVE_ATTRIBUTE_CLEANUP is not true, even though I'm using clang which d= oes
support the cleanup attribute (I think).

This is because the test for whether CC supports that attribute
(m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4) only checks if ther= e
were warnings issued and if so decides that the compiler has no support. Bu= t
OpenBSDs linker (I think it is) outputs the following warnings:

/usr/X11R6/lib/libX11.so.16.1: warning: warning: strcpy() is almost always = misused, please use strlcpy()
/usr/X11R6/lib/libX11.so.16.1: warning: warning: strcat() is almost always = misused, please use strlcat()
/usr/X11R6/lib/libX11.so.16.1: warning: warning: sprintf() is often misused= , please use snprintf()

which are completely unrelated to lack of attribute support.

The attached fix allows me to build. It isn't meant as a real solution,=
it's more to illustrate the problem.

I guess another way to go migt be to run this test with empty linker flags,= but
I haven't tried that.

Either way, I hope this is of some use.

-- Joakim



In GNU Emacs 24.5.1 (x86_64-unknown-openbsd, GTK+ Version 3.18.6)
=C2=A0of 2015-12-09 on amd64.ports.openbsd.org
Windowing system distributor `The X.Org Foundation', version 11.0.11704= 000
Configured using:
=C2=A0`configure --build=3Damd64-unknown-openbsd --without-sound
=C2=A0--with-x-toolkit=3Dgtk3 --prefix=3D/usr/local --sysconfdir=3D/etc
=C2=A0--mandir=3D/usr/local/man --infodir=3D/usr/local/info --localstatedir= =3D/var
=C2=A0--disable-silent-rules --disable-gtk-doc 'CFLAGS=3D-O2 -pipe -fno= -pie'
=C2=A0CPPFLAGS=3D-I/usr/local/include 'LDFLAGS=3D-L/usr/local/lib -nopi= e''

Important settings:
=C2=A0 locale-coding-system: nil

Major mode: Org

Minor modes in effect:
=C2=A0 show-paren-mode: t
=C2=A0 global-linum-mode: t
=C2=A0 rich-minority-mode: t
=C2=A0 global-cwarn-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 global-semantic-idle-scheduler-mode: t
=C2=A0 global-semanticdb-minor-mode: t
=C2=A0 semantic-mode: t
=C2=A0 erc-notifications-mode: t
=C2=A0 erc-list-mode: t
=C2=A0 erc-menu-mode: t
=C2=A0 erc-autojoin-mode: t
=C2=A0 erc-ring-mode: t
=C2=A0 erc-networks-mode: t
=C2=A0 erc-pcomplete-mode: t
=C2=A0 erc-track-mode: t
=C2=A0 erc-match-mode: t
=C2=A0 erc-button-mode: t
=C2=A0 erc-fill-mode: t
=C2=A0 erc-stamp-mode: t
=C2=A0 erc-netsplit-mode: t
=C2=A0 erc-irccontrols-mode: t
=C2=A0 erc-noncommands-mode: t
=C2=A0 erc-move-to-prompt-mode: t
=C2=A0 erc-readonly-mode: t
=C2=A0 w3m-fb-mode: t
=C2=A0 global-hl-line-mode: t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 global-company-mode: t
=C2=A0 company-mode: t
=C2=A0 TeX-PDF-mode: t
=C2=A0 TeX-source-correlate-mode: t
=C2=A0 flx-ido-mode: t
=C2=A0 ido-everywhere: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 global-auto-revert-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 projectile-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 auto-fill-function: do-auto-fill
=C2=A0 transient-mark-mode: t

Recent messages:
=C2=A0[2 times]
Buffer is read-only
(emacs gnus type)
Buffer is read-only
Describe-Function...
Making completion list...
Quit
Entering debugger...
Back to top level.
Making completion list... [3 times]
gnus-user-agent

Load-path shadows:
/home/joakim/.emacs.d/elpa/helm-20151106.2158/helm-multi-match hides /home/= joakim/.emacs.d/elpa/helm-core-20151104.0/helm-multi-match
/home/joakim/.emacs.d/elpa/org-20151005/org-protocol hides /usr/local/share= /emacs/24.5/lisp/org/org-protocol
/home/joakim/.emacs.d/elpa/org-20151005/org-pcomplete hides /usr/local/shar= e/emacs/24.5/lisp/org/org-pcomplete
/home/joakim/.emacs.d/elpa/org-20151005/org-eshell hides /usr/local/share/e= macs/24.5/lisp/org/org-eshell
/home/joakim/.emacs.d/elpa/org-20151005/org-element hides /usr/local/share/= emacs/24.5/lisp/org/org-element
/home/joakim/.emacs.d/elpa/org-20151005/ob-plantuml hides /usr/local/share/= emacs/24.5/lisp/org/ob-plantuml
/home/joakim/.emacs.d/elpa/org-20151005/ob-picolisp hides /usr/local/share/= emacs/24.5/lisp/org/ob-picolisp
/home/joakim/.emacs.d/elpa/org-20151005/ob-maxima hides /usr/local/share/em= acs/24.5/lisp/org/ob-maxima
/home/joakim/.emacs.d/elpa/org-20151005/ob-lilypond hides /usr/local/share/= emacs/24.5/lisp/org/ob-lilypond
/home/joakim/.emacs.d/elpa/org-20151005/ob-ledger hides /usr/local/share/em= acs/24.5/lisp/org/ob-ledger
/home/joakim/.emacs.d/elpa/org-20151005/ob-octave hides /usr/local/share/em= acs/24.5/lisp/org/ob-octave
/home/joakim/.emacs.d/elpa/org-20151005/ob-lob hides /usr/local/share/emacs= /24.5/lisp/org/ob-lob
/home/joakim/.emacs.d/elpa/org-20151005/org-inlinetask hides /usr/local/sha= re/emacs/24.5/lisp/org/org-inlinetask
/home/joakim/.emacs.d/elpa/org-20151005/org-footnote hides /usr/local/share= /emacs/24.5/lisp/org/org-footnote
/home/joakim/.emacs.d/elpa/org-20151005/ob-fortran hides /usr/local/share/e= macs/24.5/lisp/org/ob-fortran
/home/joakim/.emacs.d/elpa/org-20151005/ob-dot hides /usr/local/share/emacs= /24.5/lisp/org/ob-dot
/home/joakim/.emacs.d/elpa/org-20151005/ob-tangle hides /usr/local/share/em= acs/24.5/lisp/org/ob-tangle
/home/joakim/.emacs.d/elpa/org-20151005/ob-css hides /usr/local/share/emacs= /24.5/lisp/org/ob-css
/home/joakim/.emacs.d/elpa/org-20151005/ob-sql hides /usr/local/share/emacs= /24.5/lisp/org/ob-sql
/home/joakim/.emacs.d/elpa/org-20151005/ob-core hides /usr/local/share/emac= s/24.5/lisp/org/ob-core
/home/joakim/.emacs.d/elpa/org-20151005/org-datetree hides /usr/local/share= /emacs/24.5/lisp/org/org-datetree
/home/joakim/.emacs.d/elpa/org-20151005/org-capture hides /usr/local/share/= emacs/24.5/lisp/org/org-capture
/home/joakim/.emacs.d/elpa/org-20151005/ob-python hides /usr/local/share/em= acs/24.5/lisp/org/ob-python
/home/joakim/.emacs.d/elpa/org-20151005/ox-org hides /usr/local/share/emacs= /24.5/lisp/org/ox-org
/home/joakim/.emacs.d/elpa/org-20151005/org-plot hides /usr/local/share/ema= cs/24.5/lisp/org/org-plot
/home/joakim/.emacs.d/elpa/org-20151005/ob-clojure hides /usr/local/share/e= macs/24.5/lisp/org/ob-clojure
/home/joakim/.emacs.d/elpa/org-20151005/ob-C hides /usr/local/share/emacs/2= 4.5/lisp/org/ob-C
/home/joakim/.emacs.d/elpa/org-20151005/org-irc hides /usr/local/share/emac= s/24.5/lisp/org/org-irc
/home/joakim/.emacs.d/elpa/org-20151005/ox-html hides /usr/local/share/emac= s/24.5/lisp/org/ox-html
/home/joakim/.emacs.d/elpa/org-20151005/ob-org hides /usr/local/share/emacs= /24.5/lisp/org/ob-org
/home/joakim/.emacs.d/elpa/org-20151005/org-id hides /usr/local/share/emacs= /24.5/lisp/org/org-id
/home/joakim/.emacs.d/elpa/org-20151005/org-w3m hides /usr/local/share/emac= s/24.5/lisp/org/org-w3m
/home/joakim/.emacs.d/elpa/org-20151005/org-macro hides /usr/local/share/em= acs/24.5/lisp/org/org-macro
/home/joakim/.emacs.d/elpa/org-20151005/ox-md hides /usr/local/share/emacs/= 24.5/lisp/org/ox-md
/home/joakim/.emacs.d/elpa/org-20151005/org-src hides /usr/local/share/emac= s/24.5/lisp/org/org-src
/home/joakim/.emacs.d/elpa/org-20151005/org-docview hides /usr/local/share/= emacs/24.5/lisp/org/org-docview
/home/joakim/.emacs.d/elpa/org-20151005/ob-awk hides /usr/local/share/emacs= /24.5/lisp/org/ob-awk
/home/joakim/.emacs.d/elpa/org-20151005/ob-scala hides /usr/local/share/ema= cs/24.5/lisp/org/ob-scala
/home/joakim/.emacs.d/elpa/org-20151005/org-attach hides /usr/local/share/e= macs/24.5/lisp/org/org-attach
/home/joakim/.emacs.d/elpa/org-20151005/ob-table hides /usr/local/share/ema= cs/24.5/lisp/org/ob-table
/home/joakim/.emacs.d/elpa/org-20151005/org-feed hides /usr/local/share/ema= cs/24.5/lisp/org/org-feed
/home/joakim/.emacs.d/elpa/org-20151005/org-compat hides /usr/local/share/e= macs/24.5/lisp/org/org-compat
/home/joakim/.emacs.d/elpa/org-20151005/ob-ocaml hides /usr/local/share/ema= cs/24.5/lisp/org/ob-ocaml
/home/joakim/.emacs.d/elpa/org-20151005/ob-scheme hides /usr/local/share/em= acs/24.5/lisp/org/ob-scheme
/home/joakim/.emacs.d/elpa/org-20151005/org-bbdb hides /usr/local/share/ema= cs/24.5/lisp/org/org-bbdb
/home/joakim/.emacs.d/elpa/org-20151005/ob-calc hides /usr/local/share/emac= s/24.5/lisp/org/ob-calc
/home/joakim/.emacs.d/elpa/org-20151005/org-ctags hides /usr/local/share/em= acs/24.5/lisp/org/org-ctags
/home/joakim/.emacs.d/elpa/org-20151005/org-archive hides /usr/local/share/= emacs/24.5/lisp/org/org-archive
/home/joakim/.emacs.d/elpa/org-20151005/org-entities hides /usr/local/share= /emacs/24.5/lisp/org/org-entities
/home/joakim/.emacs.d/elpa/org-20151005/ob-comint hides /usr/local/share/em= acs/24.5/lisp/org/ob-comint
/home/joakim/.emacs.d/elpa/org-20151005/ob-matlab hides /usr/local/share/em= acs/24.5/lisp/org/ob-matlab
/home/joakim/.emacs.d/elpa/org-20151005/org-mhe hides /usr/local/share/emac= s/24.5/lisp/org/org-mhe
/home/joakim/.emacs.d/elpa/org-20151005/ob-lisp hides /usr/local/share/emac= s/24.5/lisp/org/ob-lisp
/home/joakim/.emacs.d/elpa/org-20151005/ox-beamer hides /usr/local/share/em= acs/24.5/lisp/org/ox-beamer
/home/joakim/.emacs.d/elpa/org-20151005/org-rmail hides /usr/local/share/em= acs/24.5/lisp/org/org-rmail
/home/joakim/.emacs.d/elpa/org-20151005/org-colview hides /usr/local/share/= emacs/24.5/lisp/org/org-colview
/home/joakim/.emacs.d/elpa/org-20151005/org-gnus hides /usr/local/share/ema= cs/24.5/lisp/org/org-gnus
/home/joakim/.emacs.d/elpa/org-20151005/ob-makefile hides /usr/local/share/= emacs/24.5/lisp/org/ob-makefile
/home/joakim/.emacs.d/elpa/org-20151005/ob-emacs-lisp hides /usr/local/shar= e/emacs/24.5/lisp/org/ob-emacs-lisp
/home/joakim/.emacs.d/elpa/org-20151005/ob-shen hides /usr/local/share/emac= s/24.5/lisp/org/ob-shen
/home/joakim/.emacs.d/elpa/org-20151005/ob-haskell hides /usr/local/share/e= macs/24.5/lisp/org/ob-haskell
/home/joakim/.emacs.d/elpa/org-20151005/ob-java hides /usr/local/share/emac= s/24.5/lisp/org/ob-java
/home/joakim/.emacs.d/elpa/org-20151005/ob-sqlite hides /usr/local/share/em= acs/24.5/lisp/org/ob-sqlite
/home/joakim/.emacs.d/elpa/org-20151005/ob-latex hides /usr/local/share/ema= cs/24.5/lisp/org/ob-latex
/home/joakim/.emacs.d/elpa/org-20151005/ob-mscgen hides /usr/local/share/em= acs/24.5/lisp/org/ob-mscgen
/home/joakim/.emacs.d/elpa/org-20151005/ob-screen hides /usr/local/share/em= acs/24.5/lisp/org/ob-screen
/home/joakim/.emacs.d/elpa/org-20151005/org-macs hides /usr/local/share/ema= cs/24.5/lisp/org/org-macs
/home/joakim/.emacs.d/elpa/org-20151005/org-timer hides /usr/local/share/em= acs/24.5/lisp/org/org-timer
/home/joakim/.emacs.d/elpa/org-20151005/ob-ref hides /usr/local/share/emacs= /24.5/lisp/org/ob-ref
/home/joakim/.emacs.d/elpa/org-20151005/ob-perl hides /usr/local/share/emac= s/24.5/lisp/org/ob-perl
/home/joakim/.emacs.d/elpa/org-20151005/org-faces hides /usr/local/share/em= acs/24.5/lisp/org/org-faces
/home/joakim/.emacs.d/elpa/org-20151005/org-table hides /usr/local/share/em= acs/24.5/lisp/org/org-table
/home/joakim/.emacs.d/elpa/org-20151005/ob-gnuplot hides /usr/local/share/e= macs/24.5/lisp/org/ob-gnuplot
/home/joakim/.emacs.d/elpa/org-20151005/ob-eval hides /usr/local/share/emac= s/24.5/lisp/org/ob-eval
/home/joakim/.emacs.d/elpa/org-20151005/ox-latex hides /usr/local/share/ema= cs/24.5/lisp/org/ox-latex
/home/joakim/.emacs.d/elpa/org-20151005/ob-io hides /usr/local/share/emacs/= 24.5/lisp/org/ob-io
/home/joakim/.emacs.d/elpa/org-20151005/ox-man hides /usr/local/share/emacs= /24.5/lisp/org/ox-man
/home/joakim/.emacs.d/elpa/org-20151005/org-habit hides /usr/local/share/em= acs/24.5/lisp/org/org-habit
/home/joakim/.emacs.d/elpa/org-20151005/org-crypt hides /usr/local/share/em= acs/24.5/lisp/org/org-crypt
/home/joakim/.emacs.d/elpa/org-20151005/ob-asymptote hides /usr/local/share= /emacs/24.5/lisp/org/ob-asymptote
/home/joakim/.emacs.d/elpa/org-20151005/org-mouse hides /usr/local/share/em= acs/24.5/lisp/org/org-mouse
/home/joakim/.emacs.d/elpa/org-20151005/org-version hides /usr/local/share/= emacs/24.5/lisp/org/org-version
/home/joakim/.emacs.d/elpa/org-20151005/org-indent hides /usr/local/share/e= macs/24.5/lisp/org/org-indent
/home/joakim/.emacs.d/elpa/org-20151005/ox-texinfo hides /usr/local/share/e= macs/24.5/lisp/org/ox-texinfo
/home/joakim/.emacs.d/elpa/org-20151005/org-mobile hides /usr/local/share/e= macs/24.5/lisp/org/org-mobile
/home/joakim/.emacs.d/elpa/org-20151005/ob-exp hides /usr/local/share/emacs= /24.5/lisp/org/ob-exp
/home/joakim/.emacs.d/elpa/org-20151005/ox-odt hides /usr/local/share/emacs= /24.5/lisp/org/ox-odt
/home/joakim/.emacs.d/elpa/org-20151005/ob-keys hides /usr/local/share/emac= s/24.5/lisp/org/ob-keys
/home/joakim/.emacs.d/elpa/org-20151005/ox-ascii hides /usr/local/share/ema= cs/24.5/lisp/org/ox-ascii
/home/joakim/.emacs.d/elpa/org-20151005/org-agenda hides /usr/local/share/e= macs/24.5/lisp/org/org-agenda
/home/joakim/.emacs.d/elpa/org-20151005/ox-publish hides /usr/local/share/e= macs/24.5/lisp/org/ox-publish
/home/joakim/.emacs.d/elpa/org-20151005/ob-js hides /usr/local/share/emacs/= 24.5/lisp/org/ob-js
/home/joakim/.emacs.d/elpa/org-20151005/ob-R hides /usr/local/share/emacs/2= 4.5/lisp/org/ob-R
/home/joakim/.emacs.d/elpa/org-20151005/org hides /usr/local/share/emacs/24= .5/lisp/org/org
/home/joakim/.emacs.d/elpa/org-20151005/org-list hides /usr/local/share/ema= cs/24.5/lisp/org/org-list
/home/joakim/.emacs.d/elpa/org-20151005/org-install hides /usr/local/share/= emacs/24.5/lisp/org/org-install
/home/joakim/.emacs.d/elpa/org-20151005/ob-ditaa hides /usr/local/share/ema= cs/24.5/lisp/org/ob-ditaa
/home/joakim/.emacs.d/elpa/org-20151005/org-info hides /usr/local/share/ema= cs/24.5/lisp/org/org-info
/home/joakim/.emacs.d/elpa/org-20151005/ob hides /usr/local/share/emacs/24.= 5/lisp/org/ob
/home/joakim/.emacs.d/elpa/org-20151005/ox-icalendar hides /usr/local/share= /emacs/24.5/lisp/org/ox-icalendar
/home/joakim/.emacs.d/elpa/org-20151005/ob-sass hides /usr/local/share/emac= s/24.5/lisp/org/ob-sass
/home/joakim/.emacs.d/elpa/org-20151005/org-loaddefs hides /usr/local/share= /emacs/24.5/lisp/org/org-loaddefs
/home/joakim/.emacs.d/elpa/org-20151005/ox hides /usr/local/share/emacs/24.= 5/lisp/org/ox
/home/joakim/.emacs.d/elpa/org-20151005/org-clock hides /usr/local/share/em= acs/24.5/lisp/org/org-clock
/home/joakim/.emacs.d/elpa/org-20151005/ob-ruby hides /usr/local/share/emac= s/24.5/lisp/org/ob-ruby
/home/joakim/.emacs.d/elpa/org-20151005/org-bibtex hides /usr/local/share/e= macs/24.5/lisp/org/org-bibtex
/home/joakim/.emacs.d/elpa/emms-20150810.832/tq hides /usr/local/share/emac= s/24.5/lisp/emacs-lisp/tq

Features:
(shadow bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015 debug
org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex
bibtex org-bbdb org-element org-w3m ispell emacsbug mule-util view
eieio-opt whitespace m4-mode smex sh-script smie executable misearch
multi-isearch vc-git solarized-dark-theme solarized company-files
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-capf company-cmake
company-xcode company-clang company-semantic company-eclim company-css
company-nxml company-bbdb emms-mode-line emms-info-ogginfo
emms-info-mp3info emms-player-vlc emms-player-mplayer emms-browser sort
emms-playlist-sort emms-playlist-mode emms-last-played emms-player-mpd
emms-url emms-cache emms-info later-do tq emms-source-playlist
emms-source-file locate emms-player-simple emms-setup emms emms-compat
paren linum-off linum rich-minority f90 fortran cus-edit cus-start
cus-load py-autopep8 company-anaconda anaconda-mode pythonic f python
cwarn company-irony irony-completion irony-snippet irony company-rtags
company-template rtags popup repeat bookmark function-args
semantic-directory semantic/ia etags srefactor subr-x srefactor-ui
recentf tree-widget srecode/semantic semantic/senator semantic/decorate
pulse srecode/insert srecode/filters srecode/args ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image dframe eieio-custom srecode/find srecode/map srecode/ctxt srecode/compile
srecode/dictionary srecode/table srecode semantic/doc semantic/bovine/c
hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc
semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze
semantic/sort semantic/scope semantic/analyze/fcn cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
dsvn vc vc-dispatcher magit-blame magit-stash magit-bisect magit-remote
magit-commit magit-sequence magit magit-apply magit-wip magit-log
magit-diff smerge-mode magit-core magit-process magit-popup magit-mode
magit-git magit-section magit-utils git-commit log-edit pcvs-util
add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat
tramp-loaddefs trampver shell comment-dwim-2 origami origami-parsers
semantic/idle semantic/format ezimage semantic/tag-ls semantic/find
semantic/ctxt inversion semantic/db-global semantic/symref/global
semantic/symref semantic/db-find semantic/db-ref cedet-global
semantic/db-mode semantic/db eieio-base semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet lice mentor xml-rpc url-http tls url-auth url-gw url-scgi
google-translate-smooth-ui google-translate google-translate-default-ui
google-translate-core-ui google-translate-core elfeed-show elfeed-db
elfeed-lib avl-tree elfeed-search elfeed url-queue xml-query
erc-desktop-notifications notifications erc-list erc-menu erc-join
erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button
erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat
gnutls weechat-complete weechat-button weechat weechat-color rx
weechat-relay bindat weechat-core s ucs-normalize conkeror-minor-mode
w3m-lnum w3m-search w3m doc-view jka-compr image-mode w3m-hist w3m-fb
bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util eww-lnum eww mm-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util shr browse-url bbdb-mua
bbdb-com bbdb bbdb-site timezone notmuch hl-line notmuch-message
notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-show
notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr
icalendar diary-lib diary-loaddefs notmuch-tag notmuch-lib mm-view
mml-smime smime dig mailcap nnir gnus-sum gnus-group gnus-undo nnmail
mail-source nnoo mbsync smtpmail sendmail gnus-sync gnus-start gnus-spec gnus-int gnus-range message idna rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
gmm-utils mailheader gnus-win json gnus gnus-ems nnheader mail-utils
wid-edit company-math math-symbol-lists company-auctex yasnippet company pcase latex tex-style tex dbus xml crm swiper ivy delsel ffap url-parse
auth-source gnus-util mm-util mail-prsvr password-cache url-vars idomenu imenu ace-link ace-window em-smart esh-var esh-io esh-cmd esh-opt
esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode
esh-util multi-term term disp-table ehelp flx-ido flx ido avy-zap avy
move-text undo-tree diff hydra lv multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect org-table misc
programmers-dvorak quail edmacro kmacro dired+ image-dired image-file
dired-aux dired-x server pinentry autorevert filenotify projectile grep
compile ibuf-ext ibuffer dash thingatpt ignoramus el-get
el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman
el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar
el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki
el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github
el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew
el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile
el-get-custom el-get-core autoload lisp-mnt dired finder-inf org advice
org-macro org-footnote org-pcomplete pcomplete org-list org-faces
org-entities time-date noutline outline easy-mmode org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
tex-site eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core
help-fns cl-macs cl gv cl-loaddefs cl-lib info easymenu package
epg-config tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

Memory information:
((conses 16 1027147 421321)
=C2=A0(symbols 48 76509 1)
=C2=A0(miscs 40 863 1582)
=C2=A0(strings 32 207041 118087)
=C2=A0(string-bytes 1 6146562)
=C2=A0(vectors 16 147798)
=C2=A0(vector-slots 8 3193259 446740)
=C2=A0(floats 8 17152 16902)
=C2=A0(intervals 56 10608 3318)
=C2=A0(buffers 960 31))
--001a1130cd24a4e49d05298a0cd6-- From unknown Wed Jun 25 03:56:51 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Joakim Jalap Subject: bug#22385: closed (Re: 24.5; Build failure with modules on OpenBSD) Message-ID: References: <569C1616.5030603@cs.ucla.edu> <87h9idmncj.fsf@netbook.my.domain> X-Gnu-PR-Message: they-closed 22385 X-Gnu-PR-Package: emacs Reply-To: 22385@debbugs.gnu.org Date: Sun, 17 Jan 2016 22:31:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1453069861-8333-1" This is a multi-part message in MIME format... ------------=_1453069861-8333-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22385: 24.5; Build failure with modules on OpenBSD which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22385@debbugs.gnu.org. --=20 22385: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22385 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1453069861-8333-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22385-done) by debbugs.gnu.org; 17 Jan 2016 22:30:57 +0000 Received: from localhost ([127.0.0.1]:52143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKvqb-000266-1w for submit@debbugs.gnu.org; Sun, 17 Jan 2016 17:30:57 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:53082) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKvqZ-0001xH-3t for 22385-done@debbugs.gnu.org; Sun, 17 Jan 2016 17:30:56 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2D9B6160017; Sun, 17 Jan 2016 14:30:49 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eziaMDitWzD0; Sun, 17 Jan 2016 14:30:46 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CB14F160544; Sun, 17 Jan 2016 14:30:46 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 25YJBW4ImjN4; Sun, 17 Jan 2016 14:30:46 -0800 (PST) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A1F12160017; Sun, 17 Jan 2016 14:30:46 -0800 (PST) To: Joakim Jalap From: Paul Eggert Subject: Re: 24.5; Build failure with modules on OpenBSD Organization: UCLA Computer Science Department Message-ID: <569C1616.5030603@cs.ucla.edu> Date: Sun, 17 Jan 2016 14:30:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080000060408070607050900" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22385-done Cc: Gabriele Svelto , 22385-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------080000060408070607050900 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for reporting the problem. The OpenBSD compiler warnings about strcpy etc. are false alarms, and these false alarms confuse the Emacs build procedure and therefore introduce bugs into the Emacs module code. We're lucky that a run-time assertion caught this. I installed the attached patch into the emacs-25 branch. It removes the offending test in 'configure', and so should fix the bug so I am boldly marking it as done. Please give the fix a try; if it doesn't work I can unmark the bug. Is there some way to tell the OpenBSD C compiler to not chatter about uses of strcpy, strcat, and sprintf? We don't want to use the OpenBSD-suggested replacements in Emacs, as that would be more likely to introduce bugs than to fix them. If we can suggest (or get 'configure' to use) a build-time option to suppress the false alarms that would save everybody some work and would help make Emacs more reliable. Although the OpenBSD porting problem with AX_GCC_VAR_ATTRIBUTE no longer affects Emacs, it might affect other programs that use that macro, so I'll CC: this to the macro's author Gabriele Svelto. Gabriele, the bug report is here: http://bugs.gnu.org/22385 --------------080000060408070607050900 Content-Type: text/x-diff; name="0001-Port-cleanup-attribute-to-OpenBSD.patch" Content-Disposition: attachment; filename="0001-Port-cleanup-attribute-to-OpenBSD.patch" Content-Transfer-Encoding: quoted-printable >From 1addf499c8318ecf2b00e1c60dfa56e67bc1689e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 17 Jan 2016 14:10:26 -0800 Subject: [PATCH] Port cleanup attribute to OpenBSD MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit The OpenBSD C compiler issues false alarms about strcpy, strcat, and sprintf, and this messes up 'configure' when it tests for the cleanup attribute. Work around the problem by using __has_attribute directly. Problem reported by Joakim Jalap (Bug#22385). * configure.ac: Don=E2=80=99t use AX_GCC_VAR_ATTRIBUTE. * m4/ax_gcc_var_attribute.m4: Remove. * src/conf_post.h (__has_attribute): Provide a substitute, for non-GCC or older GCC compilers. All uses changed to assume the substitute. Check for the cleanup attribute. * src/emacs-module.c (module_has_cleanup): Just use __has_attribute. --- configure.ac | 1 - m4/ax_gcc_var_attribute.m4 | 141 ---------------------------------------= ------ src/conf_post.h | 28 +++++---- src/emacs-module.c | 3 +- 4 files changed, 18 insertions(+), 155 deletions(-) delete mode 100644 m4/ax_gcc_var_attribute.m4 diff --git a/configure.ac b/configure.ac index 8c01aba..3aeba22 100644 --- a/configure.ac +++ b/configure.ac @@ -3327,7 +3327,6 @@ if test "${HAVE_MODULES}" =3D yes; then fi AC_SUBST(MODULES_OBJ) AC_SUBST(LIBMODULES) -AX_GCC_VAR_ATTRIBUTE(cleanup) AC_CHECK_FUNCS(dladdr) =20 ### Use -lpng if available, unless '--with-png=3Dno'. diff --git a/m4/ax_gcc_var_attribute.m4 b/m4/ax_gcc_var_attribute.m4 deleted file mode 100644 index d12fce8..0000000 --- a/m4/ax_gcc_var_attribute.m4 +++ /dev/null @@ -1,141 +0,0 @@ -# =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D -# http://www.gnu.org/software/autoconf-archive/ax_gcc_var_attribute.ht= ml -# =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D -# -# SYNOPSIS -# -# AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE) -# -# DESCRIPTION -# -# This macro checks if the compiler supports one of GCC's variable -# attributes; many other compilers also provide variable attributes wi= th -# the same syntax. Compiler warnings are used to detect supported -# attributes as unsupported ones are ignored by default so quieting -# warnings when using this macro will yield false positives. -# -# The ATTRIBUTE parameter holds the name of the attribute to be checke= d. -# -# If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_. -# -# The macro caches its result in the ax_cv_have_var_attribute_ -# variable. -# -# The macro currently supports the following variable attributes: -# -# aligned -# cleanup -# common -# nocommon -# deprecated -# mode -# packed -# tls_model -# unused -# used -# vector_size -# weak -# dllimport -# dllexport -# init_priority -# -# Unsupported variable attributes will be tested against a global inte= ger -# variable and without any arguments given to the attribute itself; th= e -# result of this check might be wrong or meaningless so use with care. -# -# LICENSE -# -# Copyright (c) 2013 Gabriele Svelto -# -# Copying and distribution of this file, with or without modification,= are -# permitted in any medium without royalty provided the copyright notic= e -# and this notice are preserved. This file is offered as-is, without = any -# warranty. - -#serial 3 - -AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ - AS_VAR_PUSHDEF([ac_var], [ax_cv_have_var_attribute_$1]) - - AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([ - m4_case([$1], - [aligned], [ - int foo __attribute__(($1(32))); - ], - [cleanup], [ - int bar(int *t) { return *t; }; - ], - [common], [ - int foo __attribute__(($1)); - ], - [nocommon], [ - int foo __attribute__(($1)); - ], - [deprecated], [ - int foo __attribute__(($1)) =3D 0; - ], - [mode], [ - long foo __attribute__(($1(word))); - ], - [packed], [ - struct bar { - int baz __attribute__(($1)); - }; - ], - [tls_model], [ - __thread int bar1 __attribute__(($1("global-dynamic"= ))); - __thread int bar2 __attribute__(($1("local-dynamic")= )); - __thread int bar3 __attribute__(($1("initial-exec"))= ); - __thread int bar4 __attribute__(($1("local-exec"))); - ], - [unused], [ - int foo __attribute__(($1)); - ], - [used], [ - int foo __attribute__(($1)); - ], - [vector_size], [ - int foo __attribute__(($1(16))); - ], - [weak], [ - int foo __attribute__(($1)); - ], - [dllimport], [ - int foo __attribute__(($1)); - ], - [dllexport], [ - int foo __attribute__(($1)); - ], - [init_priority], [ - struct bar { bar() {} ~bar() {} }; - bar b __attribute__(($1(65535/2))); - ], - [ - m4_warn([syntax], [Unsupported attribute $1, the test m= ay fail]) - int foo __attribute__(($1)); - ] - )], [ - m4_case([$1], - [cleanup], [ - int foo __attribute__(($1(bar))) =3D 0; - foo =3D foo + 1; - ], - [] - )]) - ], - dnl GCC doesn't exit with an error if an unknown attribute i= s - dnl provided but only outputs a warning, so accept the attri= bute - dnl only if no warning were issued. - [AS_IF([test -s conftest.err], - [AS_VAR_SET([ac_var], [no])], - [AS_VAR_SET([ac_var], [yes])])], - [AS_VAR_SET([ac_var], [no])]) - ]) - - AS_IF([test yes =3D AS_VAR_GET([ac_var])], - [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_VAR_ATTRIBUTE_$1), 1, - [Define to 1 if the system has the `$1' variable attribute])= ], []) - - AS_VAR_POPDEF([ac_var]) -]) diff --git a/src/conf_post.h b/src/conf_post.h index 98ff12e..5c332a0 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -51,10 +51,21 @@ typedef bool bool_bf; #endif #endif =20 -/* When not using Clang, assume its attributes and features are absent. = */ +/* Simulate __has_attribute on compilers that lack it. It is used only + on arguments like alloc_size that are handled in this simulation. */ #ifndef __has_attribute -# define __has_attribute(a) false -#endif +# define __has_attribute(a) __has_attribute_##a +# define __has_attribute_alloc_size (4 < __GNUC__ + (3 <=3D __GNUC_MINOR= __)) +# define __has_attribute_cleanup (3 < __GNUC__ + (4 <=3D __GNUC_MINOR__)= ) +# define __has_attribute_externally_visible \ + (4 < __GNUC__ + (1 <=3D __GNUC_MINOR__)) +# define __has_attribute_no_address_safety_analysis false +# define __has_attribute_no_sanitize_address \ + (4 < __GNUC__ + (8 <=3D __GNUC_MINOR__)) +#endif + +/* Simulate __has_feature on compilers that lack it. It is used only + to define ADDRESS_SANITIZER below. */ #ifndef __has_feature # define __has_feature(a) false #endif @@ -222,9 +233,7 @@ extern int emacs_setenv_TZ (char const *); #define NO_INLINE #endif =20 -#if (__clang__ \ - ? __has_attribute (externally_visible) \ - : (__GNUC__ > 4 || (__GNUC__ =3D=3D 4 && __GNUC_MINOR__ >=3D 1))) +#if __has_attribute (externally_visible) #define EXTERNALLY_VISIBLE __attribute__((externally_visible)) #else #define EXTERNALLY_VISIBLE @@ -253,9 +262,7 @@ extern int emacs_setenv_TZ (char const *); # define ATTRIBUTE_MALLOC #endif =20 -#if (__clang__ \ - ? __has_attribute (alloc_size) \ - : 4 < __GNUC__ + (3 <=3D __GNUC_MINOR__)) +#if __has_attribute (alloc_size) # define ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)= ) #else # define ATTRIBUTE_ALLOC_SIZE(args) @@ -278,8 +285,7 @@ extern int emacs_setenv_TZ (char const *); /* Attribute of functions whose code should not have addresses sanitized. */ =20 -#if (__has_attribute (no_sanitize_address) \ - || 4 < __GNUC__ + (8 <=3D __GNUC_MINOR__)) +#if __has_attribute (no_sanitize_address) # define ATTRIBUTE_NO_SANITIZE_ADDRESS \ __attribute__ ((no_sanitize_address)) ADDRESS_SANITIZER_WORKAROUND #elif __has_attribute (no_address_safety_analysis) diff --git a/src/emacs-module.c b/src/emacs-module.c index b5e044e..79a077b 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c @@ -35,8 +35,7 @@ along with GNU Emacs. If not, see . */ =0C /* Feature tests. */ =20 -/* True if __attribute__ ((cleanup (...))) works, false otherwise. */ -#ifdef HAVE_VAR_ATTRIBUTE_CLEANUP +#if __has_attribute (cleanup) enum { module_has_cleanup =3D true }; #else enum { module_has_cleanup =3D false }; --=20 2.5.0 --------------080000060408070607050900-- ------------=_1453069861-8333-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Jan 2016 18:24:42 +0000 Received: from localhost ([127.0.0.1]:51125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKVWj-0005x9-Cb for submit@debbugs.gnu.org; Sat, 16 Jan 2016 13:24:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55091) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKUte-0004z1-Ld for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKUtW-00011x-Hg for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtW-00011t-E9 for submit@debbugs.gnu.org; Sat, 16 Jan 2016 12:44:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtT-0000xe-7u for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKUtP-00011P-VP for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:07 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKUtP-000118-M0 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2016 12:44:03 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5A0D1204DF for ; Sat, 16 Jan 2016 12:44:00 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 16 Jan 2016 12:44:00 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=0++x19GMbtMYEvJYx5M4dbf4HEg =; b=Rz6RTj4YmpGAvV7pGH42C756/t9432xbrNG1+w9mGXDGHxWzr9h68YwC1XK JaFzOjMi/evopD9kiKL0wekpD7oGWT1QGa1wdCqY7HtkLw2kQF9ALsZujYMbM1lr aikEBT+T+uHZSDDwN/UJP9hhi4NLS5CAOxml/hI87dyflgFk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=0+ +x19GMbtMYEvJYx5M4dbf4HEg=; b=sBAyV9rrbA2upetq8fET7F5OlaufVj2nPE qX+R975f6Qbb2fT5QH70uYuAMLOUU6nsx2DtOeVYVTwybI6stzYJAr6rN5COVOpo 5F9woZvUoRK+mDd03Yg9wKw9BAxgtbELO/aLX11GuUZYiLQNmtjkiQbGSQlSISUb pKz1ay9us= X-Sasl-enc: bQyzXTrK/48jEW9YJXmToTOOWJIPknDANqIA73FLbqNr 1452966239 Received: from netbook.my.domain (unknown [5.150.202.248]) by mail.messagingengine.com (Postfix) with ESMTPA id 764C96800BF for ; Sat, 16 Jan 2016 12:43:59 -0500 (EST) From: Joakim Jalap To: bug-gnu-emacs@gnu.org Subject: 24.5; Build failure with modules on OpenBSD Date: Sat, 16 Jan 2016 18:43:40 +0100 Message-ID: <87h9idmncj.fsf@netbook.my.domain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 16 Jan 2016 13:24:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) --=-=-= Content-Type: text/plain Hello I discovered a little problem while trying to build emacs-25 with modules on OpenBSD-current. The problem is that an assertion fails because HAVE_ATTRIBUTE_CLEANUP is not true, even though I'm using clang which does support the cleanup attribute (I think). This is because the test for whether CC supports that attribute (m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4) only checks if there were warnings issued and if so decides that the compiler has no support. But OpenBSDs linker (I think it is) outputs the following warnings: /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcpy() is almost always misused, please use strlcpy() /usr/X11R6/lib/libX11.so.16.1: warning: warning: strcat() is almost always misused, please use strlcat() /usr/X11R6/lib/libX11.so.16.1: warning: warning: sprintf() is often misused, please use snprintf() which are completely unrelated to lack of attribute support. The attached fix allows me to build. It isn't meant as a real solution, it's more to illustrate the problem. I guess another way to go migt be to run this test with empty linker flags, but I haven't tried that. Either way, I hope this is of some use. -- Joakim --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=ignore_openbsd_warns.patch Content-Description: openbsd-fix diff --git m4/ax_gcc_var_attribute.m4 m4/ax_gcc_var_attribute.m4 index d12fce8..963af5e 100644 --- m4/ax_gcc_var_attribute.m4 +++ m4/ax_gcc_var_attribute.m4 @@ -55,6 +55,11 @@ #serial 3 AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ + + dnl Temporarily make unknown attributes an error + OLDCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Werror=attributes" + AS_VAR_PUSHDEF([ac_var], [ax_cv_have_var_attribute_$1]) AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [ @@ -124,15 +129,12 @@ AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ [] )]) ], - dnl GCC doesn't exit with an error if an unknown attribute is - dnl provided but only outputs a warning, so accept the attribute - dnl only if no warning were issued. - [AS_IF([test -s conftest.err], - [AS_VAR_SET([ac_var], [no])], - [AS_VAR_SET([ac_var], [yes])])], + [AS_VAR_SET([ac_var], [yes])], [AS_VAR_SET([ac_var], [no])]) ]) + CFLAGS="$OLDCFLAGS" + AS_IF([test yes = AS_VAR_GET([ac_var])], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_VAR_ATTRIBUTE_$1), 1, [Define to 1 if the system has the `$1' variable attribute])], []) --=-=-= Content-Type: text/plain In GNU Emacs 24.5.1 (x86_64-unknown-openbsd, GTK+ Version 3.18.6) of 2015-12-09 on amd64.ports.openbsd.org Windowing system distributor `The X.Org Foundation', version 11.0.11704000 Configured using: `configure --build=amd64-unknown-openbsd --without-sound --with-x-toolkit=gtk3 --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var --disable-silent-rules --disable-gtk-doc 'CFLAGS=-O2 -pipe -fno-pie' CPPFLAGS=-I/usr/local/include 'LDFLAGS=-L/usr/local/lib -nopie'' Important settings: locale-coding-system: nil Major mode: Org Minor modes in effect: show-paren-mode: t global-linum-mode: t rich-minority-mode: t global-cwarn-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t global-semantic-idle-scheduler-mode: t global-semanticdb-minor-mode: t semantic-mode: t erc-notifications-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t w3m-fb-mode: t global-hl-line-mode: t diff-auto-refine-mode: t global-company-mode: t company-mode: t TeX-PDF-mode: t TeX-source-correlate-mode: t flx-ido-mode: t ido-everywhere: t global-undo-tree-mode: t undo-tree-mode: t global-auto-revert-mode: t projectile-global-mode: t projectile-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent messages: [2 times] Buffer is read-only (emacs gnus type) Buffer is read-only Describe-Function... Making completion list... Quit Entering debugger... Back to top level. Making completion list... [3 times] gnus-user-agent Load-path shadows: /home/joakim/.emacs.d/elpa/helm-20151106.2158/helm-multi-match hides /home/joakim/.emacs.d/elpa/helm-core-20151104.0/helm-multi-match /home/joakim/.emacs.d/elpa/org-20151005/org-protocol hides /usr/local/share/emacs/24.5/lisp/org/org-protocol /home/joakim/.emacs.d/elpa/org-20151005/org-pcomplete hides /usr/local/share/emacs/24.5/lisp/org/org-pcomplete /home/joakim/.emacs.d/elpa/org-20151005/org-eshell hides /usr/local/share/emacs/24.5/lisp/org/org-eshell /home/joakim/.emacs.d/elpa/org-20151005/org-element hides /usr/local/share/emacs/24.5/lisp/org/org-element /home/joakim/.emacs.d/elpa/org-20151005/ob-plantuml hides /usr/local/share/emacs/24.5/lisp/org/ob-plantuml /home/joakim/.emacs.d/elpa/org-20151005/ob-picolisp hides /usr/local/share/emacs/24.5/lisp/org/ob-picolisp /home/joakim/.emacs.d/elpa/org-20151005/ob-maxima hides /usr/local/share/emacs/24.5/lisp/org/ob-maxima /home/joakim/.emacs.d/elpa/org-20151005/ob-lilypond hides /usr/local/share/emacs/24.5/lisp/org/ob-lilypond /home/joakim/.emacs.d/elpa/org-20151005/ob-ledger hides /usr/local/share/emacs/24.5/lisp/org/ob-ledger /home/joakim/.emacs.d/elpa/org-20151005/ob-octave hides /usr/local/share/emacs/24.5/lisp/org/ob-octave /home/joakim/.emacs.d/elpa/org-20151005/ob-lob hides /usr/local/share/emacs/24.5/lisp/org/ob-lob /home/joakim/.emacs.d/elpa/org-20151005/org-inlinetask hides /usr/local/share/emacs/24.5/lisp/org/org-inlinetask /home/joakim/.emacs.d/elpa/org-20151005/org-footnote hides /usr/local/share/emacs/24.5/lisp/org/org-footnote /home/joakim/.emacs.d/elpa/org-20151005/ob-fortran hides /usr/local/share/emacs/24.5/lisp/org/ob-fortran /home/joakim/.emacs.d/elpa/org-20151005/ob-dot hides /usr/local/share/emacs/24.5/lisp/org/ob-dot /home/joakim/.emacs.d/elpa/org-20151005/ob-tangle hides /usr/local/share/emacs/24.5/lisp/org/ob-tangle /home/joakim/.emacs.d/elpa/org-20151005/ob-css hides /usr/local/share/emacs/24.5/lisp/org/ob-css /home/joakim/.emacs.d/elpa/org-20151005/ob-sql hides /usr/local/share/emacs/24.5/lisp/org/ob-sql /home/joakim/.emacs.d/elpa/org-20151005/ob-core hides /usr/local/share/emacs/24.5/lisp/org/ob-core /home/joakim/.emacs.d/elpa/org-20151005/org-datetree hides /usr/local/share/emacs/24.5/lisp/org/org-datetree /home/joakim/.emacs.d/elpa/org-20151005/org-capture hides /usr/local/share/emacs/24.5/lisp/org/org-capture /home/joakim/.emacs.d/elpa/org-20151005/ob-python hides /usr/local/share/emacs/24.5/lisp/org/ob-python /home/joakim/.emacs.d/elpa/org-20151005/ox-org hides /usr/local/share/emacs/24.5/lisp/org/ox-org /home/joakim/.emacs.d/elpa/org-20151005/org-plot hides /usr/local/share/emacs/24.5/lisp/org/org-plot /home/joakim/.emacs.d/elpa/org-20151005/ob-clojure hides /usr/local/share/emacs/24.5/lisp/org/ob-clojure /home/joakim/.emacs.d/elpa/org-20151005/ob-C hides /usr/local/share/emacs/24.5/lisp/org/ob-C /home/joakim/.emacs.d/elpa/org-20151005/org-irc hides /usr/local/share/emacs/24.5/lisp/org/org-irc /home/joakim/.emacs.d/elpa/org-20151005/ox-html hides /usr/local/share/emacs/24.5/lisp/org/ox-html /home/joakim/.emacs.d/elpa/org-20151005/ob-org hides /usr/local/share/emacs/24.5/lisp/org/ob-org /home/joakim/.emacs.d/elpa/org-20151005/org-id hides /usr/local/share/emacs/24.5/lisp/org/org-id /home/joakim/.emacs.d/elpa/org-20151005/org-w3m hides /usr/local/share/emacs/24.5/lisp/org/org-w3m /home/joakim/.emacs.d/elpa/org-20151005/org-macro hides /usr/local/share/emacs/24.5/lisp/org/org-macro /home/joakim/.emacs.d/elpa/org-20151005/ox-md hides /usr/local/share/emacs/24.5/lisp/org/ox-md /home/joakim/.emacs.d/elpa/org-20151005/org-src hides /usr/local/share/emacs/24.5/lisp/org/org-src /home/joakim/.emacs.d/elpa/org-20151005/org-docview hides /usr/local/share/emacs/24.5/lisp/org/org-docview /home/joakim/.emacs.d/elpa/org-20151005/ob-awk hides /usr/local/share/emacs/24.5/lisp/org/ob-awk /home/joakim/.emacs.d/elpa/org-20151005/ob-scala hides /usr/local/share/emacs/24.5/lisp/org/ob-scala /home/joakim/.emacs.d/elpa/org-20151005/org-attach hides /usr/local/share/emacs/24.5/lisp/org/org-attach /home/joakim/.emacs.d/elpa/org-20151005/ob-table hides /usr/local/share/emacs/24.5/lisp/org/ob-table /home/joakim/.emacs.d/elpa/org-20151005/org-feed hides /usr/local/share/emacs/24.5/lisp/org/org-feed /home/joakim/.emacs.d/elpa/org-20151005/org-compat hides /usr/local/share/emacs/24.5/lisp/org/org-compat /home/joakim/.emacs.d/elpa/org-20151005/ob-ocaml hides /usr/local/share/emacs/24.5/lisp/org/ob-ocaml /home/joakim/.emacs.d/elpa/org-20151005/ob-scheme hides /usr/local/share/emacs/24.5/lisp/org/ob-scheme /home/joakim/.emacs.d/elpa/org-20151005/org-bbdb hides /usr/local/share/emacs/24.5/lisp/org/org-bbdb /home/joakim/.emacs.d/elpa/org-20151005/ob-calc hides /usr/local/share/emacs/24.5/lisp/org/ob-calc /home/joakim/.emacs.d/elpa/org-20151005/org-ctags hides /usr/local/share/emacs/24.5/lisp/org/org-ctags /home/joakim/.emacs.d/elpa/org-20151005/org-archive hides /usr/local/share/emacs/24.5/lisp/org/org-archive /home/joakim/.emacs.d/elpa/org-20151005/org-entities hides /usr/local/share/emacs/24.5/lisp/org/org-entities /home/joakim/.emacs.d/elpa/org-20151005/ob-comint hides /usr/local/share/emacs/24.5/lisp/org/ob-comint /home/joakim/.emacs.d/elpa/org-20151005/ob-matlab hides /usr/local/share/emacs/24.5/lisp/org/ob-matlab /home/joakim/.emacs.d/elpa/org-20151005/org-mhe hides /usr/local/share/emacs/24.5/lisp/org/org-mhe /home/joakim/.emacs.d/elpa/org-20151005/ob-lisp hides /usr/local/share/emacs/24.5/lisp/org/ob-lisp /home/joakim/.emacs.d/elpa/org-20151005/ox-beamer hides /usr/local/share/emacs/24.5/lisp/org/ox-beamer /home/joakim/.emacs.d/elpa/org-20151005/org-rmail hides /usr/local/share/emacs/24.5/lisp/org/org-rmail /home/joakim/.emacs.d/elpa/org-20151005/org-colview hides /usr/local/share/emacs/24.5/lisp/org/org-colview /home/joakim/.emacs.d/elpa/org-20151005/org-gnus hides /usr/local/share/emacs/24.5/lisp/org/org-gnus /home/joakim/.emacs.d/elpa/org-20151005/ob-makefile hides /usr/local/share/emacs/24.5/lisp/org/ob-makefile /home/joakim/.emacs.d/elpa/org-20151005/ob-emacs-lisp hides /usr/local/share/emacs/24.5/lisp/org/ob-emacs-lisp /home/joakim/.emacs.d/elpa/org-20151005/ob-shen hides /usr/local/share/emacs/24.5/lisp/org/ob-shen /home/joakim/.emacs.d/elpa/org-20151005/ob-haskell hides /usr/local/share/emacs/24.5/lisp/org/ob-haskell /home/joakim/.emacs.d/elpa/org-20151005/ob-java hides /usr/local/share/emacs/24.5/lisp/org/ob-java /home/joakim/.emacs.d/elpa/org-20151005/ob-sqlite hides /usr/local/share/emacs/24.5/lisp/org/ob-sqlite /home/joakim/.emacs.d/elpa/org-20151005/ob-latex hides /usr/local/share/emacs/24.5/lisp/org/ob-latex /home/joakim/.emacs.d/elpa/org-20151005/ob-mscgen hides /usr/local/share/emacs/24.5/lisp/org/ob-mscgen /home/joakim/.emacs.d/elpa/org-20151005/ob-screen hides /usr/local/share/emacs/24.5/lisp/org/ob-screen /home/joakim/.emacs.d/elpa/org-20151005/org-macs hides /usr/local/share/emacs/24.5/lisp/org/org-macs /home/joakim/.emacs.d/elpa/org-20151005/org-timer hides /usr/local/share/emacs/24.5/lisp/org/org-timer /home/joakim/.emacs.d/elpa/org-20151005/ob-ref hides /usr/local/share/emacs/24.5/lisp/org/ob-ref /home/joakim/.emacs.d/elpa/org-20151005/ob-perl hides /usr/local/share/emacs/24.5/lisp/org/ob-perl /home/joakim/.emacs.d/elpa/org-20151005/org-faces hides /usr/local/share/emacs/24.5/lisp/org/org-faces /home/joakim/.emacs.d/elpa/org-20151005/org-table hides /usr/local/share/emacs/24.5/lisp/org/org-table /home/joakim/.emacs.d/elpa/org-20151005/ob-gnuplot hides /usr/local/share/emacs/24.5/lisp/org/ob-gnuplot /home/joakim/.emacs.d/elpa/org-20151005/ob-eval hides /usr/local/share/emacs/24.5/lisp/org/ob-eval /home/joakim/.emacs.d/elpa/org-20151005/ox-latex hides /usr/local/share/emacs/24.5/lisp/org/ox-latex /home/joakim/.emacs.d/elpa/org-20151005/ob-io hides /usr/local/share/emacs/24.5/lisp/org/ob-io /home/joakim/.emacs.d/elpa/org-20151005/ox-man hides /usr/local/share/emacs/24.5/lisp/org/ox-man /home/joakim/.emacs.d/elpa/org-20151005/org-habit hides /usr/local/share/emacs/24.5/lisp/org/org-habit /home/joakim/.emacs.d/elpa/org-20151005/org-crypt hides /usr/local/share/emacs/24.5/lisp/org/org-crypt /home/joakim/.emacs.d/elpa/org-20151005/ob-asymptote hides /usr/local/share/emacs/24.5/lisp/org/ob-asymptote /home/joakim/.emacs.d/elpa/org-20151005/org-mouse hides /usr/local/share/emacs/24.5/lisp/org/org-mouse /home/joakim/.emacs.d/elpa/org-20151005/org-version hides /usr/local/share/emacs/24.5/lisp/org/org-version /home/joakim/.emacs.d/elpa/org-20151005/org-indent hides /usr/local/share/emacs/24.5/lisp/org/org-indent /home/joakim/.emacs.d/elpa/org-20151005/ox-texinfo hides /usr/local/share/emacs/24.5/lisp/org/ox-texinfo /home/joakim/.emacs.d/elpa/org-20151005/org-mobile hides /usr/local/share/emacs/24.5/lisp/org/org-mobile /home/joakim/.emacs.d/elpa/org-20151005/ob-exp hides /usr/local/share/emacs/24.5/lisp/org/ob-exp /home/joakim/.emacs.d/elpa/org-20151005/ox-odt hides /usr/local/share/emacs/24.5/lisp/org/ox-odt /home/joakim/.emacs.d/elpa/org-20151005/ob-keys hides /usr/local/share/emacs/24.5/lisp/org/ob-keys /home/joakim/.emacs.d/elpa/org-20151005/ox-ascii hides /usr/local/share/emacs/24.5/lisp/org/ox-ascii /home/joakim/.emacs.d/elpa/org-20151005/org-agenda hides /usr/local/share/emacs/24.5/lisp/org/org-agenda /home/joakim/.emacs.d/elpa/org-20151005/ox-publish hides /usr/local/share/emacs/24.5/lisp/org/ox-publish /home/joakim/.emacs.d/elpa/org-20151005/ob-js hides /usr/local/share/emacs/24.5/lisp/org/ob-js /home/joakim/.emacs.d/elpa/org-20151005/ob-R hides /usr/local/share/emacs/24.5/lisp/org/ob-R /home/joakim/.emacs.d/elpa/org-20151005/org hides /usr/local/share/emacs/24.5/lisp/org/org /home/joakim/.emacs.d/elpa/org-20151005/org-list hides /usr/local/share/emacs/24.5/lisp/org/org-list /home/joakim/.emacs.d/elpa/org-20151005/org-install hides /usr/local/share/emacs/24.5/lisp/org/org-install /home/joakim/.emacs.d/elpa/org-20151005/ob-ditaa hides /usr/local/share/emacs/24.5/lisp/org/ob-ditaa /home/joakim/.emacs.d/elpa/org-20151005/org-info hides /usr/local/share/emacs/24.5/lisp/org/org-info /home/joakim/.emacs.d/elpa/org-20151005/ob hides /usr/local/share/emacs/24.5/lisp/org/ob /home/joakim/.emacs.d/elpa/org-20151005/ox-icalendar hides /usr/local/share/emacs/24.5/lisp/org/ox-icalendar /home/joakim/.emacs.d/elpa/org-20151005/ob-sass hides /usr/local/share/emacs/24.5/lisp/org/ob-sass /home/joakim/.emacs.d/elpa/org-20151005/org-loaddefs hides /usr/local/share/emacs/24.5/lisp/org/org-loaddefs /home/joakim/.emacs.d/elpa/org-20151005/ox hides /usr/local/share/emacs/24.5/lisp/org/ox /home/joakim/.emacs.d/elpa/org-20151005/org-clock hides /usr/local/share/emacs/24.5/lisp/org/org-clock /home/joakim/.emacs.d/elpa/org-20151005/ob-ruby hides /usr/local/share/emacs/24.5/lisp/org/ob-ruby /home/joakim/.emacs.d/elpa/org-20151005/org-bibtex hides /usr/local/share/emacs/24.5/lisp/org/org-bibtex /home/joakim/.emacs.d/elpa/emms-20150810.832/tq hides /usr/local/share/emacs/24.5/lisp/emacs-lisp/tq Features: (shadow bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015 debug org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-element org-w3m ispell emacsbug mule-util view eieio-opt whitespace m4-mode smex sh-script smie executable misearch multi-isearch vc-git solarized-dark-theme solarized company-files company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-css company-nxml company-bbdb emms-mode-line emms-info-ogginfo emms-info-mp3info emms-player-vlc emms-player-mplayer emms-browser sort emms-playlist-sort emms-playlist-mode emms-last-played emms-player-mpd emms-url emms-cache emms-info later-do tq emms-source-playlist emms-source-file locate emms-player-simple emms-setup emms emms-compat paren linum-off linum rich-minority f90 fortran cus-edit cus-start cus-load py-autopep8 company-anaconda anaconda-mode pythonic f python cwarn company-irony irony-completion irony-snippet irony company-rtags company-template rtags popup repeat bookmark function-args semantic-directory semantic/ia etags srefactor subr-x srefactor-ui recentf tree-widget srecode/semantic semantic/senator semantic/decorate pulse srecode/insert srecode/filters srecode/args ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar speedbar sb-image dframe eieio-custom srecode/find srecode/map srecode/ctxt srecode/compile srecode/dictionary srecode/table srecode semantic/doc semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dsvn vc vc-dispatcher magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-process magit-popup magit-mode magit-git magit-section magit-utils git-commit log-edit pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat tramp-loaddefs trampver shell comment-dwim-2 origami origami-parsers semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/db-mode semantic/db eieio-base semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet lice mentor xml-rpc url-http tls url-auth url-gw url-scgi google-translate-smooth-ui google-translate google-translate-default-ui google-translate-core-ui google-translate-core elfeed-show elfeed-db elfeed-lib avl-tree elfeed-search elfeed url-queue xml-query erc-desktop-notifications notifications erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat gnutls weechat-complete weechat-button weechat weechat-color rx weechat-relay bindat weechat-core s ucs-normalize conkeror-minor-mode w3m-lnum w3m-search w3m doc-view jka-compr image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util eww-lnum eww mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util shr browse-url bbdb-mua bbdb-com bbdb bbdb-site timezone notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr icalendar diary-lib diary-loaddefs notmuch-tag notmuch-lib mm-view mml-smime smime dig mailcap nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo mbsync smtpmail sendmail gnus-sync gnus-start gnus-spec gnus-int gnus-range message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win json gnus gnus-ems nnheader mail-utils wid-edit company-math math-symbol-lists company-auctex yasnippet company pcase latex tex-style tex dbus xml crm swiper ivy delsel ffap url-parse auth-source gnus-util mm-util mail-prsvr password-cache url-vars idomenu imenu ace-link ace-window em-smart esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util multi-term term disp-table ehelp flx-ido flx ido avy-zap avy move-text undo-tree diff hydra lv multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect org-table misc programmers-dvorak quail edmacro kmacro dired+ image-dired image-file dired-aux dired-x server pinentry autorevert filenotify projectile grep compile ibuf-ext ibuffer dash thingatpt ignoramus el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload lisp-mnt dired finder-inf org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities time-date noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs tex-site eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core help-fns cl-macs cl gv cl-loaddefs cl-lib info easymenu package epg-config tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 1027147 421321) (symbols 48 76509 1) (miscs 40 863 1582) (strings 32 207041 118087) (string-bytes 1 6146562) (vectors 16 147798) (vector-slots 8 3193259 446740) (floats 8 17152 16902) (intervals 56 10608 3318) (buffers 960 31)) --=-=-=-- ------------=_1453069861-8333-1-- From unknown Wed Jun 25 03:56:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22385: 24.5; Build failure with modules on OpenBSD Resent-From: Gabriele Svelto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jan 2016 00:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert , Joakim Jalap Cc: 22385-done@debbugs.gnu.org Received: via spool by 22385-done@debbugs.gnu.org id=D22385.145307590629301 (code D ref 22385); Mon, 18 Jan 2016 00:12:02 +0000 Received: (at 22385-done) by debbugs.gnu.org; 18 Jan 2016 00:11:46 +0000 Received: from localhost ([127.0.0.1]:52191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKxQA-0007cV-FX for submit@debbugs.gnu.org; Sun, 17 Jan 2016 19:11:46 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38016) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aKxDS-0006jG-2u for 22385-done@debbugs.gnu.org; Sun, 17 Jan 2016 18:58:38 -0500 Received: by mail-wm0-f42.google.com with SMTP id b14so98911803wmb.1 for <22385-done@debbugs.gnu.org>; Sun, 17 Jan 2016 15:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=76tzReH2++LFamskX3PsAQLDPL5xD4TwJidP0q/Wc3s=; b=BpmgWQ8owPR+62DX2EcylH8ENMoRc55Up3wdeXdRT4gOpzAgOPjQ9WZF0z9LawncMn mjS/5LvFoavNQjuPpgCN+irAYv7VOI4tH4kvs3BzsHWHhrNY/NsAcwKk2+uMFYe/ihb/ kWfLU65RSkTUswF9E6xXUV6nz4o8ddIlz3zWZI1gCh0lOoyyMJQN0Yybiu0K8FqJsUYD qjODI9wDbT8odAp4a8vAQxWuWVgLHjz3q0HsAs6UCPLP6Ld19h25wCWTqUbH3B03gSaC x1Tph+nySAX+4WeyWjXJ3T3xi99nUmCBc4l8T32T4/G6g5/NVfPeTBjKFXafHO/XunKJ 0UNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=76tzReH2++LFamskX3PsAQLDPL5xD4TwJidP0q/Wc3s=; b=QdEiiJgS11/k0WIE3gJJUhgWLswpxILqpQvtCIYv7s8KLXIWwuLvZ4VqZvth7cXqE5 2hR8KxRyiHme+ZU5+//jmdX0w3KVy5Rq191b9WAbL6emUdDDy3bTgu8BRbuV3A0UUkR0 Hkx0oae1i8M4+TKxOXEKHXNSkqJczdFbjTuGxoG/A3E8PNKQ1ObGFpozAYpJFYN+vpFl I+sWY9uoVHzOgfAYtgvNChgXcspYSmbmjsBvqNA1hADJ1QoDVlV7zHkjdV2IFFKjdRwv o4m46rG4s9KiwjkOUoG8+yZbSFiKQT0SRPn4bSCeCFhgV9gTeo+5Il0jEjlrDRqqai+v 7nRQ== X-Gm-Message-State: AG10YOT9aHtRxRiPxWQQo8Wa0MvlzMXyXYILjPhVSa3VmSNMMOZBnRKfpJNSuR0fPno74A== X-Received: by 10.28.194.197 with SMTP id s188mr9527258wmf.44.1453075112488; Sun, 17 Jan 2016 15:58:32 -0800 (PST) Received: from [192.168.0.31] (dynamic-adsl-78-12-133-155.clienti.tiscali.it. [78.12.133.155]) by smtp.googlemail.com with ESMTPSA id w17sm13156951wmw.15.2016.01.17.15.58.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 15:58:31 -0800 (PST) References: <569C1616.5030603@cs.ucla.edu> From: Gabriele Svelto Message-ID: <569C2AA6.8030802@gmail.com> Date: Mon, 18 Jan 2016 00:58:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <569C1616.5030603@cs.ucla.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sun, 17 Jan 2016 19:11:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello Paul, thanks for getting in touch about this. There's a way to fix this issue in my macro and it's by running the test twice with and without the attribute and comparing the compiler error output instead of simply assuming that any error output means that the attribute is not supported. It's something I had considered doing in the beginning but deemed unnecessarily complicated at the time. Turns out I was wrong; I'll try to push a fix into autoconf-archive in the next few days. Gabriele On 17/01/2016 23:30, Paul Eggert wrote: > Thanks for reporting the problem. The OpenBSD compiler warnings about > strcpy etc. are false alarms, and these false alarms confuse the Emacs > build procedure and therefore introduce bugs into the Emacs module code. > We're lucky that a run-time assertion caught this. > > I installed the attached patch into the emacs-25 branch. It removes the > offending test in 'configure', and so should fix the bug so I am boldly > marking it as done. Please give the fix a try; if it doesn't work I can > unmark the bug. > > Is there some way to tell the OpenBSD C compiler to not chatter about > uses of strcpy, strcat, and sprintf? We don't want to use the > OpenBSD-suggested replacements in Emacs, as that would be more likely to > introduce bugs than to fix them. If we can suggest (or get 'configure' > to use) a build-time option to suppress the false alarms that would save > everybody some work and would help make Emacs more reliable. > > Although the OpenBSD porting problem with AX_GCC_VAR_ATTRIBUTE no longer > affects Emacs, it might affect other programs that use that macro, so > I'll CC: this to the macro's author Gabriele Svelto. Gabriele, the bug > report is here: > > http://bugs.gnu.org/22385