Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-17 Thread David Woodhouse
On Thu, 2006-12-14 at 14:58 -0500, Kyle McMartin wrote: > I posted a patch to Paul this week to fix this, Hm, I didn't see it on linuxppc-dev. > Since ppc32 can't do a 64bit comparison on its own it seems, gcc > will generate a call to a helper function from libgcc. What other > arches do is lin

Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-16 Thread Mauro Carvalho Chehab
> I posted a patch to Paul this week to fix this, as saw we saw it on > Ubuntu's powerpc kernel builds. > > Since ppc32 can't do a 64bit comparison on its own it seems, gcc > will generate a call to a helper function from libgcc. What other > arches do is link libgcc.a into libs-y, and export the

Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-14 Thread Kyle McMartin
On Wed, Dec 13, 2006 at 09:41:56PM -0200, Mauro Carvalho Chehab wrote: > Argh! if this is caused by switch / ifs, compilation will fail on other > places. > I posted a patch to Paul this week to fix this, as saw we saw it on Ubuntu's powerpc kernel builds. Since ppc32 can't do a 64bit comparison

Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-13 Thread Mauro Carvalho Chehab
Em Qua, 2006-12-13 às 14:11 +0200, Meelis Roos escreveu: > MODPOST 618 modules > WARNING: "__ucmpdi2" [drivers/media/video/v4l2-common.ko] undefined! > > This 32-bit ppc architecture, using gcc version 4.1.2 20061115 > (prerelease) (Debian 4.1.1-21). .config below if important. Hmm... does it w

Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-13 Thread Paweł Sikora
Meelis Roos napisał(a): MODPOST 618 modules WARNING: "__ucmpdi2" [drivers/media/video/v4l2-common.ko] undefined! This 32-bit ppc architecture, using gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). .config below if important. __ucmpdi2 seems to be 64-bit comparision. gcc seems to

V4L2: __ucmpdi2 undefined on ppc

2006-12-13 Thread Meelis Roos
MODPOST 618 modules WARNING: "__ucmpdi2" [drivers/media/video/v4l2-common.ko] undefined! This 32-bit ppc architecture, using gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). .config below if important. __ucmpdi2 seems to be 64-bit comparision. gcc seems to use it for switch statemen