unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 30120@debbugs.gnu.org
Subject: bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master
Date: Mon, 15 Jan 2018 14:29:25 +0200	[thread overview]
Message-ID: <837esjz4nu.fsf@gnu.org> (raw)
In-Reply-To: <5A5C76E2.7010803@gmx.at> (message from martin rudalics on Mon, 15 Jan 2018 10:39:46 +0100)

> Date: Mon, 15 Jan 2018 10:39:46 +0100
> From: martin rudalics <rudalics@gmx.at>
> 
> Building with an X toolkit without toolkit scroll bars currently fails
> here as
> 
> 
> CFLAGS='-O0 -g3' ../configure --with-gnutls=no --without-pop  --enable-gcc-warnings=warn-only --with-x-toolkit=lucid --without-toolkit-scroll-bars --enable-checking=yes --enable-check-lisp-object-type=yes
> make -j2 WERROR_CFLAGS=
> 
> 
> In file included from ./string.h:49:0,
>                   from ../../lib/explicit_bzero.c:28:
> ./stddef.h:93:3: error: conflicting types for ‘max_align_t’
> In file included from ./stddef.h:55:0,
>                   from ./string.h:49,
>                   from ../../lib/explicit_bzero.c:28:
> /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:426:3: note: previous declaration of ‘max_align_t’ was here
> make[1]: *** [explicit_bzero.o] Fehler 1
> make[1]: *** Warte auf noch nicht beendete Prozesse...
> In file included from ./unistd.h:56:0,
>                   from ../../lib/fcntl.c:28:
> ./stddef.h:93:3: error: conflicting types for ‘max_align_t’
> In file included from ./stddef.h:55:0,
>                   from ./unistd.h:56,
>                   from ../../lib/fcntl.c:28:
> /usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:426:3: note: previous declaration of ‘max_align_t’ was here
> make[1]: *** [fcntl.o] Fehler 1
> make[1]: Leaving directory `/home/martin/emacs-git/release/obj-lucid-no/lib'
> make: *** [lib] Fehler 2
> 
> 
> both on the release branch and on master.  A GTK build fails
> in a similar way.

Strange.  Are you sure you don't have stale files from a previous
build?

What do you have on line 88?  It should be this:

#if ! (0 || defined _GCC_MAX_ALIGN_T)

If so, it means the configure script determined that your platform
doesn't have a definition of max_align_t, is that what you see in
config.log?  And if that's indeed so, how come the system header
stddef.h does have it?  (And why is your system stddef.h from GCC 4.7,
is that your real GCC version?)

Can you show what's around line 426 in
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h?





  reply	other threads:[~2018-01-15 12:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-15  9:39 bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master martin rudalics
2018-01-15 12:29 ` Eli Zaretskii [this message]
2018-01-16  9:09   ` martin rudalics
2018-01-16  5:42 ` Glenn Morris
2018-01-16  9:10   ` martin rudalics

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=837esjz4nu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30120@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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).