FS#20884 - [kernel26] 2.6.35.4-2 Can't build fglrx module

Attached to Project: Arch Linux
Opened by Marek Niklicek (Dogmeat) - Saturday, 18 September 2010, 12:55 GMT
Last edited by Ionut Biru (wonder) - Saturday, 18 September 2010, 16:45 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Building of fglrx module (Catalyst) fails with patched x86_64 Linux kernel against the known exploit.

Additional info:
* package version(s)
* config and/or log files etc.

- stock kernel26 package (2.6.35.4-2) for x86_64

Steps to reproduce:

acerntb marek # catalyst_build_module
Building fglrx module for 2.6.35-ARCH kernel ...
+ echo 'Failed!!! Check out log: /var/log/catalyst-install.log'
Failed!!! Check out log: /var/log/catalyst-install.log



cat /var/log/catalyst-install.log

2010-09-18 14:50:47
Building fglrx module for 2.6.35-ARCH kernel ...
--------
+ cp /usr/share/ati/build_mod /tmp/catalyst.2c8tGk -R
+ cd /tmp/catalyst.2c8tGk
+ patch_files
+ file_patch=2.6.35.patch
+ [[ -f 2.6.35.patch ]]
++ pwd
+ make -C /lib/modules/2.6.35-ARCH/build SUBDIRS=/tmp/catalyst.2c8tGk ARCH=x86_64 modules
make: Entering directory `/usr/src/linux-2.6.35-ARCH'
CC [M] /tmp/catalyst.2c8tGk/firegl_public.o
CC [M] /tmp/catalyst.2c8tGk/kcl_acpi.o
CC [M] /tmp/catalyst.2c8tGk/kcl_agp.o
CC [M] /tmp/catalyst.2c8tGk/kcl_debug.o
CC [M] /tmp/catalyst.2c8tGk/kcl_ioctl.o
/tmp/catalyst.2c8tGk/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/tmp/catalyst.2c8tGk/kcl_ioctl.c:196:5: error: implicit declaration of function ‘compat_alloc_user_space’
/tmp/catalyst.2c8tGk/kcl_ioctl.c:196:5: warning: return makes pointer from integer without a cast
make[1]: *** [/tmp/catalyst.2c8tGk/kcl_ioctl.o] Error 1
make: *** [_module_/tmp/catalyst.2c8tGk] Error 2
make: Leaving directory `/usr/src/linux-2.6.35-ARCH'
+ return 1
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 18 September 2010, 16:45 GMT
Reason for closing:  Not a bug
Additional comments about closing:  fglrx issue
Comment by Marek Niklicek (Dogmeat) - Saturday, 18 September 2010, 16:34 GMT
With this patch http://aur.archlinux.org/packages/catalyst/catalyst/arch_compat.patch for Catalyst it works again. You can close the bug report, it's solved for now.

Loading...