Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Lance Fredrickson <lancethepants@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/musl-fts: always build static library
Date: Mon, 29 Aug 2022 17:17:36 +0200	[thread overview]
Message-ID: <20220829151736.GG2569@scaer> (raw)
In-Reply-To: <a5b2e1bc-4e5a-1135-d837-a6d66c10f3c5@gmail.com>

Lance, All,

On 2022-08-29 08:52 -0600, Lance Fredrickson spake thusly:
> On 8/27/2022 7:38 AM, Yann E. MORIN spake thusly:
> >On 2022-08-24 14:26 -0600, lancethepants spake thusly:
> >>musl-fts provides features left out of musl that are included in other libc's.
> >>This patch always enables building the static library so
> >>that it is always present with musl's libc.a when enabled.
[--SNIP--]
> "what makes musl-fts different from other libraries....?"
> Well it is a library that has libc functionality. I can compile a glibc or
> uclibc toolchain and fts is included. Buildroot's musl toolchain includes
> musl-compat-headers to complete some of it's functionality, and musl-fts
> would be the same. For that reason I see it as a core toolchain component
> and not as something additional as an sdk. I do know that the musl
> developers are very intentional on what is included and on correctness, and
> fts didn't make the cut in their estimation. If fts were to be included as
> part of the musl toolchain in buildroot I now understand that solution would
> look different from my submission.

There would still be a difference anyway. With glibc, fts is built-in to
the C library, while with musl and uclibc, and thus with musl-fts, they
are in a separate library, so your packages still need to know the
difference as they would need to explicitly link to that library.

> Thanks for your response, you've given me some good workable solutions and
> I'll run with one of those.

Great! :-)  I've thus marked your patch as rejected in Patchwork.

Thanks for the feedback.

Regards,
Yann E. MORIN.

> >>Signed-off-by: Lance Fredrickson <lancethepants@gmail.com>
> >>Signed-off-by: lancethepants <lancethepants@gmail.com>
> Oopsie on my part. I manually added the first line but then I didn't catch
> that...
> git format-patch -M -n -s -o outgoing origin/master
> adds one as well using my git config.
> >That second SoB line is incorrect, as it has no real-name part; it is
> >also superfluous, because it is the same email part.
> >
> >Regards,
> >Yann E. MORIN.
> >
> >>---
> >>  package/musl-fts/musl-fts.mk | 1 +
> >>  1 file changed, 1 insertion(+)
> >>
> >>diff --git a/package/musl-fts/musl-fts.mk b/package/musl-fts/musl-fts.mk
> >>index dd7f1f9ea0..fcad9c3d75 100644
> >>--- a/package/musl-fts/musl-fts.mk
> >>+++ b/package/musl-fts/musl-fts.mk
> >>@@ -12,5 +12,6 @@ MUSL_FTS_LICENSE_FILES = COPYING
> >>  # pkg-config needed for autoreconf
> >>  MUSL_FTS_DEPENDENCIES = host-pkgconf
> >>  MUSL_FTS_INSTALL_STAGING = YES
> >>+MUSL_FTS_CONF_OPTS += --enable-static
> >>  $(eval $(autotools-package))
> >>-- 
> >>2.20.1
> >>
> >>_______________________________________________
> >>buildroot mailing list
> >>buildroot@buildroot.org
> >>https://lists.buildroot.org/mailman/listinfo/buildroot
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  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-29 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24 20:26 [Buildroot] [PATCH 1/1] package/musl-fts: always build static library lancethepants
2022-08-27 13:38 ` Yann E. MORIN
2022-08-29 14:52   ` Lance Fredrickson
2022-08-29 15:17     ` Yann E. MORIN [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=20220829151736.GG2569@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=lancethepants@gmail.com \
    --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