From: Yao Qi <qiyaoltc@gmail.com>
To: Chris Johns <chrisj@rtems.org>
Cc: "gdb\@sourceware.org" <gdb@sourceware.org>
Subject: Re: gdb-7.12.1 for arm-rtems4.12 fails to build on FreeBSD 11.0
Date: Tue, 28 Feb 2017 10:42:00 -0000 [thread overview]
Message-ID: <86zih6r3z7.fsf@gmail.com> (raw)
In-Reply-To: <99cb977b-7c3d-098f-0c97-175ae737b806@rtems.org> (Chris Johns's message of "Mon, 27 Feb 2017 15:53:21 +1100")
Chris Johns <chrisj@rtems.org> 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?
--
Yao (齐尧)
next prev parent reply other threads:[~2017-02-28 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-27 4:53 Chris Johns
2017-02-28 10:42 ` Yao Qi [this message]
2017-02-28 21:17 ` Chris Johns
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=86zih6r3z7.fsf@gmail.com \
--to=qiyaoltc@gmail.com \
--cc=chrisj@rtems.org \
--cc=gdb@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