From: Jonny Grant <jg@jguk.org>
To: GCC <gcc@gcc.gnu.org>
Subject: host-x86_64-pc-linux-gnu/gcc/xgcc: No such file or directory
Date: Wed, 29 Nov 2023 12:59:29 +0000 [thread overview]
Message-ID: <9eed991c-7def-440a-bb3b-96ea4f26a19e@jguk.org> (raw)
Hello
Has anyone encountered this when compiling gcc from source? libgomp doesn't build due to xgcc missing
I got latest git, did
./configure --disable-multilib
make html
It gets stuck here:
checking whether make supports nested variables... yes
/home/jonny/code/repos/gcc_tests/gcc_doc/libgomp/configure: line 3520: /home/jonny/code/repos/gcc_tests/gcc_doc/host-x86_64-pc-linux-gnu/gcc/xgcc: No such file or directory
checking for x86_64-pc-linux-gnu-gcc... /home/jonny/code/repos/gcc_tests/gcc_doc/host-x86_64-pc-linux-gnu/gcc/xgcc -B/home/jonny/code/repos/gcc_tests/gcc_doc/host-x86_64-pc-linux-gnu/gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include
checking whether the C compiler works... no
configure: error: in `/home/jonny/code/repos/gcc_tests/gcc_doc/x86_64-pc-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[1]: *** [Makefile:23679: configure-target-libgomp] Error 1
make[1]: Leaving directory '/home/jonny/code/repos/gcc_tests/gcc_doc'
make: *** [Makefile:1456: do-html] Error 2
I tried with:
./configure --disable-multilib --disable-libgomp
but it just stops at the next
checking for x86_64-pc-linux-gnu-gcc... /home/jonny/code/repos/gcc_tests/gcc_doc/host-x86_64-pc-linux-gnu/gcc/xgcc -B/home/jonny/code/repos/gcc_tests/gcc_doc/host-x86_64-pc-linux-gnu/gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/home/jonny/code/repos/gcc_tests/gcc_doc/x86_64-pc-linux-gnu/libstdc++-v3':
configure: error: cannot compute suffix of object files: cannot compile
ee `config.log' for more details
make[1]: *** [Makefile:17042: configure-target-libstdc++-v3] Error 1
Thanks, Jonny
next reply other threads:[~2023-11-29 12:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 12:59 Jonny Grant [this message]
2023-11-29 13:05 ` Jonathan Wakely
2023-11-29 14:44 ` Jonny Grant
2023-11-29 15:55 ` Jonathan Wakely
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=9eed991c-7def-440a-bb3b-96ea4f26a19e@jguk.org \
--to=jg@jguk.org \
--cc=gcc@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).