From: Jonah Graham <jonah@kichwacoders.com>
To: Tom Tromey <tom@tromey.com>
Cc: sergiodj@redhat.com, gdb-patches@sourceware.org, dje.gcc@gmail.com
Subject: Re: Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24
Date: Mon, 03 Sep 2018 10:04:00 -0000 [thread overview]
Message-ID: <CAPmGMvg9JUcO1JmV53W9iLFywGMC0=9AOOzLTXcLZ==gBoMKNQ@mail.gmail.com> (raw)
In-Reply-To: <878t4mrssl.fsf@tromey.com>
> b) Is there a "stddef.h" file in the build dir? Does it declare
> "max_align_t"? This is causing the "unknown type name ‘max_align_t’"
> error.
Our daily build (for Eclipse CDT testing) of GDB's master has started
failing because of this issue too:
https://ci.eclipse.org/cdt/job/debug-tests-master-gdb-master/1666/console
The issue seems to be assuming max_align_t is available, but it is not
available unless compiling with c11 mode (or similar). As we are using
4.8.5 the default is still gnu90.
From our build:
00:03:54.417 gcc -DHAVE_CONFIG_H -I. -I../../../../gdb/gnulib/import
-I.. -g -O2 -MT malloc/scratch_buffer_grow.o -MD -MP -MF
$depbase.Tpo -c -o malloc/scratch_buffer_grow.o
../../../../gdb/gnulib/import/malloc/scratch_buffer_grow.c &&\
00:03:54.417 mv -f $depbase.Tpo $depbase.Po
00:03:54.440 In file included from
../../../../gdb/gnulib/import/scratch_buffer.h:9:0,
00:03:54.440 from
../../../../gdb/gnulib/import/malloc/scratch_buffer_grow.c:23:
00:03:54.440 ../../../../gdb/gnulib/import/malloc/scratch_buffer.h:69:3:
error: unknown type name ‘max_align_t’
00:03:54.440 max_align_t __space[(1023 + sizeof (max_align_t)) /
sizeof (max_align_t)];
00:03:54.440 ^
00:03:54.440 ../../../../gdb/gnulib/import/malloc/scratch_buffer.h:69:39:
error: ‘max_align_t’ undeclared here (not in a function)
00:03:54.440 max_align_t __space[(1023 + sizeof (max_align_t)) /
sizeof (max_align_t)];
00:03:54.440 ^
00:03:54.441 Makefile:1836: recipe for target
'malloc/scratch_buffer_grow.o' failed
00:03:54.441 make[8]: *** [malloc/scratch_buffer_grow.o] Error 1
00:03:54.441 make[8]: Leaving directory
'/jobs/genie.cdt/debug-tests-master-gdb-master/workspace/bin-utils/build/gdb/build-gnulib/import'
next prev parent reply other threads:[~2018-09-03 10:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 16:31 Oh dear. I regret to inform you that commit 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 might be unfortunate gdb-buildbot
2018-08-29 16:31 ` Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 gdb-buildbot
2018-08-29 16:39 ` Sergio Durigan Junior
2018-08-29 20:42 ` Sergio Durigan Junior
2018-08-29 21:33 ` Tom Tromey
2018-08-29 21:37 ` Sergio Durigan Junior
2018-08-30 0:50 ` Tom Tromey
2018-08-30 3:04 ` Sergio Durigan Junior
2018-09-01 0:01 ` Tom Tromey
2018-09-03 10:04 ` Jonah Graham [this message]
2018-09-04 0:46 ` Proposal to revert the gnulib update patch (was: Re: Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24) Sergio Durigan Junior
2018-09-04 6:20 ` Jonah Graham
2018-09-04 18:04 ` Proposal to revert the gnulib update patch Sergio Durigan Junior
2018-09-04 18:09 ` Tom Tromey
2018-08-30 3:06 ` Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 Sergio Durigan Junior
2018-08-30 1:55 ` Breakage on builder Debian-s390x-native-extended-gdbserver-m64, " gdb-buildbot
2018-08-30 1:57 ` Breakage on builder Debian-s390x-native-gdbserver-m64, " gdb-buildbot
2018-08-30 1:58 ` Breakage on builder Debian-s390x-m64, " gdb-buildbot
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPmGMvg9JUcO1JmV53W9iLFywGMC0=9AOOzLTXcLZ==gBoMKNQ@mail.gmail.com' \
--to=jonah@kichwacoders.com \
--cc=dje.gcc@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@redhat.com \
--cc=tom@tromey.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.
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).