unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53509: Compilation failure of 27.2 on ppc64le
@ 2022-01-24 17:11 Scott Talbert
  2022-01-24 19:12 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Talbert @ 2022-01-24 17:11 UTC (permalink / raw)
  To: 53509

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#53509: Compilation failure of 27.2 on ppc64le
  2022-01-24 17:11 bug#53509: Compilation failure of 27.2 on ppc64le Scott Talbert
@ 2022-01-24 19:12 ` Eli Zaretskii
  2022-01-25  0:21   ` Scott Talbert
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-01-24 19:12 UTC (permalink / raw)
  To: Scott Talbert; +Cc: 53509

> Date: Mon, 24 Jan 2022 12:11:23 -0500 (EST)
> From: Scott Talbert <swt@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#53509: Compilation failure of 27.2 on ppc64le
  2022-01-24 19:12 ` Eli Zaretskii
@ 2022-01-25  0:21   ` Scott Talbert
  2022-01-25  3:29     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Scott Talbert @ 2022-01-25  0:21 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 53509

On Mon, 24 Jan 2022, Eli Zaretskii wrote:

>> Date: Mon, 24 Jan 2022 12:11:23 -0500 (EST)
>> From: Scott Talbert <swt@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#53509: Compilation failure of 27.2 on ppc64le
  2022-01-25  0:21   ` Scott Talbert
@ 2022-01-25  3:29     ` Eli Zaretskii
  2023-09-06  1:56       ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2022-01-25  3:29 UTC (permalink / raw)
  To: Scott Talbert; +Cc: 53509

> Date: Mon, 24 Jan 2022 19:21:31 -0500 (EST)
> From: Scott Talbert <swt@techie.net>
> cc: 53509@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#53509: Compilation failure of 27.2 on ppc64le
  2022-01-25  3:29     ` Eli Zaretskii
@ 2023-09-06  1:56       ` Stefan Kangas
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2023-09-06  1:56 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 53509-done, Scott Talbert

Eli Zaretskii <eliz@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-06  1:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 17:11 bug#53509: Compilation failure of 27.2 on ppc64le Scott Talbert
2022-01-24 19:12 ` Eli Zaretskii
2022-01-25  0:21   ` Scott Talbert
2022-01-25  3:29     ` Eli Zaretskii
2023-09-06  1:56       ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).