Re: V4L2: __ucmpdi2 undefined on ppc

From: PaweÅ Sikora
Date: Wed Dec 13 2006 - 08:21:39 EST


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 use it for switch statements on 64-bit values.

drivers/media/video/v4l2-common.c::v4l2_norm_to_name seems to be one such switch statement - type of id is v4l2_std_id which is 64-bit.

Should ppc have __ucmpdi2 defined in arch-specific lib? Some other architectures seem to implement it (arm, arm26, frv, h8300).

maybe it's new gcc bug.

[ already fixed ]
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21237
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25724

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/