From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id DB0312586C for ; Wed, 13 Mar 2024 02:43:37 +0100 (CET) Received: (qmail 15767 invoked by uid 550); 13 Mar 2024 01:39:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 15702 invoked from network); 13 Mar 2024 01:39:22 -0000 To: musl@lists.openwall.com References: <20240312005150.GB4163@brightrain.aerifal.cx> <4f5abddd-09f9-f05f-6cc6-719fc365b449@loongson.cn> From: lixing Message-ID: Date: Wed, 13 Mar 2024 09:42:42 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID:AQAAf8Dxfs2zBPFlgutXAA--.32991S3 X-CM-SenderInfo: pol0x03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBj93XoW7KryrCF4DZF48ur17ArWDtrc_yoW8XrWxpa y8ZFW3CFs7Jr97J3yDKa4DZryqvFsYqryYq3WrJFy09a98Was0gw4FqryUXa4aqw1xGr12 vrWrZ34xWF9aqagCm3ZEXasCq-sJn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUv0b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1l5I 8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AK xVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lc7I2V7IY0VAS07AlzV AYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E 14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jr0_JrylIx kGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAF wI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r 4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU1CPfJUU UUU== Subject: Re: [musl] loongarch64 atomics not working? 在 2024/3/13 上午1:18, Waldemar Brodkorb 写道: > Hi Thorsten, > Thorsten Glaser wrote, > >> Waldemar Brodkorb dixit: >> >>> lixing wrote, >>>> We've tested static and dynamic build mksh with commit id >>>> cbb8a0196aab53165a35339fd91ade599d184f both works ok. >> That’s great to hear! >> >>> Can you check with qemu-system-loongarch64? I use gcc 13.2.0, >>> binutils 2.42 and Linux 6.6.18 with the defconfig provided. >>> Qemu is also 8.2.2. Can you provide your QEMU_EFI.fd for download? I just only use qemu user mode, but my colleague give me the address for download the EFI as follow https://github.com/lixianglai/LoongarchVirtFirmware. Also, can you post the qemu-system-loongarch64 startup command to me? >> Perhaps to distinguish between emulation/runtime and toolchain >> faults you could send each other the mksh binaries (if statically >> linked, otherwise probably them plus musl’s dynamic parts)? I update the static binary to my repo on github, you can download and try, we both tested with real hardware and qemu-loongarch64 user mode is ok.  This mksh built with gcc 13.2.1, binutils 2.42, linux 6.6.15 in the loongarch environment. https://github.com/lixing-star/binarys > Statically linked mksh from me is here: > https://debug.openadk.org/mksh we've tested your binary on 3c5000  is ok, but  hanged with qemu-loongarch64. Are you cross compiled the mksh for use? > > best regards > Waldemar > best reards, XingLi