All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] modem-manager: build issue
Date: Wed, 18 Apr 2018 15:51:21 +0200	[thread overview]
Message-ID: <20180418155121.74e1b18d@windsurf.numericable.fr> (raw)
In-Reply-To: <CAGm1_ktbDjGYpyZKe0=0QiU=n3MDiShO2GWAYBL16zi0BS_P3A@mail.gmail.com>

Hello,

On Wed, 18 Apr 2018 15:36:44 +0200, Yegor Yefremov wrote:

> > On Wed, 18 Apr 2018 14:32:06 +0200, Yegor Yefremov wrote:  
> >> Current mm 1.6.12 produces following errors both when compiling an ARM
> >> or MIPS target:
> >>
> >>   CC       ModemManager-mm-base-modem.o
> >> mm-base-manager.c: In function ?handle_set_logging?:
> >> mm-base-manager.c:680:15: error: assignment from incompatible pointer
> >> type [-Werror=incompatible-pointer-types]
> >>      ctx->self = g_object_ref (manager);
> >>                ^
> >> mm-base-manager.c: In function ?handle_scan_devices?:
> >> mm-base-manager.c:736:15: error: assignment from incompatible pointer
> >> type [-Werror=incompatible-pointer-types]
> >>      ctx->self = g_object_ref (manager);
> >>                ^
> >> mm-device.c: In function ?mm_device_get_plugin?:
> >> mm-device.c:628:12: error: return from incompatible pointer type
> >> [-Werror=incompatible-pointer-types]
> >>      return (self->priv->plugin ?
> >>
> >> So far I've seen only one build failure in our autobuilders [0]. I can
> >> reproduce this error building mm 1.6.12 locally with my host GCC. But
> >> the master branch of mm compiles without any issue. We don't seem to
> >> be the only ones who is affected [1], [2].
> >>
> >> Any ideas?  
> >
> > Yes:
> > https://git.buildroot.org/buildroot/commit/?id=f9b6ec3b59746f3eddd387772ad60aa6bc52aa60  
> 
> I already have this commit and I've used various GCC versions > 4.7
> i.e. 5.x and 7.x

Then I don't know. I assume reverting the commit doesn't change
anything (it shouldn't) ? If it doesn't, then investigation needed, I
don't have an immediate answer, sorry :-/

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-04-18 13:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 12:32 [Buildroot] modem-manager: build issue Yegor Yefremov
2018-04-18 13:30 ` Thomas Petazzoni
2018-04-18 13:36   ` Yegor Yefremov
2018-04-18 13:51     ` Thomas Petazzoni [this message]
2018-04-18 14:33 ` Carlos Santos
2018-04-20  3:23   ` Carlos Santos
2018-04-20  6:38     ` Thomas Petazzoni
2018-04-20  7:28       ` Yegor Yefremov
2018-05-21 11:45         ` [Buildroot] [PATCH] modem-manager: remove -Werror from CFLAGS Carlos Santos
2018-05-21 15:54           ` Peter Korsgaard
2018-05-21 21:13             ` Carlos Santos
2018-05-21 21:34               ` Peter Korsgaard
2018-05-21 21:17         ` [Buildroot] [PATCH v2] " Carlos Santos

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=20180418155121.74e1b18d@windsurf.numericable.fr \
    --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 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.