* [Buildroot] [PATCH] package/libglib2: disable compiler warnings
@ 2019-04-23 13:01 Jugurtha BELKALEM
2019-04-23 14:23 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Jugurtha BELKALEM @ 2019-04-23 13:01 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
---
package/libglib2/libglib2.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index 63bfec3..5fd0544 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -91,6 +91,7 @@ LIBGLIB2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
endif
HOST_LIBGLIB2_CONF_OPTS = \
+ --disable-compile-warnings \
--disable-coverage \
--disable-dtrace \
--disable-fam \
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/libglib2: disable compiler warnings
2019-04-23 13:01 [Buildroot] [PATCH] package/libglib2: disable compiler warnings Jugurtha BELKALEM
@ 2019-04-23 14:23 ` Thomas Petazzoni
2019-04-23 14:45 ` Jugurtha BELKALEM
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-23 14:23 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 23 Apr 2019 15:01:05 +0200
Jugurtha BELKALEM <jugurtha.belkalem@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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/libglib2: disable compiler warnings
2019-04-23 14:23 ` Thomas Petazzoni
@ 2019-04-23 14:45 ` Jugurtha BELKALEM
2019-04-23 14:51 ` Vadym Kochan
0 siblings, 1 reply; 5+ messages in thread
From: Jugurtha BELKALEM @ 2019-04-23 14:45 UTC (permalink / raw)
To: buildroot
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
A complete log errors is available here :
https://gitlab.com/jugurthaB/buildroot/-/jobs/200780681.
After disabling the warnings; most architectures passes the test with
success as shown at :
https://gitlab.com/jugurthaB/buildroot/pipelines/57964815
Thank's.
On Tue, Apr 23, 2019 at 4:23 PM Thomas Petazzoni <
thomas.petazzoni@bootlin.com> wrote:
> Hello,
>
> On Tue, 23 Apr 2019 15:01:05 +0200
> Jugurtha BELKALEM <jugurtha.belkalem@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
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190423/03eab468/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/libglib2: disable compiler warnings
2019-04-23 14:45 ` Jugurtha BELKALEM
@ 2019-04-23 14:51 ` Vadym Kochan
2019-05-05 22:08 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Vadym Kochan @ 2019-04-23 14:51 UTC (permalink / raw)
To: buildroot
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 :
> https://gitlab.com/jugurthaB/buildroot/-/jobs/200780681.
>
>
> After disabling the warnings; most architectures passes the test with
> success as shown at :
> https://gitlab.com/jugurthaB/buildroot/pipelines/57964815
>
> Thank's.
>
> 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@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
[SNIP]
Regards,
Vadim Kochan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/libglib2: disable compiler warnings
2019-04-23 14:51 ` Vadym Kochan
@ 2019-05-05 22:08 ` Arnout Vandecappelle
0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2019-05-05 22:08 UTC (permalink / raw)
To: buildroot
Hi Jugurtha,
On 23/04/2019 16:51, Vadym Kochan wrote:
> 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 ?
Since you didn't come back to this issue, I assumed it was resolved in the end
in some other way, so I've marked the patch as Rejected in patchwork.
If it still is relevant, please repost it with an updated explanation.
Regards,
Arnout
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-05-05 22:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-23 13:01 [Buildroot] [PATCH] package/libglib2: disable compiler warnings Jugurtha BELKALEM
2019-04-23 14:23 ` Thomas Petazzoni
2019-04-23 14:45 ` Jugurtha BELKALEM
2019-04-23 14:51 ` Vadym Kochan
2019-05-05 22:08 ` Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.