Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] package/libnss: use correct CFLAGS and LDFLAGS
Date: Thu, 1 Aug 2019 11:46:34 +0200	[thread overview]
Message-ID: <20190801114634.193eca45@windsurf.home> (raw)
In-Reply-To: <93e84376-9b70-a3d4-422a-ceb3eadc71a6@micronovasrl.com>

On Thu, 1 Aug 2019 11:12:09 +0200
Giulio Benetti <giulio.benetti@micronovasrl.com> wrote:

> > So the proper fix is not to change the libnss
> > code, and your patches are most likely going to be rejected upstream
> > (with good reason).  
> 
> ...they have all been upstreamed:
> https://hg.mozilla.org/projects/nss/log?rev=Giulio+Benetti
> 
> They all have been discussed here:
> https://bugzilla.mozilla.org/buglist.cgi?emailcc1=1&list_id=14831966&emaillongdesc1=1&emailtype1=exact&emailassigned_to1=1&short_desc_type=allwordssubstr&email1=giulio.benetti%40micronovasrl.com&emailbug_mentor1=1&emailreporter1=1&short_desc=Remove%20-Wmaybe-uninitialized%20warning&resolution=FIXED&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&query_format=advanced&emailqa_contact1=1&product=NSS
> 
> The first and more ambiguos warning was this:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1561548
> It sent me nut, not gcc :)
> But in the end it was correct.

I checked 3 of these (not all), and the three I checked were bogus, the
variable was definitely initialized.

> I'd say to keep as it is for the moment and when NSS_3_46 will be 
> released(soon) it will contain all patches we will remove 
> NSS_ENABLE_WERROR=0.
> 
> What do you think?

We generally disable Werror anyway in many packages, it's pretty common
practice. It's common for new compiler versions to raise new warnings.
Werror makes sense for upstream developers, a bit less so for
downstream distributions/build-systems.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-08-01  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 14:26 [Buildroot] [PATCH v3] package/libnss: use correct CFLAGS and LDFLAGS Giulio Benetti
2019-07-31 22:52 ` Thomas Petazzoni
2019-08-01  9:12   ` Giulio Benetti
2019-08-01  9:46     ` Thomas Petazzoni [this message]
2019-08-01 10:04       ` Giulio Benetti
2019-08-20 14:35 ` 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=20190801114634.193eca45@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --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