From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by sourceware.org (Postfix) with ESMTPS id 1F1EB385DC1F for ; Mon, 11 May 2020 17:58:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1F1EB385DC1F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-vs1-xe36.google.com with SMTP id h30so6163505vsr.5 for ; Mon, 11 May 2020 10:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bH80P+tcO46ofuq1eEZyWlOLXBSkfBGDbmHFIJAeGhM=; b=k441bK8yZwcrDIbiIRdEmx2D5AXQNGvHoS6pO9ZEiDhVbmMX6ko7IKwEqrmhyStm9s wrt9YwRrgOLCEb8kzaC2pnijVeRNQanyDUWxrhTnoBUk0uPxE0uiwxp3OCNIpTS/hJJN v39DeqPbMxhFLf3E1WnWwVZMsnncKnOFsH7lANBG81WWyxm9+j9E7OU2+EOaXNt16V0u kHwQMNJwYZ5wqxMKSNy+goTVdvisUUS6MV6BBQJZgPbNhP+2pkIfw3zy+y40w/S5ab2O XPyuFqei3A+lkl5ktKuI3VKococ3Mq2Q4f5K/bn3paDpdtetEsFxBXgcMM1NG8+77O+E J+qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bH80P+tcO46ofuq1eEZyWlOLXBSkfBGDbmHFIJAeGhM=; b=EzJqDNnvixYLapdIilexHdrtMXa8NFvuS5mTsv4fKDhax0rQi4nCfpCd+EzbPvBW3V yXKyM9Xr4FyrCoQ4SlIQnKMp/MErPE/+pc8/8WoGMAx/F4Jiwn9HZUVRAa6N3+DygW6h TYNLe26WtnzA0Z5LjVWK/lC+vGaMzwShx0Gt4ModTnWwGXNh0ZJ9MqKmaD6xq6tlrZtb NtKN/aIURL7potb6RyvUYSyatx7iEdStCErQ0Gia1Gv4ImXODFrnmcDjkT7z3joZO3cS WplYfpN+mHaxoN6OvT4rX1PVaQJk4F8bOO9kDIMhus+o0y0OQ31cjyvNOWJhSssCPw+9 z64A== X-Gm-Message-State: AGi0Puau2YgD8ep2IDRev3hI0EtwCTc7s79/DdGpB3WFWUMIzzImCy2j apZ5YytazgDR7USslt9k19g/CiNTVKHx2OcbIDzv9s35G94= X-Google-Smtp-Source: APiQypKPwcqcgEanMw4fdlhzYRDisrurkzH5V0CDss7OLMUREU83p1KdpEKgr0aWoec98hrNJNPm+dn3vE7RVlufhz0= X-Received: by 2002:a67:de0a:: with SMTP id q10mr13596786vsk.138.1589219917667; Mon, 11 May 2020 10:58:37 -0700 (PDT) MIME-Version: 1.0 References: <05b1ac83-4c46-45b5-d6ce-aba700b9c933@simark.ca> <802bfcc2-2a74-ef30-eca0-b247a6d5b8f1@simark.ca> In-Reply-To: From: Jim Wilson Date: Mon, 11 May 2020 10:58:26 -0700 Message-ID: Subject: Re: Running programs on aarch64 simulator To: joel@rtems.org Cc: Nick Clifton , Simon Marchi , gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 17:58:45 -0000 On Mon, May 11, 2020 at 7:41 AM Joel Sherrill wrote: > I'm trying to build one that will run on the simulator. I haven't managed to > do that yet. :( You can find the answer in dejagnu. See baseboards/aarch64-sim.exp which uses -specs=rdimon.specs. The aarch64 gdb sim is incomplete by the way. ARM won't let ARM engineers contribute to it because of IP concerns. I did some work on it when I was at Linaro, but there are still a number of instructions that are missing or implemented wrong. I got the gcc testsuite failures down to about 1200 before I left Linaro. I don't test it anymore, so I don't know the current state. I would suggest using qemu instead unless you want to fix simulator bugs. Jim