GNU bug report logs - #53509
Compilation failure of 27.2 on ppc64le

Previous Next

Package: emacs;

Reported by: Scott Talbert <swt <at> techie.net>

Date: Mon, 24 Jan 2022 17:59:01 UTC

Severity: normal

Fixed in version 28.0.91

Done: Stefan Kangas <stefankangas <at> gmail.com>

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 53509 in the body.
You can then email your comments to 53509 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#53509; Package emacs. (Mon, 24 Jan 2022 17:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Scott Talbert <swt <at> techie.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Jan 2022 17:59:02 GMT) Full text and rfc822 format available.

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

From: Scott Talbert <swt <at> techie.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Compilation failure of 27.2 on ppc64le
Date: Mon, 24 Jan 2022 12:11:23 -0500 (EST)
Hi,

On Fedora, we're seeing a compile error when compiling 27.2 on ppc64le 
architecture.  Log excerpt below, full log at [1]:

  CC       regex.o
In file included from /usr/include/stdio.h:899,
                 from ./stdio.h:43,
                 from ../../lib/regex_internal.h:24,
                 from ../../lib/regex.c:68:
/usr/include/bits/stdio-ldbl.h: In function '__LDBL_REDIR1_DECL':
/usr/include/bits/stdio-ldbl.h:36:1: error: expected declaration 
specifiers before '__LDBL_REDIR1_DECL'
   36 | __LDBL_REDIR1_DECL (scanf, __isoc99_scanfieee128)
      | ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/features.h:488,
                 from /usr/include/errno.h:25,
                 from ../../lib/libc-config.h:39,
                 from ../../lib/regex.c:21:
/usr/include/bits/stdio-ldbl.h:86:1: error: storage class specified for 
parameter '__sprintf_chk'
   86 | __LDBL_REDIR2_DECL (sprintf_chk)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/bits/stdio-ldbl.h:87:1: error: storage class specified for 
parameter '__vsprintf_chk'
   87 | __LDBL_REDIR2_DECL (vsprintf_chk)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/bits/stdio-ldbl.h:89:1: error: storage class specified for 
parameter '__snprintf_chk'
   89 | __LDBL_REDIR2_DECL (snprintf_chk)
      | ^~~~~~~~~~~~~~~~~~
/usr/include/bits/stdio-ldbl.h:90:1: error: storage class specified for 
parameter '__vsnprintf_chk'
   90 | __LDBL_REDIR2_DECL (vsnprintf_chk)
      | ^~~~~~~~~~~~~~~~~~

Possibly related to 128-bit long double?  gnulib out of sync with glibc?

[1] https://kojipkgs.fedoraproject.org//work/tasks/1829/81671829/build.log

