Skip to contentSkip to conversation

New: nouveau drm doesn't build

Bug 20547 [email protected] 1 participant 4 messages Mar 9, 2009 – Aug 9, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=20547

Summary: nouveau drm doesn't build
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: dliana-/1bC63wxbnDD0D/[email protected]
QAContact: [email protected]

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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-20547-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 20547] nouveau drm doesn't build

http://bugs.freedesktop.org/show_bug.cgi?id=20547

David <dliana-/1bC63wxbnDD0D/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         OS/Version|All                         |Linux (All)
           Platform|Other                       |PowerPC
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 20547] nouveau drm doesn't build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=20547

--- Comment #1 from Andrey Gusev <[email protected]> 2009-04-18 14:44:49 PST --- Created an attachment (id=24923)
--> (http://bugs.freedesktop.org/attachment.cgi?id=24923)
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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 20547] nouveau drm doesn't build

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=20547

Pekka Paalanen <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Pekka Paalanen <[email protected]> 2009-08-09 09:44:50 PST --- 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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.