All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Romain Naour <romain.naour@smile.fr>,
	buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCHv3] package/rustc: needs C++ compiler with musl based toolchain
Date: Tue, 30 Aug 2022 21:22:42 +0200	[thread overview]
Message-ID: <20220830192242.GD68979@scaer> (raw)
In-Reply-To: <CADvTj4pSAe_nAr993-GpCGUdsz2RcQa8n+ECme3tvhQwne6s5Q@mail.gmail.com>

James, All,

On 2022-07-28 15:07 -0600, James Hilliard spake thusly:
> On Wed, Jul 27, 2022 at 2:38 AM Romain Naour <romain.naour@smile.fr> wrote:
> > While building host-rust with a musl based toolchain without C++ compiler,
> > the build fail since libunwind bundled in rust sources needs a C++ compiler.
> >
> > cargo:warning=i686-buildroot-linux-musl-gcc.br_real: error: [...]/host-rust-1.62.0/src/llvm-project/libunwind/src/Unwind-EHABI.cpp: C++ compiler not installed on this system
> AFAIU rust should be able to use normal(ie non-llvm) libunwind which doesn't
> require C++:
> https://github.com/buildroot/buildroot/blob/master/package/libunwind/libunwind.mk

I've applied Romain's patch as a stop-gap measure, until someone comes
up with a better solution, like implementing your proposal of using an
unbundled libunwind.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-30 19:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  8:37 [Buildroot] [PATCHv3] package/rustc: needs C++ compiler with musl based toolchain Romain Naour
2022-07-28 14:51 ` Nicolas TRAN
2022-08-30 19:20   ` Yann E. MORIN
2022-07-28 21:07 ` James Hilliard
2022-08-30 19:22   ` Yann E. MORIN [this message]
2022-09-01 18:33     ` James Hilliard
2022-08-30 19:16 ` Yann E. MORIN
2022-09-18  6:48   ` Peter Korsgaard

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=20220830192242.GD68979@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=romain.naour@smile.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.