From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id B09833943540 for ; Fri, 25 Sep 2020 13:12:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B09833943540 Received: by mail-lj1-x22e.google.com with SMTP id k25so2468553ljk.0 for ; Fri, 25 Sep 2020 06:12:41 -0700 (PDT) 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=K42BGb9b6GGoY0AFxpVnQAHgu3foFVokafAh9Tubl1w=; b=f2v+p+zkQ97jrs1xVxofI5vVewjbEq2PEfrvLDUKIvXabEtdcwi9R7i33WD9iI6ZSn vyUu/QUqx31cLaDYejcVz+hERFRKJlO9b9Tb8zMgCx6cdMx4m/zafaCTUBoIZ4RXFg1M W866COsZQZVLAFjmNAdJGzc1DLzHe5zqM82qRttvD3jRBsko1CEboS8j0PgpZoN9LA8i PpDUF1dI/39E+uKFICqxrYUPjSTq8b+VmBJAnLx/GhFYxs/3iVaKw8VwDiQoFmCRex5v PvoOaPAh8M0qUjd2xEP/u6dKMNm93/S4V5objN5fG5TnTlMOloEmxm/h6jYK8xVuewQ2 X3Dw== X-Gm-Message-State: AOAM530Drllw8xDROg2QzqGgfymr244ktz/gaiv3rfh3qa+j1Z8pDnDY qIhfpsigRC6n59Ds+v7tT222ezOunIx1hobKzQUZB+61pWQeWg== X-Google-Smtp-Source: ABdhPJybF+0J/xYffUljFvMQc15NF06X0CmMFyF2NllgVkt1BhpZXsAzWtF5RJQf1fDEAJ0FN0D6zPhK7a9Sua5+VpI= X-Received: by 2002:a2e:b543:: with SMTP id a3mr1400123ljn.19.1601039559445; Fri, 25 Sep 2020 06:12:39 -0700 (PDT) MIME-Version: 1.0 From: William Gregorio Date: Fri, 25 Sep 2020 21:12:27 +0800 Message-ID: Subject: GCC cross-compiler errors To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, 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: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2020 13:12:43 -0000 Hi, I'm trying to build a gcc cross-compiler from source, and whenever I invoke make it results in an error. I'd appreciate any help! Feel free to request any more details needed. Ubuntu 18.04.3 LTS gcc-7.5.0 autoconf-2.69 ./configure options --target=arm-none-eabi --prefix=/usr/bin/crossbuild --without-headers --enable-multilib --with-multilib=armv7e-m --with-gnu-as --with-gnu-ld --with-dwarf2 --with-newlib --with-system-zlib --without-libffi --disable-decimal-float --disable-nls --enable-languages="c,c++" --enable-interwork --disable-libstdcxx-pch --with-newlib make all configure: WARNING: No native atomic operations are provided for this platform. configure: WARNING: They cannot be faked when thread support is disabled. configure: WARNING: Thread-safety of certain classes is not guaranteed. . . . configure: WARNING: stdbool.h: present but cannot be compiled configure: WARNING: stdbool.h: check for missing prerequisite headers? configure: WARNING: stdbool.h: see the Autoconf documentation configure: WARNING: stdbool.h: section "Present But Cannot Be Compiled" configure: WARNING: stdbool.h: proceeding with the compiler's result checking for stdbool.h... no checking stdalign.h usability... no checking stdalign.h presence... yes configure: WARNING: stdalign.h: present but cannot be compiled configure: WARNING: stdalign.h: check for missing prerequisite headers? configure: WARNING: stdalign.h: see the Autoconf documentation configure: WARNING: stdalign.h: section "Present But Cannot Be Compiled" configure: WARNING: stdalign.h: proceeding with the compiler's result checking for stdalign.h... no checking for the value of EOF... configure: error: computing EOF failed Makefile:10307: recipe for target 'configure-target-libstdc++-v3' failed make[1]: *** [configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory '/home/metaw1ll/crossbuild/tivac/gcc' Makefile:889: recipe for target 'all' failed make: *** [all] Error 2