* [Buildroot] Make 4.3 and printvars [not found] <e123582d-c613-f81a-ac0d-b23bc4d3e74a@cartal.fr> @ 2022-06-03 14:05 ` Arnout Vandecappelle 2022-06-03 14:25 ` Giulio Benetti ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Arnout Vandecappelle @ 2022-06-03 14:05 UTC (permalink / raw) To: Buildroot Mailing List; +Cc: Jean-Pierre Cartal Sending this in name of Jean-Pierre, who is not on the list. > Hello, > > A quick mail to let you know that I also faced the make 4.3 printvars issue you mentioned in Buildroot mailing list. > > On my side increasing the stack size limit as follow: > > ulimit -s 16000 > > solved this issue. > > Regards. I tested it myself and indeed, it works! It would be great if someone could hack this into the Makefile itself (so that it recurses if ulimit -s is not high enough) and revert 25cec5ea733251. Regards, Arnout _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] Make 4.3 and printvars 2022-06-03 14:05 ` [Buildroot] Make 4.3 and printvars Arnout Vandecappelle @ 2022-06-03 14:25 ` Giulio Benetti 2022-06-03 14:29 ` Giulio Benetti 2022-06-03 14:43 ` Thomas Petazzoni via buildroot 2022-06-04 8:19 ` Yann E. MORIN 2 siblings, 1 reply; 6+ messages in thread From: Giulio Benetti @ 2022-06-03 14:25 UTC (permalink / raw) To: Arnout Vandecappelle, Buildroot Mailing List; +Cc: Jean-Pierre Cartal Hi Arnout, On 03/06/22 16:05, Arnout Vandecappelle wrote: > Sending this in name of Jean-Pierre, who is not on the list. > >> Hello, >> >> A quick mail to let you know that I also faced the make 4.3 printvars >> issue you mentioned in Buildroot mailing list. >> >> On my side increasing the stack size limit as follow: >> >> ulimit -s 16000 >> >> solved this issue. >> >> Regards. > > > I tested it myself and indeed, it works! I confirm, it works! > It would be great if someone could hack this into the Makefile itself > (so that it recurses if ulimit -s is not high enough) and revert > 25cec5ea733251. I'm trying to build libnss that is impacted by that problem too and see if it builds correctly. I let you know all. Best regards -- Giulio Benetti CTO/CEO@Benetti Engineering sas > Regards, > Arnout > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] Make 4.3 and printvars 2022-06-03 14:25 ` Giulio Benetti @ 2022-06-03 14:29 ` Giulio Benetti 0 siblings, 0 replies; 6+ messages in thread From: Giulio Benetti @ 2022-06-03 14:29 UTC (permalink / raw) To: Arnout Vandecappelle, Buildroot Mailing List; +Cc: Jean-Pierre Cartal On 03/06/22 16:25, Giulio Benetti wrote: > Hi Arnout, > > On 03/06/22 16:05, Arnout Vandecappelle wrote: >> Sending this in name of Jean-Pierre, who is not on the list. >> >>> Hello, >>> >>> A quick mail to let you know that I also faced the make 4.3 printvars >>> issue you mentioned in Buildroot mailing list. >>> >>> On my side increasing the stack size limit as follow: >>> >>> ulimit -s 16000 >>> >>> solved this issue. >>> >>> Regards. >> >> >> I tested it myself and indeed, it works! > > I confirm, it works! > >> It would be great if someone could hack this into the Makefile >> itself (so that it recurses if ulimit -s is not high enough) and >> revert 25cec5ea733251. > > I'm trying to build libnss that is impacted by that problem too and see > if it builds correctly. I let you know all. And yes, this work-around is great because also libnss build correctly so we can have it back building in parallel. Wouldn't be enough to increase the stack size to 16000 when Make 4.3 is used? Best regards -- Giulio Benetti CTO/CEO@Benetti Engineering sas _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] Make 4.3 and printvars 2022-06-03 14:05 ` [Buildroot] Make 4.3 and printvars Arnout Vandecappelle 2022-06-03 14:25 ` Giulio Benetti @ 2022-06-03 14:43 ` Thomas Petazzoni via buildroot 2022-06-04 8:19 ` Yann E. MORIN 2 siblings, 0 replies; 6+ messages in thread From: Thomas Petazzoni via buildroot @ 2022-06-03 14:43 UTC (permalink / raw) To: Arnout Vandecappelle; +Cc: Jean-Pierre Cartal, Buildroot Mailing List Hello, On Fri, 3 Jun 2022 16:05:18 +0200 Arnout Vandecappelle <arnout@mind.be> wrote: > I tested it myself and indeed, it works! > > It would be great if someone could hack this into the Makefile itself (so that > it recurses if ulimit -s is not high enough) and revert 25cec5ea733251. FYI, the make 4.3 bug is resolved upstream: https://git.savannah.gnu.org/cgit/make.git/commit/?id=e49e11e069fe7f214263be1782242b9b50f71eaa I have asked upstream to issue a new release: https://savannah.gnu.org/bugs/?59093 but not feedback so far. So this workaround of "ulimit -s <highvalue>" should only be needed for make 4.3. Later versions are supposed to be fixed. Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] Make 4.3 and printvars 2022-06-03 14:05 ` [Buildroot] Make 4.3 and printvars Arnout Vandecappelle 2022-06-03 14:25 ` Giulio Benetti 2022-06-03 14:43 ` Thomas Petazzoni via buildroot @ 2022-06-04 8:19 ` Yann E. MORIN 2022-06-04 18:50 ` Giulio Benetti 2 siblings, 1 reply; 6+ messages in thread From: Yann E. MORIN @ 2022-06-04 8:19 UTC (permalink / raw) To: Arnout Vandecappelle; +Cc: Jean-Pierre Cartal, Buildroot Mailing List All, On 2022-06-03 16:05 +0200, Arnout Vandecappelle spake thusly: > Sending this in name of Jean-Pierre, who is not on the list. > >A quick mail to let you know that I also faced the make 4.3 printvars issue you mentioned in Buildroot mailing list. > >On my side increasing the stack size limit as follow: > >ulimit -s 16000 > >solved this issue. > I tested it myself and indeed, it works! Unfortunately, it does not: $ make defconfig $ make allyespackageconfig $ ulimit -s 8192 $ make show-vars >/dev/null Segmentation fault (core dumped) $ ulimit -s 16000 $ ulimit -s 16000 $ make show-vars >/dev/null [...] Segmentation fault (core dumped) I guess it works by chance on "small-enough" configurations, but this is still not guaranteed that it works all the times. I'd rather have no workaround, than one that is half-functional. Yes, the above *is* extreme, and a completely degenerate case, yet it means the issue it still present for "big-enough" configurations (I haven't tried to find how many packages must be enabled before we reach the tripping point, but that's not the point). 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] Make 4.3 and printvars 2022-06-04 8:19 ` Yann E. MORIN @ 2022-06-04 18:50 ` Giulio Benetti 0 siblings, 0 replies; 6+ messages in thread From: Giulio Benetti @ 2022-06-04 18:50 UTC (permalink / raw) To: Yann E. MORIN, Arnout Vandecappelle Cc: Jean-Pierre Cartal, Buildroot Mailing List Hi Yann, On 04/06/22 10:19, Yann E. MORIN wrote: > All, > > On 2022-06-03 16:05 +0200, Arnout Vandecappelle spake thusly: >> Sending this in name of Jean-Pierre, who is not on the list. >>> A quick mail to let you know that I also faced the make 4.3 printvars issue you mentioned in Buildroot mailing list. >>> On my side increasing the stack size limit as follow: >>> ulimit -s 16000 >>> solved this issue. >> I tested it myself and indeed, it works! > > Unfortunately, it does not: > > $ make defconfig > $ make allyespackageconfig > > $ ulimit -s > 8192 > $ make show-vars >/dev/null > Segmentation fault (core dumped) > > $ ulimit -s 16000 > $ ulimit -s > 16000 > $ make show-vars >/dev/null > [...] > Segmentation fault (core dumped) > > I guess it works by chance on "small-enough" configurations, but this is > still not guaranteed that it works all the times. this is reason why it worked on my up-to-date Ubuntu-22.04 while only building libnss. -- Giulio Benetti CTO/CEO@Benetti Engineering sas > I'd rather have no workaround, than one that is half-functional. > > Yes, the above *is* extreme, and a completely degenerate case, yet it > means the issue it still present for "big-enough" configurations (I > haven't tried to find how many packages must be enabled before we reach > the tripping point, but that's not the point). > > Regards, > Yann E. MORIN. > _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-06-04 18:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <e123582d-c613-f81a-ac0d-b23bc4d3e74a@cartal.fr>
2022-06-03 14:05 ` [Buildroot] Make 4.3 and printvars Arnout Vandecappelle
2022-06-03 14:25 ` Giulio Benetti
2022-06-03 14:29 ` Giulio Benetti
2022-06-03 14:43 ` Thomas Petazzoni via buildroot
2022-06-04 8:19 ` Yann E. MORIN
2022-06-04 18:50 ` Giulio Benetti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox