[libvirt] build issue due to '-Werror=cast-align' on ARM (armhf) [was: Re: [Xen-devel] [libvirt test] 63528: regressions - FAIL]

Ian Campbell ian.campbell at citrix.com
Tue Nov 24 14:52:34 UTC 2015


Hi Maxim,

On Fri, 2015-11-13 at 20:26 -0700, Jim Fehlig wrote:
> On 11/13/2015 10:00 AM, Dario Faggioli wrote:
> > Hello,
> > 
> > The Xen Project's automated test suite is failing at running its
> > libvirt tests for a few time, like this:
> > 
> > On Wed, 2015-11-04 at 09:04 +0000, osstest service owner wrote:
> > > flight 63528 libvirt real [real]
> > > http://logs.test-lab.xenproject.org/osstest/logs/63528/
> > > 
> > > Regressions :-(
> > > 
> > > Tests which did not succeed and are blocking,
> > > including tests which could not be run:
> > >  build-armhf-libvirt           5 libvirt-build             fail REGR.
> > > vs. 63340
> > > 
> > More specifically (from a more recent run):
> > 
> >   CC     util/libvirt_util_la-virnetdevmacvlan.lo
> > util/virnetdev.c: In function 'virNetDevParseDadStatus':
> > util/virnetdev.c:1319:188: error: cast increases required alignment of target type [-Werror=cast-align]
> > util/virnetdev.c:1332:41: error: cast increases required alignment of target type [-Werror=cast-align]
> > util/virnetdev.c:1334:92: error: cast increases required alignment of target type [-Werror=cast-align]
> > cc1: all warnings being treated as errors
> > make[3]: *** [util/libvirt_util_la-virnetdev.lo] Error 1
> > make[3]: *** Waiting for unfinished jobs....
> > make[3]: Leaving directory `/home/osstest/build.64130.build-armhf-libvirt/libvirt/src'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/osstest/build.64130.build-armhf-libvirt/libvirt/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/osstest/build.64130.build-armhf-libvirt/libvirt'
> > make: *** [all] Error 2


According to http://logs.test-lab.xenproject.org/osstest/logs/65035/build-a
rmhf-libvirt/info.html this build failure is still occurring with the same
trace.

Is there a fix in the works?

Ian.

> 
> Yep, noticed this several days ago but haven't yet found time to
> investigate.
> 
> > The changeset being tested last, as of now, and still failing, is:
> > db92aee2b477355759351889e37a365379b43bf6
> 
> I did notice the bisector ran and flagged commit 0f7436ca
> 
> http://lists.xenproject.org/archives/html/xen-devel/2015-10/msg03385.html
> 
> I've cc'd author of that commit.
> 
> Regards,
> Jim
> 
> > 
> > Full logs available at the following links:
> > http://logs.test-lab.xenproject.org/osstest/logs/64130/build-armhf-libv
> > irt/info.html
> > http://logs.test-lab.xenproject.org/osstest/logs/64130/build-armhf-libv
> > irt/5.ts-libvirt-build.log
> > 
> > Right now, I don't have an ARM cross build environment handy to try to
> > reproduce and attempt a fix, so I figured I at least was reporting it
> > here.
> > 
> > Regards,
> > Dario
> 




More information about the libvir-list mailing list