From: Wojciech Puchar <wojtek@puchar.net>
To: gcc-help@gcc.gnu.org
Subject: problems building mipsel-none-elf gcc libgcc
Date: Tue, 7 Jul 2020 13:20:08 +0200 (CEST) [thread overview]
Message-ID: <alpine.BSF.2.20.2007071317290.96224@puchar.net> (raw)
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
reply other threads:[~2020-07-07 11:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.BSF.2.20.2007071317290.96224@puchar.net \
--to=wojtek@puchar.net \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).