From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id TERDNiVUu2GOXgAAWB0awg (envelope-from ) for ; Thu, 16 Dec 2021 09:58:45 -0500 Received: by simark.ca (Postfix, from userid 112) id CA8AC1F0BD; Thu, 16 Dec 2021 09:58:45 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 5FC891F0B9 for ; Thu, 16 Dec 2021 09:58:45 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6172E3858407 for ; Thu, 16 Dec 2021 14:58:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6172E3858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1639666724; bh=aj509R3KAmCqnrWH6qRA03AK/sz84nyAB8TPJl5CLTA=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=GLTHTnVdDLeYmy/Jdghpx/AhPT2jTOMSBxgfQPvExj/neVCOz74z5JNc/o+XF4xTl MsdpndTXaqUHYajtCelkIrpVcsG2wmTsTxbwGIs7RQ6leJdwxZkD8ZCNsBjvdi0pPV CZEkpabKRW0NqXiZxfqzE/d50N9F81cF3PEbvwNI= Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by sourceware.org (Postfix) with ESMTPS id EE4DD3858D35 for ; Thu, 16 Dec 2021 14:58:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EE4DD3858D35 Received: by mail-io1-xd2f.google.com with SMTP id x6so35236592iol.13 for ; Thu, 16 Dec 2021 06:58:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aj509R3KAmCqnrWH6qRA03AK/sz84nyAB8TPJl5CLTA=; b=s6y16zJnX4poEilN7EeSIeMJ7mW9BeekjuwJhzfaTK5+zDm6n5Ptl7/zSPR07k6GJL O2LpYOHwsGF5Y3jud8KNv0Oi7c8YIOhMzPXtFIk2FkMiuIjZ+wfB1LA5S0XgykNawSuV luGX92k3HmsSx0Yr3QXTXQHoCkBbe0DGHe7Jr4CNtvmWKaYJxf16h05o57aIrHrOKik7 gHoxVYv9bNJ2pdlGSL4E/KIJ1/D2XecG8h8w5bk0u6ll6Nibgts38SW7TEOwxcOvlFsf pa62B4qxPZjPYnytvTQJLoLAQn2vHNip3nkYOivcGQiDa46CAkzSFXWbs5m0Tnqhwm/L /C3w== X-Gm-Message-State: AOAM531T8jOsyIixXviQBha8OqO/E9hwG8ELn08o+j4Zg2RRJ248P252 AnU8bIWp1SF2jbjPN3a8A9n9E827KeeM+A== X-Google-Smtp-Source: ABdhPJxx50nZqs3PrOM7obqbWJ3tqaV/GQrBL/iAzs3C4BT2mVSyyd9u8LEosHEQ73oQHOiskrRgYg== X-Received: by 2002:a05:6602:280f:: with SMTP id d15mr9672071ioe.150.1639666705420; Thu, 16 Dec 2021 06:58:25 -0800 (PST) Received: from murgatroyd (75-166-130-34.hlrn.qwest.net. [75.166.130.34]) by smtp.gmail.com with ESMTPSA id i1sm3199252ilv.54.2021.12.16.06.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 06:58:25 -0800 (PST) To: Tom Tromey Subject: Re: [PATCH] Fix ARM simulator build on Windows References: <20211209140212.3980587-1-tromey@adacore.com> X-Attribution: Tom Date: Thu, 16 Dec 2021 07:58:24 -0700 In-Reply-To: (Mike Frysinger's message of "Thu, 9 Dec 2021 21:25:08 -0500") Message-ID: <875yroy4tr.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >> For a Windows-hosted build with arm-elf as the target, the sim build >> fails like: Mike> what is your --host ? guessing it's a mingw toolchain. Yeah: --host=i686-w64-mingw32 Mike> i'm not keen on relying on open being defined to a simple symbol name and thus Mike> it will continue to compile. if it's defined to something more complicated, i Mike> imagine it will still fail to compile. Mike> #define open(args...) _foo_open(1234, ## args) I'm not sure that's an allowable redefinition, but as long as the fix works, it's fine by me. Thank you. Tom