From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70881 invoked by alias); 27 Feb 2017 04:53:38 -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 70867 invoked by uid 89); 27 Feb 2017 04:53:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:8.14.9 X-HELO: mail.contemporary.net.au Received: from msc1401703.lnk.telstra.net (HELO mail.contemporary.net.au) (139.130.245.200) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 Feb 2017 04:53:35 +0000 Received: from [10.10.5.3] (kiwi.contemporary.net.au [10.10.5.3]) (authenticated bits=0) by mail.contemporary.net.au (8.14.9/8.14.7) with ESMTP id v1R4rLai050412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 27 Feb 2017 15:53:21 +1100 (EST) (envelope-from chrisj@rtems.org) To: "gdb@sourceware.org" From: Chris Johns Subject: gdb-7.12.1 for arm-rtems4.12 fails to build on FreeBSD 11.0 Message-ID: <99cb977b-7c3d-098f-0c97-175ae737b806@rtems.org> Date: Mon, 27 Feb 2017 04:53:00 -0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-02/txt/msg00051.txt.bz2 Hi, 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? Thanks Chris