From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19176 invoked by alias); 8 Aug 2018 15:42:45 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19164 invoked by uid 89); 8 Aug 2018 15:42:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=yesterday, Hx-languages-length:932, HContent-Transfer-Encoding:8bit X-HELO: NAM05-BY2-obe.outbound.protection.outlook.com Received: from mail-eopbgr710053.outbound.protection.outlook.com (HELO NAM05-BY2-obe.outbound.protection.outlook.com) (40.107.71.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Aug 2018 15:42:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f/qWBDfI4ty5cHgoXdScWpdxBxxxMDQ7oiSO90QFSoI=; b=k82TfUNgoXYn/a0zWfmOaHAFWNc3/rQdIgPebkRfkyCadoyxBCkYCG0LAoJ8c83nVlFD3DMX/1bdB7IKGBsGm1mRQ/8iX21oOk75R/3A3wNv6MunIle/Mxm2R1+EpyqGks1GAeIb2OKoewM1/jjfVY+f6bPLaxl4iEhLlAZaoRA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Steve.Ellcey@cavium.com; Received: from sellcey-dt.caveonetworks.com (50.233.148.155) by SN6PR07MB5040.namprd07.prod.outlook.com (2603:10b6:805:ad::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Wed, 8 Aug 2018 15:42:40 +0000 Message-ID: <1533742957.31481.2.camel@cavium.com> Subject: gdb build problem (gdb/unittests/scoped_mmap-selftests.c) From: Steve Ellcey Reply-To: sellcey@cavium.com To: gdb-patches , simon.marchi@ericsson.com Date: Wed, 08 Aug 2018 15:42:00 -0000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-Path: sellcey@cavium.com Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-SW-Source: 2018-08/txt/msg00162.txt.bz2 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 Date:   Tue Aug 7 18:10:29 2018 -0400     Introduce mmap_file function ---- Steve Ellcey sellcey@cavium.com