rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
To: Sumera Priyadarsini <sylphrenadin@gmail.com>
Cc: rust-for-linux@vger.kernel.org
Subject: Re: Build system can't detect rustc
Date: Wed, 17 Mar 2021 16:55:32 +0100	[thread overview]
Message-ID: <CANiq72n0anrr7E_2D7nTt4PxQQPn0KxT86y5dS3AE47su0Ff7Q@mail.gmail.com> (raw)
In-Reply-To: <CACAkLuqMrRAE6d8dP_b9khtO3HY4mnEGP_Z+1HhzRYDMOaaN+Q@mail.gmail.com>

On Tue, Mar 16, 2021 at 3:10 PM Sumera Priyadarsini
<sylphrenadin@gmail.com> wrote:
>
> ```
> error: unknown argument: '-mindirect-branch=thunk-extern', err: true
> error: unknown argument: '-mindirect-branch-register', err: true
> error: unsupported option '-mrecord-mcount' for target
> 'x86_64-pc-linux-gnu', err: true
> thread 'main' panicked at 'Unable to generate bindings: ()'
> ```

Reproduced with defconfig, building with GCC. I'm sending the fix.

Thanks for the report!

Cheers,
Miguel

  parent reply	other threads:[~2021-03-17 15:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15  6:30 Build system can't detect rustc Sumera Priyadarsini
2021-03-15  7:27 ` Geert Stappers
2021-03-15 12:45 ` Miguel Ojeda
2021-03-16 14:10   ` Sumera Priyadarsini
2021-03-16 15:09     ` Miguel Ojeda
2021-03-16 17:00       ` Kaviraj Kanagaraj
2021-03-16 17:31         ` Miguel Ojeda
2021-03-17 10:32       ` Sumera Priyadarsini
2021-03-17 13:40         ` Miguel Ojeda
2021-03-17 18:04           ` Sumera Priyadarsini
2021-03-17 15:55     ` Miguel Ojeda [this message]
2021-03-17 22:49       ` Miguel Ojeda

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=CANiq72n0anrr7E_2D7nTt4PxQQPn0KxT86y5dS3AE47su0Ff7Q@mail.gmail.com \
    --to=miguel.ojeda.sandonis@gmail.com \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=sylphrenadin@gmail.com \
    /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 NNTP newsgroup(s).