GNU bug report logs - #56736
29.0.50; Mac OS X Lion: `externally-visible` causes zillions of warnings

Previous Next

Package: emacs;

Reported by: Werner LEMBERG <wl <at> gnu.org>

Date: Sun, 24 Jul 2022 12:18:02 UTC

Severity: normal

Tags: wontfix

Found in version 29.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56736 in the body.
You can then email your comments to 56736 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56736; Package emacs. (Sun, 24 Jul 2022 12:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Werner LEMBERG <wl <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Jul 2022 12:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Werner LEMBERG <wl <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Mac OS X Lion: `externally-visible` causes zillions of
 warnings
Date: Sun, 24 Jul 2022 12:17:29 +0000 (UTC)
Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the
system's `/usr/bin/clang` compiler, there are many warnings like the
following.

```
In file included from dispnew.c:27:
./lisp.h:69:1: warning: unknown attribute 'externally_visible' ignored [-Wattributes]
DEFINE_GDB_SYMBOL_BEGIN (int, GCTYPEBITS)
^
./lisp.h:55:51: note: expanded from macro 'DEFINE_GDB_SYMBOL_BEGIN'
# define DEFINE_GDB_SYMBOL_BEGIN(type, id) extern DECLARE_GDB_SYM (type, id)
                                                  ^
./lisp.h:50:49: note: expanded from macro 'DECLARE_GDB_SYM'
#define DECLARE_GDB_SYM(type, id) type const id EXTERNALLY_VISIBLE
                                                ^
./conf_post.h:281:28: note: expanded from macro 'EXTERNALLY_VISIBLE'
#define EXTERNALLY_VISIBLE _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
                           ^
./config.h:2542:59: note: expanded from macro '_GL_ATTRIBUTE_EXTERNALLY_VISIBLE'
# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
```

In comparison to a normal log file, these warnings increase its size
by a factor of 200.

`/usr/bin/clang` identifies itself as

```
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
```


    Werner


======================================================================


In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin11.4.2)
 of 2022-07-24 built on Families-iMac
Repository revision: 2024136d31e85f5935e1dd1a494ecb3ea715ef80
Repository branch: master
System Description:  Mac OS X 10.7.5

Configured using:
 'configure --disable-silent-rules --without-ns --without-x
 --without-dbus --without-gconf --without-libotf --without-m17n-flt
 --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules
 --with-sqlite3 --with-webp 'CFLAGS=-pipe -Os -arch x86_64
 -Wno-attributes' CPPFLAGS=-I/opt/local/include
 'LDFLAGS=-Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-no_pie
 -arch x86_64''

Configured features:
ACL GMP GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3
THREADS XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow regexp-opt sort mail-extr emacsbug message mailcap yank-media
puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa
derived epg rfc6068 epg-config gnus-util text-property-search time-date
subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv
bytecomp byte-compile cconv rmc iso-transl tooltip eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue lcms2 multi-tty
make-network-process emacs)

Memory information:
((conses 16 44661 6474)
 (symbols 48 5638 0)
 (strings 32 15448 1850)
 (string-bytes 1 494605)
 (vectors 16 8424)
 (vector-slots 8 102630 6497)
 (floats 8 24 307)
 (intervals 56 253 10)
 (buffers 992 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56736; Package emacs. (Tue, 26 Jul 2022 13:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 56736 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Werner LEMBERG <wl <at> gnu.org>
Cc: 56736 <at> debbugs.gnu.org
Subject: Re: bug#56736: 29.0.50; Mac OS X Lion: `externally-visible` causes
 zillions of warnings
Date: Tue, 26 Jul 2022 15:26:47 +0200
Werner LEMBERG <wl <at> gnu.org> writes:

> Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the
> system's `/usr/bin/clang` compiler, there are many warnings like the
> following.

We don't (in general) fix up build warnings on older OS/compiler
versions, and OS X Lion is very old, isn't it?

Anybody have any opinions here?





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56736; Package emacs. (Tue, 26 Jul 2022 14:11:01 GMT) Full text and rfc822 format available.

Message #11 received at 56736 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Werner LEMBERG <wl <at> gnu.org>, 56736 <at> debbugs.gnu.org
Subject: Re: bug#56736: 29.0.50; Mac OS X Lion: `externally-visible` causes
 zillions of warnings
Date: Tue, 26 Jul 2022 16:10:12 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> We don't (in general) fix up build warnings on older OS/compiler
> versions, and OS X Lion is very old, isn't it?

OS X Lion was released in 2011.

> Anybody have any opinions here?

FWIW, these warnings don't sound worth fixing to me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56736; Package emacs. (Thu, 04 Aug 2022 14:15:01 GMT) Full text and rfc822 format available.

Message #14 received at 56736 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Werner LEMBERG <wl <at> gnu.org>, 56736 <at> debbugs.gnu.org
Subject: Re: bug#56736: 29.0.50; Mac OS X Lion: `externally-visible` causes
 zillions of warnings
Date: Thu, 4 Aug 2022 14:14:36 +0000
tags 56736 + wontfix
close 56736
thanks

Stefan Kangas <stefan <at> marxist.se> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> We don't (in general) fix up build warnings on older OS/compiler
>> versions, and OS X Lion is very old, isn't it?
>
> OS X Lion was released in 2011.
>
>> Anybody have any opinions here?
>
> FWIW, these warnings don't sound worth fixing to me.

No further comments within a week, so I'm closing this bug report.




Added tag(s) wontfix. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 04 Aug 2022 14:15:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 56736 <at> debbugs.gnu.org and Werner LEMBERG <wl <at> gnu.org> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 04 Aug 2022 14:15:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Sep 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.