From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4Ks5Nfl0d2CMXgAAWB0awg (envelope-from ) for ; Wed, 14 Apr 2021 19:04:25 -0400 Received: by simark.ca (Postfix, from userid 112) id D51A81F0FE; Wed, 14 Apr 2021 19:04:25 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=MAILING_LIST_MULTI, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 1851C1F104 for ; Wed, 14 Apr 2021 19:04:19 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 70A9A3847819; Wed, 14 Apr 2021 23:04:18 +0000 (GMT) Received: from mail.baldwin.cx (bigwig.baldwin.cx [66.216.25.90]) by sourceware.org (Postfix) with ESMTPS id F3D63385803D for ; Wed, 14 Apr 2021 23:04:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F3D63385803D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=jhb@FreeBSD.org Received: from ralph.com (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id A73571A84BA9; Wed, 14 Apr 2021 19:04:08 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH 0/5] Various build fixes for sims Date: Wed, 14 Apr 2021 16:02:54 -0700 Message-Id: <20210414230259.19234-1-jhb@FreeBSD.org> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (mail.baldwin.cx [0.0.0.0]); Wed, 14 Apr 2021 19:04:09 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.103.1 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" These are a few build fixes I ran into while trying to build gdb master on FreeBSD 14 with clang 11. Some of these are unique to my build environment, e.g. patch 1 is because I have an older version of binutils installed in the same path (/usr/local) as the SDL libraries needed by bfin, patch 2 is because clang 11 treats this as an error even without -Werror, patch 3 is because I use tcsh as my login shell. Patch 5 is probably due to FreeBSD not having readline in /usr/include. I've no idea why the breakage patch 4 addresses doesn't break everywhere. In that case, igen wasn't generating any output files at all. For patch 1, while this is a "minimal" fix, I'm not sure if it is the best fix (e.g. would it be better to move all of CONFIG_CFLAGS after CSEARCH instead?) John Baldwin (5): sim: Add SIM_EXTRA_CFLAGS after CSEARCH. sim frv: Add a missing return value for frvbf_check_acc_range. sim lm32: Use a known-good shell with genmloop.sh. sim mn10300: Fix igen generation. sim erc32: Add include path for readline. sim/common/ChangeLog | 6 ++++++ sim/common/Make-common.in | 7 +++---- sim/erc32/ChangeLog | 7 +++++++ sim/erc32/Makefile.in | 6 +++++- sim/erc32/configure | 8 ++++++-- sim/erc32/configure.ac | 3 +++ sim/frv/ChangeLog | 4 ++++ sim/frv/traps.c | 2 +- sim/lm32/ChangeLog | 4 ++++ sim/lm32/Makefile.in | 2 +- sim/mn10300/ChangeLog | 5 +++++ sim/mn10300/Makefile.in | 5 +++-- sim/mn10300/mn10300.igen | 1 + 13 files changed, 49 insertions(+), 11 deletions(-) -- 2.30.1