http://bugs.freedesktop.org/show_bug.cgi?id=10547
Summary: nouveau: __ucmpdi2 unresolved on ppc32
Product: DRI
Version: DRI CVS
Platform: PowerPC
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM modules
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
I am submitting this bug for another user (voodoochild142 on #nouveau), I do
not have ppc32 hardware myself.
It seems some versions of GCC generate calls to __ucmpdi2 for 64-bit
comparisons, especially for switch-statements. There are two old GCC bugs [1,2]
about it and it might be fixed somewhere, but voodoochild142 still hit it on
Gentoo today, using the nouveau overlay ebuild x11-drm for installing DRM
modules from git tree.
__ucmpdi2 is implemented in libgcc, and there are patches around to take it
from there [3]. Another suggested way is to implement it in assembly [4]. These
are kernel-wide options.
In the mean time, V4L2 also hit this problem and solved it with a hack [5].
voodoochild142 is using a not-the-latest kernel, 2.6.19-gentoo-r5, but as far
as I can see, there is no ppc32 implementation for __ucmpdi2 in 2.6.20. I do
not know about the bugfix versions 2.6.20.x or .21-rc. Note, that this bug is
GCC-version specific, more info in the links below.
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21237
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25724
[3] http://marc.info/?l=linux-kernel&m=116612657105264&w=2
[4] http://marc.info/?l=linux-kernel&m=116636223214963&w=2
[5] http://marc.info/?l=linux-kernel&m=116888864416842&w=2
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel