V4L2: __ucmpdi2 undefined on ppc

From: Meelis Roos
Date: Wed Dec 13 2006 - 07:53:08 EST


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).

--
Meelis Roos (mroos@xxxxxxxx)
-
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/