[Buildroot] [PATCH] package/libglib2: disable compiler warnings
vadim4j at gmail.com
Tue Apr 23 14:51:15 UTC 2019
Hi Jugurtha, Thomas,
On Tue, Apr 23, 2019 at 04:45:34PM +0200, Jugurtha BELKALEM wrote:
> Hi Thomas,
> I'm currently integrating the Qemu test from toolchain builder (
> https://github.com/bootlin/toolchains-builder/blob/master/build.sh) into
> buildroot to check the consistency of the build and get some ensurance that
> Qemu build process went successful for the various Qemu architectures. This
> why I have enabled host-qemu. When compiling without using
> "--disable-compile-warnings"; I got this message :
> >>> host-libglib2 2.56.4 Patching libtool
> >>> host-libglib2 2.56.4 Building
> Failed build last output
> CC libgio_2_0_la-glistmodel.lo
> CC libgio_2_0_la-gliststore.lo
> CC libgio_2_0_la-gapplication.lo
> cc1: some warnings being treated as errors
> Makefile:3927: recipe for target 'libgio_2_0_la-gunixconnection.lo' failed
This is very similar error which was related to gettext-tiny libintl.h
header but issue was fixed already (may be about 1 month ago).
Could you please share the defconfig ?
> A complete log errors is available here :
> After disabling the warnings; most architectures passes the test with
> success as shown at :
> On Tue, Apr 23, 2019 at 4:23 PM Thomas Petazzoni <
> thomas.petazzoni at bootlin.com> wrote:
> > Hello,
> > On Tue, 23 Apr 2019 15:01:05 +0200
> > Jugurtha BELKALEM <jugurtha.belkalem at smile.fr> wrote:
> > > This flag is not set by default which yields in a
> > > compilation error when host-qemu package is enabled.
> > > The build fails at libglib2 package because -Werror
> > > is activated which stops the compilation process.
> > > Adding this flag corrects the issue.
> > Could you be more specific about the build failure you encounter ?
> > Also, what is the relationship with host-qemu ? host-libglib2 is build
> > as a dependency for tons of things, including libglib2 itself, i.e it
> > is built many times a day in our autobuilders. So what is different in
> > your situation that requires disabling compiler warnings ?
> > Thanks,
> > Thomas
More information about the buildroot