* bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master
@ 2018-01-15 9:39 martin rudalics
2018-01-15 12:29 ` Eli Zaretskii
2018-01-16 5:42 ` Glenn Morris
0 siblings, 2 replies; 5+ messages in thread
From: martin rudalics @ 2018-01-15 9:39 UTC (permalink / raw)
To: 30120
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.
martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master
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
2018-01-16 9:09 ` martin rudalics
2018-01-16 5:42 ` Glenn Morris
1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2018-01-15 12:29 UTC (permalink / raw)
To: martin rudalics; +Cc: 30120
> 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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master
2018-01-15 12:29 ` Eli Zaretskii
@ 2018-01-16 9:09 ` martin rudalics
0 siblings, 0 replies; 5+ messages in thread
From: martin rudalics @ 2018-01-16 9:09 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 30120
> Strange. Are you sure you don't have stale files from a previous
> build?
I probably had them. I now completely emptied the build directory and
the build seems to proceed normally.
> 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?
stddef.h defines max_align_t and the GCC version is 4.7.2. Maybe
configuring failed elsewhere and the build used a stale makefile.
Thanks for the advice, martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#30120: 26.0.90; Building with X toolkit without toolkit scroll bars broken on release branch and master
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
@ 2018-01-16 5:42 ` Glenn Morris
2018-01-16 9:10 ` martin rudalics
1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2018-01-16 5:42 UTC (permalink / raw)
To: martin rudalics; +Cc: 30120
martin rudalics wrote:
> 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
Continues to work fine for me on rhel7.
You reported the same thing previously in
https://debbugs.gnu.org/27816#113
and implied that it went away if you did a clean build.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-01-16 9:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2018-01-16 9:09 ` martin rudalics
2018-01-16 5:42 ` Glenn Morris
2018-01-16 9:10 ` martin rudalics
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.