Message ID | cover.1666192979.git.aburgess@redhat.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 49639385E01D for <patchwork@sourceware.org>; Wed, 19 Oct 2022 15:26:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49639385E01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666193202; bh=h325eQ0fj+EUqrP73qtDQjQrHfmqoSJPNY4lM2c1k/0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=a8pMjsPAdIuII+xe55KC6SZXsDTVVAzOQzFWDq1nVrDM2LOcjuyFGD5CF2/PL18rj F/R4pVy5t2GZmCvqulyifFtDbaN2Cq2LCz1UqB6mTnXD4eVC8ThvKDujXwU3Fin1xN xXnoQIgG1EQsIyDshT14aFrQpxxb9o87u9FKoFjI= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id D7A2B3857007 for <gdb-patches@sourceware.org>; Wed, 19 Oct 2022 15:24:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D7A2B3857007 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-164-xGCOqNYRMPukldVBMpaaeQ-1; Wed, 19 Oct 2022 11:24:55 -0400 X-MC-Unique: xGCOqNYRMPukldVBMpaaeQ-1 Received: by mail-qk1-f198.google.com with SMTP id j13-20020a05620a410d00b006e08208eb31so14992698qko.3 for <gdb-patches@sourceware.org>; Wed, 19 Oct 2022 08:24:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h325eQ0fj+EUqrP73qtDQjQrHfmqoSJPNY4lM2c1k/0=; b=4d7rzgL+Kr2TkwGkMqvE1Rz7zyrTyR6c+Tm3PMYoOdUmyqJVd/5fof8wo2C05xwgRJ JZmbD0uZuOk5hQASsn4S0IQaHftRd1eAc6JyHcOERXr5z/0wfu0DD0A1W4e1RdgFhqRc zYyHmXrHderCK2N01yU480mLwSl1cIT8Imymlr6J0XNKEWqy0Gue6p4c8XP9oiqPU87P 9l3X9j2i6w7y0MW+cZhsAC9GJqM7YT0xL3MXMJaLX+5DHZMNuA5kBFuuRgmNoiD5vvwL 2pOE4U0uK2oNUhRHbCHeqD6lddJFRjLQdcDnTH/DQna3F8rJL+x3+HRPYRv7ZniD36dX cmug== X-Gm-Message-State: ACrzQf3ZTM9lIARAW2Wt/MYA6G8ZuAbdhDM910FsdBfcFg9TxuJPf7bU bXri8WrLR6Ic4mtGUra+EERpaEOyrLfyKiKXJUf2ijkDOKlh9mA9Tu8KWaE2vW1Anu5uuW18v3R Tue8CHaIVpQbjCiMQcy949ecUuxNE9p8Lk8FOqh9Ww2wCweaDoVHoqCyVpHUyfqEjQby2+Zrhew == X-Received: by 2002:a05:620a:40d5:b0:6ee:e3f8:20d2 with SMTP id g21-20020a05620a40d500b006eee3f820d2mr5935053qko.14.1666193094903; Wed, 19 Oct 2022 08:24:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM66LQN9gFkSnuzt58+DkRyOQhGT0uzbnUuD2dQAZWRT4q3qw203oL2X3f3i3MYppQ3eRoFJqg== X-Received: by 2002:a05:620a:40d5:b0:6ee:e3f8:20d2 with SMTP id g21-20020a05620a40d500b006eee3f820d2mr5935032qko.14.1666193094616; Wed, 19 Oct 2022 08:24:54 -0700 (PDT) Received: from localhost ([31.111.84.238]) by smtp.gmail.com with ESMTPSA id w18-20020a05620a425200b006eeb25369e9sm5260416qko.25.2022.10.19.08.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 08:24:54 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH 00/10] Building the sim/ tree with clang Date: Wed, 19 Oct 2022 16:24:39 +0100 Message-Id: <cover.1666192979.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Andrew Burgess <aburgess@redhat.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Building the sim/ tree with clang
|
|
Message
Andrew Burgess
Oct. 19, 2022, 3:24 p.m. UTC
The goal of this series is to allow the simulator tree to build using clang. The first 9 patches resolve some minor build warnings. The last patch is where I give up (for now), and disable -Werror for 3 simulators which I think are going to be trickier to fix. --- Andrew Burgess (10): sim/sh: use fabs instead of abs sim/ppc: don't try to print an uninitialized variable sim/ppc: initialize a memory buffer in all cases sim/ppc: don't pass uninitialized value to semctl for GETVAL calls sim/ppc: fix for operator precedence warning from clang sim/aarch64: remove two unused functions sim/rx: delete an unused function sim/h8300: avoid self assignment sim/lm32: fix some missing function declaration warnings sim/cris/m32c/sh: disable use of -Werror sim/aarch64/simulator.c | 16 ---------------- sim/cris/Makefile.in | 3 +++ sim/h8300/compile.c | 4 ++-- sim/lm32/Makefile.in | 3 --- sim/lm32/cpu.h | 11 +++++++++++ sim/lm32/dv-lm32cpu.c | 3 +++ sim/lm32/user.c | 3 +++ sim/m32c/Makefile.in | 3 +++ sim/ppc/altivec.igen | 2 +- sim/ppc/emul_netbsd.c | 2 ++ sim/ppc/hw_sem.c | 4 ++-- sim/ppc/sim_calls.c | 5 +++-- sim/rx/rx.c | 8 -------- sim/sh/Makefile.in | 3 +++ sim/sh/interp.c | 2 +- 15 files changed, 37 insertions(+), 35 deletions(-)
Comments
>>>>> "Andrew" == Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> writes:
Andrew> The goal of this series is to allow the simulator tree to build using
Andrew> clang.
Andrew> The first 9 patches resolve some minor build warnings.
Andrew> The last patch is where I give up (for now), and disable -Werror for 3
Andrew> simulators which I think are going to be trickier to fix.
I can't really comment on patch #9, but otherwise these all looked fine
to me. Thanks for doing this.
Tom