From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 2C1B03858C62 for ; Tue, 8 Nov 2022 12:37:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2C1B03858C62 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667911070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CRQ0DFuGg81fJUtcI0BzrSU5ojRrwxGaYh7IXH82tuQ=; b=Af5FeHVnfOjZTiTepiPLiAHKyaKqINjUGKBLml6dlOba++l1dW6AZl+WRSPuURCKC7PEFr aC7KBfivgmZzgHwINcvWTl4JTC3Z4WyODXP48+yVK2ZnoY8wpchaudRl7+RFx/ClnXaBjp aNk2ZwBEH9aB1GYIbVUgFdkjPi6TZp4= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-483-L4sBlIs5NZiHVNoi6b7ejA-1; Tue, 08 Nov 2022 07:37:49 -0500 X-MC-Unique: L4sBlIs5NZiHVNoi6b7ejA-1 Received: by mail-ed1-f70.google.com with SMTP id i17-20020a05640242d100b0044f18a5379aso10603588edc.21 for ; Tue, 08 Nov 2022 04:37:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CRQ0DFuGg81fJUtcI0BzrSU5ojRrwxGaYh7IXH82tuQ=; b=cVfxt4MthtDsft2yuQKdUoouLBH0Yfy7eOWklM5l+oqBbSAA49w/Vcq+eqm+17eCRu 5U9ACSSTz5dCnmdpkEw+CaT/wunLMy3zd8mLJ/vAaV9Wxd/NYErZ46D+vzP/D5ri7RF0 5OWB3IQKl2E8Am/REr/B6k4HAWyWKm5fXmSAt7JPiA4TTKFzNO7q7+Yi4TN4hMxhq8aG +0+UMD7HMy7/PTeS8UTBUyz8U2B86U40GnykM9LKwSYcuta0Co9CWGXQ/KPdZ/kcRsP/ rqkkEqssxCebh0Mg/xWq5SP39S90zczP7edIgCn2rC/2lSLVYeftx3WW3lYiwT6HsXfg r4kQ== X-Gm-Message-State: ACrzQf0cIUQ6KdtYt4PQ7uCZSNWZuOrdIWyXAKX7ZplcPHAVzeyCov3v V38hqq1FgF5zCe7+1T0aQVK7ChK9mSuDEZH9o9bwuZ+AnoTKRp+tUwTnHwoULlfzOQlKKD1u2is jXsENPY+VB+Mvrn3in/KAyZqfFQrwG7o= X-Received: by 2002:a05:6402:50d4:b0:461:e349:56b2 with SMTP id h20-20020a05640250d400b00461e34956b2mr56682803edb.17.1667911068431; Tue, 08 Nov 2022 04:37:48 -0800 (PST) X-Google-Smtp-Source: AMsMyM6xyBrh47qtJM0er9ezuCoNcUEbk2QJMA5AyLo7wehU0yRI5mSx8HwP6KvqZxX1TSieJHZ8OWlWR4GFcKGS3vI= X-Received: by 2002:a05:6402:50d4:b0:461:e349:56b2 with SMTP id h20-20020a05640250d400b00461e34956b2mr56682781edb.17.1667911068106; Tue, 08 Nov 2022 04:37:48 -0800 (PST) MIME-Version: 1.0 References: <878rklk7ws.fsf@oldenburg.str.redhat.com> In-Reply-To: <878rklk7ws.fsf@oldenburg.str.redhat.com> From: Jonathan Wakely Date: Tue, 8 Nov 2022 12:37:37 +0000 Message-ID: Subject: Re: msp430-elf cross-compiler: libstdc++ supported? To: Florian Weimer Cc: gcc@gcc.gnu.org, libstdc++@gcc.gnu.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP 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: On Tue, 8 Nov 2022 at 11:22, Florian Weimer via Libstdc++ wrote: > > I'm trying to validate a change to gcc/config/msp430/msp430.cc. > The cross-compiler builds as far as I can tell, but I hit a snag while > configuring libstdc++: > > checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. > make[1]: *** [Makefile:12334: configure-target-libstdc++-v3] Error 1 > make[1]: Leaving directory '/root/msp/build-gcc' > > Is this expected? Is libstdc++ even supported for this target? Yes. What's your configure command? You probably need at least --with-newlib. I think my last successful msp430 build was using: .../gcc/configure --target=msp430-elf --prefix=$HOME/gcc/msp430-elf --disable-libcc1 --disable-libgomp --disable-libitm --disable-libssp --disable-libvtv --disable-nls --with-system-zlib target_alias=msp430-elf --disable-libstdcxx-pch --disable-full-memory-range --with-newlib --enable-libstdcxx --enable-languages=c,c++ With the cross binutils already installed to $PREFIX/gcc/msp430-elf