From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 6 Feb 2020 21:22:32 +0100 Subject: [Buildroot] Kconfig warnings with GCC9 In-Reply-To: References: <20200110215652.291df299@windsurf> <87a76ujsuv.fsf@dell.be.48ers.dk> Message-ID: <20200206212232.5262c903@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Markus, On Thu, 6 Feb 2020 10:30:28 -0800 Markus Mayer wrote: > > That's kernel 5.4. Kconfig itself complains about a few Kconfig values > > for my stock kernel (maybe because that's 5.3?), but the compiler is > > fine. So we should be good. > > Okay. I poked around some more. Turns out that kconfig on the Linux > side changed *a lot* between 4.17-rc2 and 5.5. Many files were > renamed. A good number of functions was rewritten (partially precisely > to avoid the format-overflow warnings). The easiest approach might > just be to take the Linux kconfig implementation as is and re-apply > the Buildroot customizations on top of the new implementation rather > than trying to merge in all the changes from Linux and risking > breakage by doing that incorrectly. This easiest approach is what we do every time we update the Kconfig code in Buildroot. > Is there an easy-ish way to see all the customizations that Buildroot > did to kconfig over the years (excluding code changes imported from > Linux during past kconfig upgrades)? See support/kconfig/patches/ and support/kconfig/README.buildroot. Looking forward to the bump of our Kconfig code base! Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com