public inbox for
 help / color / mirror / Atom feed
From: Gary Oblock <>
To: Gary Oblock via Gcc-help <>
Subject: Configure error question
Date: Mon, 11 Jul 2022 19:11:21 +0000	[thread overview]
Message-ID: <> (raw)

I got the following configure error:

checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

My configure is thus:

../sources/configure \
--prefix=$BASE/install \
--exec_prefix=$BASE/install \
--with-local-prefix=$BASE/borrowed/arm-zephyr-eabi/arm-zephyr-eabi \
--with-headers=$BASE/borrowed/arm-zephyr-eabi/arm-zephyr-eabi/include \
--disable-bootstrap --enable-language=c,lto \
--disable-multilib --target=arm-zephyr-eabi \
--disable-shared --enable-__cxa_atexit \
--disable-tm-clone-registry --disable-libgomp \
--disable-libmudflap --disable-libmpx --disable-libssp \
--disable-libquadmath --disable-libquadmath-support \
--enable-lto --with-host-libstdcxx='-static-libgcc \
-Wl,-Bstatic,-lstdc++,-Bdynamic -lm' \
--enable-target-optspace --disable-nls --enable-multiarch \
--with-multilib-list=rmprofile --enable-languages=c,c++
--with-gnu-ld --with-gnu-as --enable-initfini-array

This is building a cross compiler with GCC 12.1.0 sources
and borrowing the binary tools from the existing
an existing SDK (Zephyr.) Note, I copy the binary tools
into my install directory to mirror what a build of binutils
would do. The configuration flags are, to a large extent,
from the original SDK's GCC 10 compiler.

Note, I realize this approach is a bit crazy, but this is as
close to getting anything to work as I've gotten and not
having a deep understanding of how configure and the
GCC build process works I see no remaining things to
try if it fails.



CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Ampere Computing or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. Any unauthorized review, copying, or distribution of this email (or any attachments thereto) is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.

                 reply	other threads:[~2022-07-11 19:11 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

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