Thanks,
Scott




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53509; Package emacs. (Mon, 24 Jan 2022 19:13:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Scott Talbert <swt <at> techie.net>
Cc: 53509 <at> debbugs.gnu.org
Subject: Re: bug#53509: Compilation failure of 27.2 on ppc64le
Date: Mon, 24 Jan 2022 21:12:11 +0200
> Date: Mon, 24 Jan 2022 12:11:23 -0500 (EST)
> From: Scott Talbert <swt <at> techie.net>
> 
> On Fedora, we're seeing a compile error when compiling 27.2 on ppc64le 
> architecture.  Log excerpt below, full log at [1]:
> 
>    CC       regex.o
> In file included from /usr/include/stdio.h:899,
>                   from ./stdio.h:43,
>                   from ../../lib/regex_internal.h:24,
>                   from ../../lib/regex.c:68:
> /usr/include/bits/stdio-ldbl.h: In function '__LDBL_REDIR1_DECL':
> /usr/include/bits/stdio-ldbl.h:36:1: error: expected declaration 
> specifiers before '__LDBL_REDIR1_DECL'
>     36 | __LDBL_REDIR1_DECL (scanf, __isoc99_scanfieee128)
>        | ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/features.h:488,
>                   from /usr/include/errno.h:25,
>                   from ../../lib/libc-config.h:39,
>                   from ../../lib/regex.c:21:
> /usr/include/bits/stdio-ldbl.h:86:1: error: storage class specified for 
> parameter '__sprintf_chk'

Is it possible for you to try the latest pretest of Emacs 28?  It's
here:

  https://alpha.gnu.org/gnu/emacs/pretest/emacs-28.0.91.tar.xz

We don't plan on making any further releases of the v27.x series.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53509; Package emacs. (Tue, 25 Jan 2022 00:22:01 GMT) Full text and rfc822 format available.

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

From: Scott Talbert <swt <at> techie.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 53509 <at> debbugs.gnu.org
Subject: Re: bug#53509: Compilation failure of 27.2 on ppc64le
Date: Mon, 24 Jan 2022 19:21:31 -0500 (EST)
On Mon, 24 Jan 2022, Eli Zaretskii wrote:

>> Date: Mon, 24 Jan 2022 12:11:23 -0500 (EST)
>> From: Scott Talbert <swt <at> techie.net>
>>
>> On Fedora, we're seeing a compile error when compiling 27.2 on ppc64le
>> architecture.  Log excerpt below, full log at [1]:
>>
>>    CC       regex.o
>> In file included from /usr/include/stdio.h:899,
>>                   from ./stdio.h:43,
>>                   from ../../lib/regex_internal.h:24,
>>                   from ../../lib/regex.c:68:
>> /usr/include/bits/stdio-ldbl.h: In function '__LDBL_REDIR1_DECL':
>> /usr/include/bits/stdio-ldbl.h:36:1: error: expected declaration
>> specifiers before '__LDBL_REDIR1_DECL'
>>     36 | __LDBL_REDIR1_DECL (scanf, __isoc99_scanfieee128)
>>        | ^~~~~~~~~~~~~~~~~~
>> In file included from /usr/include/features.h:488,
>>                   from /usr/include/errno.h:25,
>>                   from ../../lib/libc-config.h:39,
>>                   from ../../lib/regex.c:21:
>> /usr/include/bits/stdio-ldbl.h:86:1: error: storage class specified for
>> parameter '__sprintf_chk'
>
> Is it possible for you to try the latest pretest of Emacs 28?  It's
> here:
>
>  https://alpha.gnu.org/gnu/emacs/pretest/emacs-28.0.91.tar.xz
>
> We don't plan on making any further releases of the v27.x series.

Yep, 28.0.91 appears to build fine on ppc64le with GCC 12.  Any idea what 
commit fixed it, or do I need to bisect?  :)

Thanks,
Scott




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53509; Package emacs. (Tue, 25 Jan 2022 03:32:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Scott Talbert <swt <at> techie.net>
Cc: 53509 <at> debbugs.gnu.org
Subject: Re: bug#53509: Compilation failure of 27.2 on ppc64le
Date: Tue, 25 Jan 2022 05:29:50 +0200
> Date: Mon, 24 Jan 2022 19:21:31 -0500 (EST)
> From: Scott Talbert <swt <at> techie.net>
> cc: 53509 <at> debbugs.gnu.org
> 
> On Mon, 24 Jan 2022, Eli Zaretskii wrote:
> 
> > Is it possible for you to try the latest pretest of Emacs 28?  It's
> > here:
> >
> >  https://alpha.gnu.org/gnu/emacs/pretest/emacs-28.0.91.tar.xz
> >
> > We don't plan on making any further releases of the v27.x series.
> 
> Yep, 28.0.91 appears to build fine on ppc64le with GCC 12.  Any idea what 
> commit fixed it, or do I need to bisect?  :)

Sorry, no idea, but I'd start by comparing the Gnulib files involved
in this.




bug Marked as fixed in versions 28.0.91. Request was from Glenn Morris <rgm <at> fencepost.gnu.org> to control <at> debbugs.gnu.org. (Tue, 25 Jan 2022 17:48:02 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Wed, 06 Sep 2023 01:57:02 GMT) Full text and rfc822 format available.

Notification sent to Scott Talbert <swt <at> techie.net>:
bug acknowledged by developer. (Wed, 06 Sep 2023 01:57:02 GMT) Full text and rfc822 format available.

Message #21 received at 53509-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 53509-done <at> debbugs.gnu.org, Scott Talbert <swt <at> techie.net>
Subject: Re: bug#53509: Compilation failure of 27.2 on ppc64le
Date: Tue, 5 Sep 2023 18:56:48 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Yep, 28.0.91 appears to build fine on ppc64le with GCC 12.  Any idea what
>> commit fixed it, or do I need to bisect?  :)
>
> Sorry, no idea, but I'd start by comparing the Gnulib files involved
> in this.

It seems like the issue here has been resolved, so I'm closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Oct 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 197 days ago.

Previous Next


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