From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF4203858432; Thu, 30 Dec 2021 18:08:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF4203858432 From: "pixel@nobis-crew.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES Date: Thu, 30 Dec 2021 18:08:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pixel@nobis-crew.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2021 18:08:13 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103866 Nicolas Noble changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pixel@nobis-crew.org --- Comment #6 from Nicolas Noble --- While a bit tangential from the narrow topic of this bug, it may be notewor= thy that I just tried using the --with-newlib kludge here, and compilation still fails, with something new: checking for the value of EOF... configure: error: computing EOF failed Checking the logs, this fails because it can't find stdio.h. Meaning the --with-newlib kludge isn't an actually valid method towards actual bare met= al, and needs something a bit more fleshed out? My compilation lines (from a clean ubuntu:latest docker image) apt update apt -y install wget build-essential libgmp-dev libmpfr-dev libmpc-dev wget https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.gz tar xvfz binutils-2.37.tar.gz cd binutils-2.37 ./configure --target=3Dmipsel-none-elf --disable-multilib --disable-nls --disable-werror make -j8 make install-strip cd .. wget https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.gz tar xvfz gcc-11.2.0.tar.gz cd gcc-11.2.0 mkdir build cd build ../configure --target=3Dmipsel-none-elf --without-isl --disable-nls --disable-threads --disable-shared --disable-libssp --disable-libstdcxx-pch --disable-libgomp --disable-werror --without-headers --with-as=3D/usr/local/bin/mipsel-none-elf-as --with-ld=3D/usr/local/bin/mipsel-none-elf-ld --enable-languages=3Dc,c++ --with-newlib --disable-hosted-libstdcxx --disable-bootstrap make all-gcc -j8 make install-strip-gcc make all-target-libgcc -j8 make install-strip-target-libgcc make all-target-libstdc++-v3=