Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@redhat.com>
To: gdb-patches@sourceware.org
Cc: David Edelsohn <dje.gcc@gmail.com>
Subject: Re: Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24
Date: Wed, 29 Aug 2018 20:42:00 -0000	[thread overview]
Message-ID: <87a7p4lx9u.fsf@redhat.com> (raw)
In-Reply-To: <87tvndm8je.fsf@redhat.com> (Sergio Durigan Junior's message of	"Wed, 29 Aug 2018 12:39:33 -0400")

On Wednesday, August 29 2018, I wrote:

> On Wednesday, August 29 2018, gdb-buildbot wrote:
>
>> Unfortunately it seems that there is a breakage on GDB.
>>
>> Commit title: 'Update gnulib to current upstream master'
>> Revision: 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24
>
> I'm investigating this.

Hello, David,

After my last commit, which updated GDB's local copy of gnulib, I'm
seeing a breakage on the RHEL 7.1 s390x builder (see the rest of the
quoted message).  Unfortunately I don't have easy access to a similar
machine, so I would like to know if:

1) You could help me with investigating this a bit more, or

2) You could grant me temporary access to the machine so I can
investigate the problem.

I would like to know a few things:

a) Why is GCC apparently not using the C99 mode when compiling gnulib.
This is causing the "‘for’ loop initial declarations are only allowed in
C99 mode" error.

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.

Thanks in advance,

>> You can find more details below:
>>
>> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>
>> Buildslave:
>> 	rhel-7_1-s390x-1
>>
>> Full Build URL:
>> 	<http://gdb-build.sergiodj.net/builders/RHEL-s390x-m64/builds/8193>
>>
>> Commit(s) tested:
>> 	7a6dbc2fdb2323c35e981f93236f323e9d7c0b24
>>
>> Author(s) (in the same order as the commits):
>> 	Sergio Durigan Junior <sergiodj@redhat.com>
>>
>> Subject:
>> 	Update gnulib to current upstream master
>>
>> Testsuite log (gdb.sum and gdb.log) URL(s):
>> 	<http://gdb-build.sergiodj.net/results/RHEL-s390x-m64/7a/7a6dbc2fdb2323c35e981f93236f323e9d7c0b24/>
>>
>> *** Failed to compiled GDB.  ***
>> ============================
>>
>> +++ The full log is too big to be posted here.
>> +++ These are the last 100 lines of it.
>>
>> make[6]: Entering directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>>   GEN      alloca.h
>>   GEN      dirent.h
>>   GEN      glob.h
>>   GEN      fcntl.h
>>   GEN      inttypes.h
>>   GEN      limits.h
>>   GEN      math.h
>>   GEN      signal.h
>>   GEN      stdint.h
>>   GEN      stdio.h
>>   GEN      stdlib.h
>>   GEN      string.h
>>   GEN      sys/stat.h
>>   GEN      sys/time.h
>>   GEN      time.h
>>   GEN      sys/types.h
>>   GEN      unistd.h
>>   GEN      wchar.h
>>   GEN      wctype.h
>> make  all-recursive
>> make[7]: Entering directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>> make[8]: Entering directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>>   CC       cloexec.o
>>   CC       dirname-lgpl.o
>>   CC       basename-lgpl.o
>>   CC       stripslash.o
>>   CC       exitfail.o
>>   CC       fd-hook.o
>>   CC       fd-safer-flag.o
>>   CC       dup-safer-flag.o
>>   CC       filenamecat-lgpl.o
>>   CC       getprogname.o
>>   CC       hard-locale.o
>>   CC       malloca.o
>>   CC       localcharset.o
>>   CC       math.o
>>   CC       openat-die.o
>>   CC       save-cwd.o
>>   CC       stat-time.o
>>   CC       strnlen1.o
>>   CC       tempname.o
>>   CC       unistd.o
>>   CC       dup-safer.o
>>   CC       fd-safer.o
>>   CC       pipe-safer.o
>>   CC       wctype-h.o
>>   CC       chdir-long.o
>>   CC       fcntl.o
>>   CC       glob.o
>>   CC       glob_pattern_p.o
>>   CC       globfree.o
>>   CC       localtime-buffer.o
>>   CC       mbrtowc.o
>>   CC       openat-proc.o
>>   CC       malloc/scratch_buffer_grow.o
>> In file included from ../../../../binutils-gdb/gdb/gnulib/import/scratch_buffer.h:9:0,
>>                  from ../../../../binutils-gdb/gdb/gnulib/import/glob.c:87:
>> ../../../../binutils-gdb/gdb/gnulib/import/malloc/scratch_buffer.h:69:3: error: unknown type name max_align_t
>>    max_align_t __space[(1023 + sizeof (max_align_t)) / sizeof (max_align_t)];
>>    ^
>> ../../../../binutils-gdb/gdb/gnulib/import/malloc/scratch_buffer.h:69:39: error: max_align_t undeclared here (not in a function)
>>    max_align_t __space[(1023 + sizeof (max_align_t)) / sizeof (max_align_t)];
>>                                        ^
>> ../../../../binutils-gdb/gdb/gnulib/import/glob.c: In function glob_in_dir:
>> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1413:15: error: for loop initial declarations are only allowed in C99 mode
>>                for (size_t i = 0; i < cur; ++i)
>>                ^
>> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1413:15: note: use option -std=c99 or -std=gnu99 to compile your code
>> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1438:15: error: for loop initial declarations are only allowed in C99 mode
>>                for (size_t i = 0; i < cur; ++i)
>>                ^
>> make[8]: *** [glob.o] Error 1
>> make[8]: *** Waiting for unfinished jobs....
>> In file included from ../../../../binutils-gdb/gdb/gnulib/import/scratch_buffer.h:9:0,
>>                  from ../../../../binutils-gdb/gdb/gnulib/import/malloc/scratch_buffer_grow.c:23:
>> ../../../../binutils-gdb/gdb/gnulib/import/malloc/scratch_buffer.h:69:3: error: unknown type name max_align_t
>>    max_align_t __space[(1023 + sizeof (max_align_t)) / sizeof (max_align_t)];
>>    ^
>> ../../../../binutils-gdb/gdb/gnulib/import/malloc/scratch_buffer.h:69:39: error: max_align_t undeclared here (not in a function)
>>    max_align_t __space[(1023 + sizeof (max_align_t)) / sizeof (max_align_t)];
>>                                        ^
>> make[8]: *** [malloc/scratch_buffer_grow.o] Error 1
>> make[8]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>> make[7]: *** [all-recursive] Error 1
>> make[6]: make[7]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>> *** [all] Error 2
>> make[6]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib/import'
>> make[5]: *** [subdir_do] Error 1
>> make[5]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib'
>> make[4]: *** [all] Error 2
>> make[4]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb/build-gnulib'
>> make[3]: *** [subdir_do] Error 1
>> make[3]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb'
>> make[2]: *** [all-lib] Error 2
>> make[2]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build/gdb'
>> make[1]: *** [all-gdb] Error 2
>> make[1]: Leaving directory `/home/dje/rhel-7_1-s390x-1/rhel-s390x/build'
>> make: *** [all] Error 2
>> ============================
>
> -- 
> Sergio
> GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
> Please send encrypted e-mail if possible
> http://sergiodj.net/

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


  reply	other threads:[~2018-08-29 20:42 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 [this message]
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
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=87a7p4lx9u.fsf@redhat.com \
    --to=sergiodj@redhat.com \
    --cc=dje.gcc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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