public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* gdb build problem (gdb/unittests/scoped_mmap-selftests.c)
@ 2018-08-08 15:42 Steve Ellcey
  2018-08-08 17:35 ` Tom Tromey
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Ellcey @ 2018-08-08 15:42 UTC (permalink / raw)
  To: gdb-patches, simon.marchi


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-09 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 15:42 gdb build problem (gdb/unittests/scoped_mmap-selftests.c) Steve Ellcey
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).