public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem cross-compiling gcc
@ 2023-02-12 17:51 Christer Solskogen
  2023-02-12 19:24 ` Jonathan Wakely
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Christer Solskogen @ 2023-02-12 17:51 UTC (permalink / raw)
  To: gcc-help

While cross compiling gcc with musl I see this:

checking for exported symbols... /home/solskogen/gcc/libcc1/configure: 
line 15053: -T: command not found
yes
checking for -rdynamic... /home/solskogen/gcc/libcc1/configure: line 
15063: -T: command not found
no
checking for library containing dlopen... none required
checking for -fPIC -shared... yes
configure: error:
    Building GCC with plugin support requires a host that supports
    -fPIC, -shared, -ldl and -rdynamic.
make[1]: *** [Makefile:11890: configure-libcc1] Error 1

This is the configure line: /home/solskogen/gcc/configure --prefix=/usr 
--libexecdir=/lib --host=aarch64-centrix-linux-musl 
--target=aarch64-centrix-linux-musl --build=x86_64-pc-linux-gnu 
--enable-languages=c,c++ --disable-multilib --enable-checking=release 
--disable-nls --with-gcc-major-version-only --enable-plugin 
--disable-libstdcxx-pch --enable-default-pie --enable-default-ssp 
--disable-libsanitizer --enable-host-shared

I can't figure out that it doesn't find. But a google search suggests 
objdump.

gcc is at version 12.2.0. Worth submitting a bug report?





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-13 10:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-12 17:51 Problem cross-compiling gcc Christer Solskogen
2023-02-12 19:24 ` Jonathan Wakely
2023-02-13  7:19   ` Christer Solskogen
2023-02-13  8:37   ` Christer Solskogen
2023-02-12 20:01 ` Kai Ruottu
2023-02-13  7:23   ` Christer Solskogen
2023-02-13 10:30     ` Kai Ruottu
2023-02-13  8:16 ` Segher Boessenkool
2023-02-13  8:35   ` Christer Solskogen
2023-02-13  8:47     ` Segher Boessenkool

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).