From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] [PATCH v2 2/2] support/kconfig: Bump to kconfig from Linux 4.17-rc2
Date: Fri, 3 Aug 2018 18:24:02 +0200 [thread overview]
Message-ID: <20180803162402.GB2598@scaer> (raw)
In-Reply-To: <20180802171043.GA2598@scaer>
Arnout, Thomas, All,
On 2018-08-02 19:10 +0200, Yann E. MORIN spake thusly:
> On 2018-08-02 13:02 +0200, Arnout Vandecappelle spake thusly:
> > On 01-08-18 21:42, Yann E. MORIN wrote:
[--SNIP--]
> > My statement was (and still is): drop host-flex and host-bison for building
> > host tools, but keep them for building target binaries (in casu, dtc).
>
> I agree that we do have a chicken-n-egg problem for our own kconfig.
> Which we can easily solve by bundling the generated kconfig lexer and
> parser sources [*], as we do today, even if the kernel does not.
>
> [*] as long as we identify the versions of flex+bison that were used
> to generate said code.
>
> > Thomas (if I understand correctly) is questioning the need for keeping
> > host-flex and host-bison even for building the target binaries. And I have to
> > agree that the need for host-flex and host-bison for target binaries is not that
> > strong.
>
> See my reply, below...
>
> > > So, I'd say we should keep the dependency on host-flex and host-bison
> > > for the linux kernel...
> >
> > I would really prefer to not double the build time of a simple kernel...
>
> But that ship has long sailed...
However...
It just occured to me that we are here speakign about a host tool that
is not installed in host/ but stays in the package's build directory.
And for those, we indeed do not care much, and do not really require our
own version of host-{flex,bison}. For those, we can rely on the flex and
bison from the host.
However, I still believe that packages we install in host/ (and would
thus be in the sdk) should use our own host-{flex,bison}.
Regards,
Yann E. MORIN.
> And I do prefer reproducibility and correctness over speed or convenience.
>
> But since we do have an option for reproducibility, those dependencies
> an be conditional for those speed- or reproducibility-afficionados.
>
> Regards,
> Yann E. MORIN.
>
> > Regards,
> > Arnout
> >
> > >
> > > Regards,
> > > Yann E. MORIN.
> > >
> > >>> Or do you assume that because kconfig is so widely used, it is tested
> > >>> against lots of bison/flex version, so we don't need to build
> > >>> bison/flex for kconfig, but we should still build it for other packages
> > >>> that need bison/flex, as those ones may be less tested against random
> > >>> versions of flex/bison ? Or because the generated flex/bison code goes
> > >>> into the target, and we ideally want binary-identical results for a
> > >>> given Buildroot configuration ?
> > >>
> > >> It's not just for fully binary identical (i.e. BR2_REPRODUCIBLE).
> > >>
> > >> It's basically for the same reason that we have versioned docker images, to
> > >> make sure that we really know what we're building for the target.
> > >>
> > >>
> > >> I realize now that this rule is not something we've written down anywhere. I
> > >> just always assumed that Buildroot tries to make sure that for a given config,
> > >> whatever your build machine, you generate binaries that will behave the same and
> > >> will expose the same bugs. If you use a different flex, a bug in the parsing
> > >> code will manifest differently.
> > >>
> > >> The more I think about it, the more I come to the conclusion that maybe this
> > >> rule (which I thought was something that I learned from the Buildroot community,
> > >> not something I invented myself) is not so useful. Because in practice, the kind
> > >> of bugs where this is relevant are so sensitive to even tiny changes that
> > >> changing the generated code is not going to make all that much of a difference.
> > >>
> > >> Regards,
> > >> Arnout
> > >>
> > >>>
> > >>> Best regards,
> > >>>
> > >>> Thomas
> > >>>
> > >>
> > >> --
> > >> Arnout Vandecappelle arnout at mind be
> > >> Senior Embedded Software Architect +32-16-286500
> > >> Essensium/Mind http://www.mind.be
> > >> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> > >> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> > >> GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
> > >
> >
> > --
> > Arnout Vandecappelle arnout at mind be
> > Senior Embedded Software Architect +32-16-286500
> > Essensium/Mind http://www.mind.be
> > G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
> > LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> > GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2018-08-03 16:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 16:44 [Buildroot] [PATCH v2 1/2] support/kconfig: Add missing target to README.buildroot Petr Vorel
2018-05-09 16:44 ` [Buildroot] [RFC] [PATCH v2 2/2] support/kconfig: Bump to kconfig from Linux 4.17-rc2 Petr Vorel
2018-05-19 21:03 ` Thomas Petazzoni
2018-05-20 5:05 ` Petr Vorel
2018-05-20 14:23 ` Yann E. MORIN
2018-05-20 14:31 ` Petr Vorel
2018-05-20 14:41 ` Yann E. MORIN
2018-05-20 14:50 ` Thomas Petazzoni
2018-05-22 21:22 ` Arnout Vandecappelle
2018-05-28 20:37 ` Yann E. MORIN
2018-05-29 10:44 ` Arnout Vandecappelle
2018-05-29 17:04 ` Yann E. MORIN
2018-07-30 13:04 ` Thomas Petazzoni
2018-07-31 7:55 ` Arnout Vandecappelle
2018-07-31 8:06 ` Thomas Petazzoni
2018-07-31 8:20 ` Arnout Vandecappelle
2018-08-01 19:42 ` Yann E. MORIN
2018-08-01 20:20 ` Yann E. MORIN
2018-08-02 11:02 ` Arnout Vandecappelle
2018-08-02 17:10 ` Yann E. MORIN
2018-08-03 16:24 ` Yann E. MORIN [this message]
2018-05-09 16:46 ` [Buildroot] [PATCH v2 1/2] support/kconfig: Add missing target to README.buildroot Petr Vorel
2018-05-13 20:09 ` Thomas Petazzoni
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=20180803162402.GB2598@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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