From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.220]) by sourceware.org (Postfix) with ESMTPS id 7387538708D1; Sat, 15 Jun 2024 08:30:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7387538708D1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gjlay.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=gjlay.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7387538708D1 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=81.169.146.220 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1718440255; cv=pass; b=q0efGdUeYUr5XZuFbp/6fFcL3ydndJeHoP7wlOEaJ4/b6cO9JGtw5Hr/hXNmUzySK+pRHyNFSfiCJE63LPSIv798APyY276FAsu0yBps7H9oZsMToYe+y8SbruVJaS+1OSlBAKCuLI9erCtIGoGHVc+QVgsd/FR6lQtIar1EBJM= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1718440255; c=relaxed/simple; bh=h2NJaIHdwk+jvH7W5CkoidezP2wHAk6cVlE2OlvJTk8=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version: Subject:To:From; b=u/t9d3EXXsDCDBvKtlZhmldGuXI6VJgUAuIaLOc5qs0OuTt0Q5nH+T8Kq/y8GLtthxu2oJwNDcNQWHFmtMMClzqZ5WxEg9SUd9LuDg607wbllqiCF2TdGHIbyYAA4Kd3yYvqzXSgLWKFiTjY0SEJoF8CoH4mDBRlD3qmhRqYZWs= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1718440247; cv=none; d=strato.com; s=strato-dkim-0002; b=opD449qKsrI9X+m0+Lk4OaJtFWl+J93p3xRHspMJalZhhSI5RAgz7s7lpMgvs1lgoQ 2c9zE6jwL1kxxOAntS9y2RA10rl7cRy12ADS23m13yUKEv5VfVKH43r316IGWPzjf5ja VOXHxgAeZz5xivhsbff5cHoMzRHjUbWdliI96G46VCEpzyoZLF8FMRiD5ReHL8loUQ9r FHkWH32TrOiAz36V8NRO2u8NYrSKVX8uS/wbcFkwUaztD0iegQIpu++0AcNUm7kPXX7y l+MjrE1m4pdgkZpG6sMITWuV6bqNkrLFiUXxFtjhaMjGErdVRFF2F1iK+Hsy8LjnIvBm mP3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1718440247; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=zXFKZaPBKNvNdj0bZwvRCiE4F8SV99OkTmYxSasurVc=; b=dCy8oRU9XkeNoGsjybO4pitcrA+f9pVEzPOydHDUSnn/1PbEpQ1UotTWomP/dizuNm 0JmrT7xSVSXYaJdrlsDeI8H+GlHhsraCWlo6njeKx0hctsaT01sPcxuaR+djFcoIK/Io ZvLn8CEg/tTIXIT2azQBju2Lmxf2+MnWlsdvl+lQpv3F4R70NEDwNdN1u5M865M3leDG 6+gD3TiorQG5/36IC9m2X6F49BDjkpkBfJPP20MkthVRzlNOWT66OAs/+PjHtFGvsHP4 yA0mFkqzlzZMwZZyQ3//bYrBUiyQrcTtUMvYgsojr4DRLDlPxwMjXmDv/1Z3r/YgbYnS qCsw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1718440247; s=strato-dkim-0002; d=gjlay.de; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=zXFKZaPBKNvNdj0bZwvRCiE4F8SV99OkTmYxSasurVc=; b=L76TBjLa08i5IMZ192E2ySxOzdpbgPluS0uzdZPINDOHMTlOEJ5AMVfqPDeEiYORkL m7/73ceZceAFmwtDpqDmWwVaRrsFJ7oDeHJkRcteGxXjudLlZFXWPZfIeiDz/Cxy7idB vw87ecSMTDN8wBEhxjA7NQt5P3oXho3fjzM0hNgrmNWw0ZPMz/zug2El+biLkhIh2MIl ncqO1pvBS6X6N5BBSIXZxz8qYQEaCl32i2Ax5p0nNV3XNOxI2vesmx+sdRXGB1X9nYni y0F0NLsxkOfj+6TPsqzBYV55hetvMSoCVHc2eZ9yW1hgswcxZthGOFWX1PYvpbmeZzuh kwVg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1718440247; s=strato-dkim-0003; d=gjlay.de; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=zXFKZaPBKNvNdj0bZwvRCiE4F8SV99OkTmYxSasurVc=; b=3ZhGyrr0NjuIRgPkTMQrOerH2GNb9gxhwGsUZMMpzHG9F6Gi6o7PVd4O0cRHo3n4+s 1KixgP9mVFFVZI2lMkAQ== X-RZG-AUTH: ":LXoWVUeid/7A29J/hMvvT3koxZnKT7Qq0xotTetVnKkbjtK7q2y9L+qNvyhO" Received: from [192.168.2.102] by smtp.strato.de (RZmta 50.5.0 DYNA|AUTH) with ESMTPSA id x0577805F8UlGov (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 15 Jun 2024 10:30:47 +0200 (CEST) Message-ID: <66e12e9f-d09c-46c2-a043-ae6c22475ec1@gjlay.de> Date: Sat, 15 Jun 2024 10:30:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] libstdc++: Fix build for AVR [PR115481, PR111639] To: Detlef Vollmann , Xi Ruoyao , gcc Patches , libstdc++ References: <05fec570-04e5-44de-9a61-c25fb1adf92d@vollmann.ch> <0f5c75f9e6a51cd1ad9eb1274bf93d9b310af2b2.camel@xry111.site> <8f3407de-0df2-42af-ab75-6d2ee3a12e80@vollmann.ch> From: Georg-Johann Lay Content-Language: en-US In-Reply-To: <8f3407de-0df2-42af-ab75-6d2ee3a12e80@vollmann.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Am 14.06.24 um 21:11 schrieb Detlef Vollmann: > I actually plan anyway to run a test with the built libstdc++ on simulavr. > >   Detlef As an aside, simulavr tries to simulate an exact match of the hardware including internal I/O like timers, IRQs, etc. For GCC regression testing, no internal I/O is needed; all what's required for testing algorithms is a core simulator like avrtest: https://github.com/sprintersb/atest https://github.com/sprintersb/atest?tab=readme-ov-file#running-the-avr-gcc-testsuite-using-the-avrtest-simulator avrtest runs orders of magnitude faster than simulavr, however it doesn't implement a GDB server, EEPROM or timers (none of which is required for the GCC testsuite). Apart from that, only being a core simulator, you can test for more cores than covered by simulavr. simulavr supports devices that cover the following 8 multilib variants: avr2 tiny-stack avr25 avr25/tiny-stack avr4 avr5 avr51 avr6 out of the 19 variants available in avr-gcc, like avr3, avr31, avrtiny, and all the avrxmega[2-7] variants that can be used with avrtest. avrtest comes with board descriptions that cover a variety of all the different cores. avrtest board descriptions usually supply more RAM than the actual device has, which allows more PASSes due to less out-of-memory FAILs. Johann