From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45077 invoked by alias); 29 Aug 2018 20:42:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 43964 invoked by uid 89); 29 Aug 2018 20:42:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_3,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Aug 2018 20:42:55 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 771C740216E7; Wed, 29 Aug 2018 20:42:53 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5ADFF4E626; Wed, 29 Aug 2018 20:42:53 +0000 (UTC) From: Sergio Durigan Junior To: gdb-patches@sourceware.org Cc: David Edelsohn Subject: Re: Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 References: <7a6dbc2fdb2323c35e981f93236f323e9d7c0b24-master-breakage@gdb-build> <87tvndm8je.fsf@redhat.com> Date: Wed, 29 Aug 2018 20:42:00 -0000 In-Reply-To: <87tvndm8je.fsf@redhat.com> (Sergio Durigan Junior's message of "Wed, 29 Aug 2018 12:39:33 -0400") Message-ID: <87a7p4lx9u.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00779.txt.bz2 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 "=E2=80=98for=E2=80=99 loop initial declarations are on= ly 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 =E2=80=98max_align_t= =E2=80=99" error. Thanks in advance, >> You can find more details below: >> >> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >> >> Buildslave: >> rhel-7_1-s390x-1 >> >> Full Build URL: >> >> >> Commit(s) tested: >> 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 >> >> Author(s) (in the same order as the commits): >> Sergio Durigan Junior >> >> Subject: >> Update gnulib to current upstream master >> >> Testsuite log (gdb.sum and gdb.log) URL(s): >> >> >> *** Failed to compiled GDB. *** >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >> >> +++ 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_d= ir: >> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1413:15: error: for lo= op initial declarations are only allowed in C99 mode >> for (size_t i =3D 0; i < cur; ++i) >> ^ >> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1413:15: note: use opt= ion -std=3Dc99 or -std=3Dgnu99 to compile your code >> ../../../../binutils-gdb/gdb/gnulib/import/glob.c:1438:15: error: for lo= op initial declarations are only allowed in C99 mode >> for (size_t i =3D 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-s39= 0x/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 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > > --=20 > Sergio > GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 > Please send encrypted e-mail if possible > http://sergiodj.net/ --=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/