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 30FBB3858C00 for ; Tue, 8 Nov 2022 12:37:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 30FBB3858C00 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=1667911072; 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=DeQolD3VS6ktOlufymqcDsZTGr0MWdm+w9m5aKRrjZWFKQ5n8N8+VP8gLjSLafaA8fV6uP T1wFqgQ0ybJRlygBOYwqQIDAm9jzgq1JLaH/ffnmir9kT/UumNrGFEnwv5X3oHaVK5zXWT sgphPHtbFjBNrFLo5oiY7AIwQbkkzAc= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-5-zopmqcHQP26xPM2lMRlS4Q-1; Tue, 08 Nov 2022 07:37:49 -0500 X-MC-Unique: zopmqcHQP26xPM2lMRlS4Q-1 Received: by mail-ed1-f69.google.com with SMTP id w4-20020a05640234c400b004631f8923baso10311748edc.5 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=H3t7CZod3yvWzHIUOqwd4iChckX894N6RobWs1ZutU85tSDk1Ljo0Q+0GQ7Mqpx84U LDuxyp8gKNCBcyGmwIGhN2Z+cWTEWVuntqJvqrDQ7IR4Ud34dE+zJJD40H62NHvYk/Jh iLe4Fc5ELfEEjmS9aVS0imLo2IgLBtpXYrHPeYoiwOILPUeBAzoxNW1A0scXJgvP5ANH A06E80jZoIpWHPiAUoiM9NPaa5EMc8mShhli4btWI/GMYEzTt91MStXqc/PYBxA9yRO6 8lEKkMKT+pLVYExmAs1z1FdOlw6NLQqmH1rkCOfcjLXdnsi9/uJNndl07VwTKUZbmPaE A3RQ== X-Gm-Message-State: ACrzQf22z2B8rawD1tJZ3x2yMT8uMYqxSICxyREPGmxysNuz4Ffy9A6u 0/3mRH48jKb7Sme3C4+KbYXN2vTiQAbj4OcXs65ROoHhXmpoa8JkqXFJ+YaCk1+BS3hbLvjnlv/ Oz2WsU4zaN+lmsjO/iiSNsPE= X-Received: by 2002:a05:6402:50d4:b0:461:e349:56b2 with SMTP id h20-20020a05640250d400b00461e34956b2mr56682800edb.17.1667911068416; 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.8 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=unavailable 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