public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Matthew Stock <stock@csgeeks.org>
To: Andreas Schwab <schwab@suse.de>
Cc: binutils@sourceware.org
Subject: Re: Issue with cross compile and --64
Date: Tue, 21 Mar 2023 15:32:42 -0400	[thread overview]
Message-ID: <CAJEih4-2WvTOZ7FKEpnerohb3C3SFGJDByYVcCLNcLay4uO80Q@mail.gmail.com> (raw)
In-Reply-To: <mvm8rfqxhjx.fsf@suse.de>

On Tue, Mar 21, 2023 at 11:14 AM Andreas Schwab <schwab@suse.de> wrote:
>
> This is supposed to be using the system assembler, since this compiles a
> build tool.  Did you perhaps modify $PATH to include
> /home/mstock/cross/bexkat1-elf/bin?  You should not do that.

Thanks Andreas and Jan for your suggestions.  I made sure that it
isn't in my path, and still get the same error when running configure
and make from a clean build directory.  Not sure why the system g++ is
deciding that it should use the cross as.  I'm using this as my
configure line:

../../gcc/configure --target=bexkat1-elf --disable-nls
--enable-languages=c,c++ --without-headers --disable-libssp
--prefix=/home/mstock/cross

In any event, since this appears to be a gcc behavior I'll take it
offline and continue to narrow it down.  I've never seen this behavior
before, but it might be a gcc bug with the main branch.  I'll start
there.

Thanks again for the pointers.

Matt

      reply	other threads:[~2023-03-21 19:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 14:55 Matthew Stock
2023-03-21 15:06 ` Jan Beulich
2023-03-21 15:14 ` Andreas Schwab
2023-03-21 19:32   ` Matthew Stock [this message]

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=CAJEih4-2WvTOZ7FKEpnerohb3C3SFGJDByYVcCLNcLay4uO80Q@mail.gmail.com \
    --to=stock@csgeeks.org \
    --cc=binutils@sourceware.org \
    --cc=schwab@suse.de \
    /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).