[Pkg-fglrx-devel] Bug#496318: Doesn't build against 2.6.27-rc3-686

Loïc Minier lool at dooz.org
Sun Aug 24 12:22:13 UTC 2008

Package: fglrx-driver
Version: 1:8-7-2
Severity: normal
Tags: patch


 Please find attached a patch to help the build of fglrx-driver against
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
/usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_flush_cache’:
/usr/src/modules/fglrx/firegl_public.c:3240: error: too many arguments to function ‘smp_call_function’

 However after the patch, linking fails with:
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pv_lock_ops'

 This is fixed upstream in:
commit 7946612de2087e163308e26034286fc2dc9dacf1
Author: Jeremy Fitzhardinge <jeremy at goop.org>
Date:   Wed Aug 20 11:31:07 2008 -0700

    x86: export pv_lock_ops non-GPL
    None of the spinlock API is exported GPL, so there's no reason for
    pv_lock_ops to be.
    Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge at citrix.com>
    Signed-off-by: Ingo Molnar <mingo at elte.hu>
    Cc: drago01 <drago01 at gmail.com>


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-driver depends on:
ii  fglrx-glx                     1:8-7-2    proprietary libGL for the non-free
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl1]      7.0.3-5    A free implementation of the OpenG
ii  libx11-6                      2:1.1.4-2  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxrandr2                    2:1.2.3-1  X11 RandR extension library
ii  libxrender1                   1:0.9.4-2  X Rendering Extension client libra
ii  xserver-xorg                  1:7.3+15   the X.Org X server

Versions of packages fglrx-driver recommends:
ii  fglrx-atieventsd        1:8-7-2          external events daemon for the non
ii  fglrx-glx               1:8-7-2          proprietary libGL for the non-free
ii  fglrx-kernel-2.6.26-1-6 1:8-7-2+2.6.26-2 ATI binary kernel module for Linux
ii  fglrx-source            1:8-7-2          kernel module source for the non-f

Versions of packages fglrx-driver suggests:
ii  fglrx-control                 1:8-7-2    control panel for the non-free AMD

-- no debconf information

Loïc Minier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20-fix_build_for_2.6.27.patch
Type: text/x-diff
Size: 1771 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20080824/de12e6f7/attachment.patch 

More information about the Pkg-fglrx-devel mailing list