From: Steve Ellcey <sellcey@cavium.com>
To: gdb-patches <gdb-patches@sourceware.org>, simon.marchi@ericsson.com
Subject: gdb build problem (gdb/unittests/scoped_mmap-selftests.c)
Date: Wed, 08 Aug 2018 15:42:00 -0000 [thread overview]
Message-ID: <1533742957.31481.2.camel@cavium.com> (raw)
Is anyone else still having a problem building gdb?  I saw theÂ
mail about remote.c but I currently get this failure when
building gdb with gcc 5.4.0 on an aarch64 linux box.
/home/sellcey/tot/src/binutils-gdb/gdb/unittests/scoped_mmap-selftests.c: In function âvoid selftests::mmap_file::test_normal()â:
/home/sellcey/tot/src/binutils-gdb/gdb/unittests/scoped_mmap-selftests.c:94:26: error: ignoring return value of âssize_t write(int, const void*, size_t)â, declared with attribute warn_unused_result [-Werror=unused-result]
   write (fd, "Hello!", 7);
It looks like this file was changed yesterday.
% git log scoped_mmap-selftests.c | more
commit 5c831bb1eb6b22cd1705b98188b7d1b0633e7c54
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:Â Â Â Tue Aug 7 18:10:29 2018 -0400
    Introduce mmap_file function
----
Steve Ellcey
sellcey@cavium.com
next reply other threads:[~2018-08-08 15:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 15:42 Steve Ellcey [this message]
2018-08-08 17:35 ` Tom Tromey
2018-08-08 17:39 ` Simon Marchi
2018-08-08 17:57 ` Tom Tromey
2018-08-08 22:17 ` Simon Marchi
2018-08-09 13:28 ` Pedro Alves
2018-08-09 14:34 ` Tom Tromey
2018-08-08 18:00 ` Tom Tromey
2018-08-08 17:49 ` Steve Ellcey
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=1533742957.31481.2.camel@cavium.com \
--to=sellcey@cavium.com \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@ericsson.com \
/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