From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52296 invoked by alias); 3 Sep 2018 10:04:55 -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 52282 invoked by uid 89); 3 Sep 2018 10:04:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT autolearn=no version=3.3.2 spammy=H*f:sk:87pny0k, H*f:sk:E1fv3NX, H*f:sk:7a6dbc2, gdb's X-HELO: pb-smtp20.pobox.com Received: from pb-smtp20.pobox.com (HELO pb-smtp20.pobox.com) (173.228.157.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Sep 2018 10:04:53 +0000 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 693B42F5B6 for ; Mon, 3 Sep 2018 06:04:51 -0400 (EDT) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; s=sasl; bh=FRWC2kK07WcX V+vqP8DQu2Dfhvs=; b=cuHFYBi9lXanBbD8/7od47OMCPgECSkuLNlE8hDO9BP9 x46Mb9la13pHAtQcUQfBp1uHh3ILCWcWhR7uXftIQHONv69hGnTjjSW4vdBToC5Q kdMcnDzapwuxOO4r5zNhqMOlHjorPPeOu1SoUdkBZQv7mOZstzFEgLrfxNU7qTA= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 6422A2F5B4 for ; Mon, 3 Sep 2018 06:04:51 -0400 (EDT) (envelope-from jonah@kichwacoders.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kichwacoders.com; h=mime-version:references:in-reply-to:from:date:message-id:subject:to:cc:content-type:content-transfer-encoding; s=mesmtp; bh=eXF6H6uV8g3TvOXi8nzfHa7Aurtan4i+Mcuutwd9pjk=; b=o4THa74FCuC/PngF+mKmLrtGg/sIwwAuEEY+mFXfDpSNsDl5p439CXfbgJnkcdY/E8sqVD86/VAFTgSQCTfJfxIFukD04bFFjeInY8cGOgka+Y/UCqN9PULOJzBntqdDDCrYnCFLWVBhKjVdQ/tL3RISlViCpowPYmfDLnJ0NkQ= Received: from mail-oi0-f53.google.com (unknown [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id DE7902F5AE for ; Mon, 3 Sep 2018 06:04:47 -0400 (EDT) (envelope-from jonah@kichwacoders.com) Received: by mail-oi0-f53.google.com with SMTP id l202-v6so29614oig.7 for ; Mon, 03 Sep 2018 03:04:47 -0700 (PDT) MIME-Version: 1.0 References: <7a6dbc2fdb2323c35e981f93236f323e9d7c0b24-master-breakage@gdb-build> <87tvndm8je.fsf@redhat.com> <87a7p4lx9u.fsf@redhat.com> <87bm9kx3ht.fsf@tromey.com> <8736uwlura.fsf@redhat.com> <8736uwwucm.fsf@tromey.com> <87pny0k10s.fsf@redhat.com> <878t4mrssl.fsf@tromey.com> In-Reply-To: <878t4mrssl.fsf@tromey.com> From: Jonah Graham Date: Mon, 03 Sep 2018 10:04:00 -0000 Message-ID: Subject: Re: Breakage on builder RHEL-s390x-m64, revision 7a6dbc2fdb2323c35e981f93236f323e9d7c0b24 To: Tom Tromey Cc: sergiodj@redhat.com, gdb-patches@sourceware.org, dje.gcc@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: CA3890D6-AF60-11E8-A6A8-F5C31241B9FE-18936988!pb-smtp20.pobox.com X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00013.txt.bz2 > 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. 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. =46rom 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 =E2=80=98max_align_t=E2=80=99 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: =E2=80=98max_align_t=E2=80=99 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/gd= b/build-gnulib/import'