From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71880 invoked by alias); 28 Feb 2017 10:42:48 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 70782 invoked by uid 89); 28 Feb 2017 10:42:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=D*rtems.org, Hx-languages-length:1000, max_align_t, build-gnulib X-HELO: mail-wm0-f43.google.com Received: from mail-wm0-f43.google.com (HELO mail-wm0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Feb 2017 10:42:46 +0000 Received: by mail-wm0-f43.google.com with SMTP id 196so22928381wmm.1 for ; Tue, 28 Feb 2017 02:42:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=cMXwEqPD9mOj6E9WGG1sXi2m70u+hHVVfCD40oxrBvY=; b=bc3EH7hyhgNYaPx4TjQuYiw+sG9SdjpE7tREjfqVMDYVx6GMpahJC7zzQe3icPgkwf mwTSwKWdogRMJCT8qVMF+BHDqd8PZKgQ7ZpjMi+MBt8GtQ1v3S9Za/iQ5OkgigM3baTx MVAYdA+D4FQm1Ppm0Vz6KCi8TcZwLHTqKt/piw3PuKPmYajQMUQjoDKFnISyoHlI4Xhb GeZDw7Gkf8+YC3w7Eln1aXMu8UNV+uN5p/510oCrNZPiXkDabdU7l6ko7abeSWb/gv44 9dbvbhCSuWz3w2YbaEC5SUWdimEI5//bKmUf8prgcwpMgGCCD9eEKcHqR6QEytXOTQQV OCug== X-Gm-Message-State: AMke39kjE/lclK/mRI6jCEJdNe8FzdrOaxP8kj2DPnRRRRR8EN+oUXJJPNTlTY6qE+dVxg== X-Received: by 10.28.19.207 with SMTP id 198mr1729306wmt.70.1488278564259; Tue, 28 Feb 2017 02:42:44 -0800 (PST) Received: from E107787-LIN ([194.214.185.158]) by smtp.gmail.com with ESMTPSA id y1sm2094041wme.15.2017.02.28.02.42.43 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 28 Feb 2017 02:42:43 -0800 (PST) From: Yao Qi To: Chris Johns Cc: "gdb\@sourceware.org" Subject: Re: gdb-7.12.1 for arm-rtems4.12 fails to build on FreeBSD 11.0 References: <99cb977b-7c3d-098f-0c97-175ae737b806@rtems.org> Date: Tue, 28 Feb 2017 10:42:00 -0000 In-Reply-To: <99cb977b-7c3d-098f-0c97-175ae737b806@rtems.org> (Chris Johns's message of "Mon, 27 Feb 2017 15:53:21 +1100") Message-ID: <86zih6r3z7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00060.txt.bz2 Chris Johns writes: > I am getting the following build failure on FreeBSD 11.0: > > In file included from ../../gdb-7.12.1/gdb/arch/arm.c:20: > In file included from ../../gdb-7.12.1/gdb/common/common-defs.h:31: > In file included from build-gnulib/import/stdio.h:53: > build-gnulib/import/stddef.h:104:3: error: typedef redefinition with > different types ('union max_align_t' vs 'long double') > } max_align_t; > ^ > /usr/include/c++/v1/stddef.h:57:21: note: previous definition is here > typedef long double max_align_t; > ^ > It seems build-gnulib/import/stddef.h is created assuming there is no > host provided version. I cannot figure out how the configure phase > test works and why this is happening. > > Any hints? Looks a gnulib issue to me. We upgrade gnulib after 7.12 release to fix this issue. https://sourceware.org/ml/gdb-patches/2016-10/msg00320.html Does GDB mainline fail also? --=20 Yao (=E9=BD=90=E5=B0=A7)