I'm using Gentoo, nouveau overlay. Kernel is 2.6.29-rc7-git1. The Gentoo ebuild pulls x11-drm source from git. I'm on powerpc. I get this error: CC [M] /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/nouveau_state.o /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/nouveau_state.c: In function 'nouveau_load': /var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/nouveau_state.c:499: error: implicit declaration of function '___swab32' make[2]: *** [/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core/nouveau_state.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-base/x11-drm-99999999/work/drm/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.29-rc7-git1' make: *** [modules] Error 2 If I change "___swab32" to "__fswab32" this compiles, as per #nouveau on irc.
Created attachment 24923 [details] [review] Change ___swab32 to __swab32 and fix build on powerpc I had same problem on powerpc(Debian) with kernel 2.6.29.1. I made as David did and it build.
The swab32 function is not used anymore/currently in the nouveau DRM. Closing as fixed. If there are build problems with the Nouveau kernel tree, file a new bug, please.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.