From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 1EA193851C3D for ; Mon, 7 Dec 2020 17:32:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1EA193851C3D Received: by mail-ed1-x529.google.com with SMTP id dk8so11713881edb.1 for ; Mon, 07 Dec 2020 09:32:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hC1iGQ0iFAM/z+d+IGSCMLNTqpJNMiefet9akIGTJlk=; b=LAsnAg5BM4hWYBK20gvDK+3aayGt7ufYWrJ+k1a9h62uc2JC3Q9ISiWtFHIRibs9iA I1cOVE9GLYfS2BSdqWIaDFZ/lzp0PHoxWqm1SyiodNYL5bfGqZYBY29hTa5fmMDswxMI Xxq/2s2+0iQEcatZeJ2Hz4ugK4CikqnvCHsMRnvGT6K3mNrSoeZ082NSjyfDaxO0r1Rp xsGYdZre8REiIUBeHt3AgrKMklgTgz7DZiIYOR5uL7xwuIW1/Ku26EN7VkUsaTr0y0yz fRUMQuX5QBDeBv1nKmBHuSSzW1DCKdrw8m0SdVSCE9ZQF5xRqWHnv7kY8Y0/3nksDK2A r+4Q== X-Gm-Message-State: AOAM5324VgsmvvMQXLJ5veSaz2VAdp3EQXt5YsDVl+tPPnFw0UB1pj64 opsbVXn1Mk2NeCHjfaQPgasw4IAAxd4zyOQRcLsFWb2jGVM= X-Google-Smtp-Source: ABdhPJw5zeilXlI/blhtswn/WCyS23WqMju4nd8YQjFEyVqbRELC1zpB6k7mu6Xc5cCGdUENVC6lWtrMNaY0mA4Q/8E= X-Received: by 2002:a50:fc8b:: with SMTP id f11mr21212948edq.11.1607362333184; Mon, 07 Dec 2020 09:32:13 -0800 (PST) MIME-Version: 1.0 From: Vladimir V Date: Mon, 7 Dec 2020 18:32:02 +0100 Message-ID: Subject: Problem building libstdc++ for the avr target To: libstdc++@gcc.gnu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 17:32:17 -0000 Dear libstdc++ developers, I have recently experimented with building 'hosted' variant of the libstdc++ for the avr target. Practically, it looks like, after minor extension of the avr-libc, it can be built. Unfortunately, as a temporary workaround I had to disable dlopen test in the configure script as I encountered the error: 'checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES' while building with '--with-avrlibc' flag. The issue is described in https://gcc.gnu.org/legacy-ml/gcc/2008-03/msg00515.html and was resolved for the newlib. The fix was not applied for the avr-libc targets although the rationale behind the solution seems to be applicable there as well. I would like to ask what do you think about extending the scope of the solution to work with avr-libc based builds as well? Thank you for considering my question. With best regards, Vladimir