Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Sebastian Weyer <sebastian.weyer@smile.fr>
Cc: antoine.coutant@smile.fr, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 1/2] package/uutils-coreutils: new package
Date: Sat, 30 Sep 2023 21:59:40 +0200	[thread overview]
Message-ID: <20230930215940.7644e93c@windsurf> (raw)
In-Reply-To: <20230317151802.1242858-1-sebastian.weyer@smile.fr>

On Fri, 17 Mar 2023 16:18:00 +0100
Sebastian Weyer <sebastian.weyer@smile.fr> wrote:

> This package is an implementation of coreutils written completely in rust.

Thanks for this patch. Unfortunately, it doesn't build. Tested on ARM,
it fails with:

The following warnings were emitted during compilation:

warning: arm-linux-g++.br_real: error: unrecognized command-line option ‘-m64’

error: failed to run custom build command for `uu_stdbuf_libstdbuf v0.0.21 (/home/thomas/projets/buildroot/output/build/uutils-coreutils-0.0.21/src/uu/stdbuf/src/libstdbuf)`

Caused by:
  process didn't exit successfully: `/home/thomas/projets/buildroot/output/build/uutils-coreutils-0.0.21/target/release/build/uu_stdbuf_libstdbuf-a77654d14689edab/build-script-build` (exit status: 1)

So, some C++ code gets built with ARM cross-compiler, but with a -m64
option that doesn't make sense on ARM.

Note: it failed with 0.0.17 which was used in your patch, so I updated
to 0.0.21 (as you can see in the log above), but it fails in a similar
way.

Also, your patch will have to be updated for 0.0.21, and I think your 2
patches can be combined into one by changing:

install: build manpages completions

to just:

install:

Could you have a look, and send an updated patch?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2023-09-30 19:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17 15:18 [Buildroot] [PATCH v3 1/2] package/uutils-coreutils: new package Sebastian Weyer
2023-03-17 15:18 ` [Buildroot] [PATCH v3 2/2] package/uutils-coreutils: remove creation of autocompletions Sebastian Weyer
2023-09-30 19:59 ` Thomas Petazzoni via buildroot [this message]
2025-04-02 17:09 ` [Buildroot] [v3,1/2] package/uutils-coreutils: new package Alexander Shirokov

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=20230930215940.7644e93c@windsurf \
    --to=buildroot@buildroot.org \
    --cc=antoine.coutant@smile.fr \
    --cc=sebastian.weyer@smile.fr \
    --cc=thomas.petazzoni@bootlin.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