From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from puchar.net (puchar.net [194.1.144.90]) by sourceware.org (Postfix) with ESMTPS id 1FBFA3857C53 for ; Tue, 7 Jul 2020 11:20:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1FBFA3857C53 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=puchar.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=wojtek@puchar.net Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 067BK88B000531 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 7 Jul 2020 13:20:08 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1594120808; bh=esMIn0kA8pJG000NdFrXLDpA45TMU4kzCcjUwYIQzRo=; h=Date:From:To:Subject; b=Bh5YCEOsivwBd5963rLsftbuamFIWD6W4I15UA2nra16IPFN0Yuv8WW/nZr+95AbX oong9f1Dg3LXrXY770jBngYhyA2GxRfOlZuhIhP270Yuhn9TOP8cRYZfSgN8CT5aoO NRkyfs9GZfFZZCnq684G6AatFEIiyqLi5v0CjXhI= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 067BK8o9000528 for ; Tue, 7 Jul 2020 13:20:08 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 7 Jul 2020 13:20:08 +0200 (CEST) From: Wojciech Puchar To: gcc-help@gcc.gnu.org Subject: problems building mipsel-none-elf gcc libgcc Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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; format=flowed; charset=ISO-8859-2 Content-Transfer-Encoding: 8BIT 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: Tue, 07 Jul 2020 11:20:11 -0000 for a microcontroller. configured with ../../orig/gcc-9.3.0/configure --target=$TARGET --prefix=$PREFIX --with-gmp=$TMPB --with-mpfr=$TMPB --with-mpc=$TMPB --disable-werror --disable-nls --with-dwarf2 --without-newlib --disable-threads --disable-libssp --disable-libgomp --disable-libmudflap --without-interwork --enable-languages="c" gmake all-gcc and install-gcc works fine gmake all-target-libgcc doesn't work after some work it exits with error: Checking multilib configuration for libgcc... gmake[1]: Wejście do katalogu '/root/NOBACKUP/gcc/build/gcc/mipsel-none-elf/libgcc' # If this is the top-level multilib, build all the other # multilibs. Mode = sf\|df Suffix = si\|2\|3 /root/NOBACKUP/gcc/build/gcc/./gcc/xgcc -B/root/NOBACKUP/gcc/build/gcc/./gcc/ -B/usr/local/mipsel-gcc/mipsel-none-elf/bin/ -B/usr/local/mipsel-gcc/mipsel-none-elf/lib/ -isystem /usr/local/mipsel-gcc/mipsel-none-elf/include -isystem /usr/local/mipsel-gcc/mipsel-none-elf/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -G 0 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -G 0 -I. -I. -I../.././gcc -I../../../../orig/gcc-9.3.0/libgcc -I../../../../orig/gcc-9.3.0/libgcc/. -I../../../../orig/gcc-9.3.0/libgcc/../gcc -I../../../../orig/gcc-9.3.0/libgcc/../include -DHAVE_CC_TLS -o addsf3.o -MT addsf3.o -MD -MP -MF addsf3.dep addsf3 -c ../../../../orig/gcc-9.3.0/libgcc/config/hardfp.c -fvisibility=hidden -DHIDE_EXPORTS -Wno-missing-prototypes xgcc: error: addsf3: No such file or directory gmake[1]: *** [../../../../orig/gcc-9.3.0/libgcc/config/t-hardfp:82: addsf3.o] Błąd 1 gmake[1]: Opuszczenie katalogu '/root/NOBACKUP/gcc/build/gcc/mipsel-none-elf/libgcc' gmake: *** [Makefile:11568: all-target-libgcc] Błąd 2 how to fix it. i can write a working program for a microcontroler with this gcc but until i will not do something more complex that needs libgcc please help