unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Rajeev N via "Emacs development discussions."
	<emacs-devel@gnu.org>, Rajeev N <rajeev.jnk@sivalik.com>,
	Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: emacs-28 build failure - gnulib
Date: Tue, 05 Oct 2021 08:05:38 +0000	[thread overview]
Message-ID: <xjfzgrnc2wd.fsf@ma.sdf.org> (raw)
In-Reply-To: <87h7dw6ih4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 05 Oct 2021 09:25:43 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Yes, it seems like --native-compilation builds are failing after the
> gnulib update; Paul added to the CCs.

On my machine also --without-native-compilation is ATM not functional.
I'm on 1f4ced47a1 and configured with --without-x
--without-native-compilation.

Below the error I see.

Best Regards

  Andrea

 make -C lib all
 make[1]: Entering directory '/home/akrl/emacs2/lib'
   CC       fchmodat.o
 In file included from fchmodat.c:40:
 ./stdlib.h:783:1: error: wrong number of arguments specified for ‘malloc’ attribute
   783 | _GL_FUNCDECL_SYS (aligned_alloc, void *,
       | ^~~~~~~~~~~~~~~~
 ./stdlib.h:783:1: note: expected between 0 and 0, found 2
 ./stdlib.h:839:1: error: wrong number of arguments specified for ‘malloc’ attribute
   839 | _GL_FUNCDECL_SYS (calloc, void *,
       | ^~~~~~~~~~~~~~~~
 ./stdlib.h:839:1: note: expected between 0 and 0, found 2
 ./stdlib.h:863:1: error: wrong number of arguments specified for ‘malloc’ attribute
   863 | _GL_FUNCDECL_SYS (canonicalize_file_name, char *,
       | ^~~~~~~~~~~~~~~~
 ./stdlib.h:863:1: note: expected between 0 and 0, found 2
 ./stdlib.h:1054:1: error: wrong number of arguments specified for ‘malloc’ attribute
  1054 | _GL_FUNCDECL_SYS (malloc, void *,
       | ^~~~~~~~~~~~~~~~
 ./stdlib.h:1054:1: note: expected between 0 and 0, found 2
 ./stdlib.h:1679:1: error: wrong number of arguments specified for ‘malloc’ attribute
  1679 | _GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size)
       | ^~~~~~~~~~~~~~~~
 ./stdlib.h:1679:1: note: expected between 0 and 0, found 2
 In file included from fchmodat.c:41:
 ./string.h:965:1: error: wrong number of arguments specified for ‘malloc’ attribute
   965 | _GL_FUNCDECL_SYS (strdup, char *,
       | ^~~~~~~~~~~~~~~~
 ./string.h:965:1: note: expected between 0 and 0, found 2
 make[1]: *** [Makefile:84: fchmodat.o] Error 1
 make[1]: Leaving directory '/home/akrl/emacs2/lib'
 make: *** [Makefile:436: lib] Error 2



  reply	other threads:[~2021-10-05  8:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  1:51 emacs-28 build failure - gnulib Rajeev N via Emacs development discussions.
2021-10-05  7:25 ` Lars Ingebrigtsen
2021-10-05  8:05   ` Andrea Corallo via Emacs development discussions. [this message]
2021-10-05 16:24     ` Paul Eggert
2021-10-05 16:53       ` Andrea Corallo via Emacs development discussions.
2021-10-05 18:24         ` Paul Eggert
2021-10-05 18:51           ` Andreas Schwab
2021-10-05 19:08             ` Paul Eggert
2021-10-05 19:50               ` Andreas Schwab
2021-10-05 12:50   ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2021-10-06  5:34 Manuel Uberti
2021-10-06  8:20 ` Andrea Corallo via Emacs development discussions.
2021-10-06  8:23   ` Manuel Uberti
2021-10-06  8:56     ` Robert Pluim
2021-10-06  8:57       ` Manuel Uberti

Reply instructions:

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

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=xjfzgrnc2wd.fsf@ma.sdf.org \
    --to=emacs-devel@gnu.org \
    --cc=akrl@sdf.org \
    --cc=eggert@cs.ucla.edu \
    --cc=larsi@gnus.org \
    --cc=rajeev.jnk@sivalik.com \
    /path/to/YOUR_REPLY

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

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