[Pkg-fglrx-devel] Bug#816026: [fglrx-source] Fails to build against linux 4.3
Dererk
dererk at debian.org
Fri Feb 26 21:08:37 UTC 2016
On 26/02/16 17:32, Andreas Beckmann wrote:
> Control: tag -1 unreproducible moreinfo
> Control: found -1 1:15.12-2~bpo8+1
>
> On Fri, 26 Feb 2016 15:55:16 -0300 Dererk <dererk at debian.org> wrote:
>> It appears that while working at 3.16 kernel from Jessie, the latest
>> fglrx source (1:15.12) is not building against the 4.3 backported kernel
>> (nor anything newer than 4.2x).
> Hi,
>
> I cannot reproduce your problem. The module builds fine for all amd64
> kernels from (old-(old-))stable over testing to sid including backports.
> That is from 2.6.x in squeeze up to 4.4 in sid (with exclusion of the
> grsec patch kernel). 4.5 is broken on the kernel side.
>
> There is no i387.h in the kernel headers, but fglrx also doesn't attempt
> to load that header:
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0)
> #include "asm/i387.h"
> #else
> #include <asm/fpu/api.h>
> #endif
>
>
> Andreas
I wonder then what should be the problem, since I'm not getting it:
root at host:~# m-a a-i -t fglrx
.
Updated infos about 1 packages
Getting source for kernel version: 4.3.0-0.bpo.1-amd64
Kernel headers available in /lib/modules/4.3.0-0.bpo.1-amd64/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Done!
unpack
Removing old /usr/src/modules/fglrx/ tree
Extracting the package tarball, /usr/src/fglrx.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=4.3.0-0.bpo.1-amd64
KSRC=/lib/modules/4.3.0-0.bpo.1-amd64/build KDREV=4.3.3-7~bpo8+1 kdist_image
/usr/bin/make -f debian/rules clean
make[1]: Entering directory '/usr/src/modules/fglrx'
test -f debian/control || cp debian/control.template debian/control
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean debian/control debian/install
make[1]: Leaving directory '/usr/src/modules/fglrx'
/usr/bin/make -f debian/rules binary_modules
make[1]: Entering directory '/usr/src/modules/fglrx'
sed -e 's/#KVERS#/4.3.0-0.bpo.1-amd64/g' \
-e 's/#VERSION#/1:15.12-2~bpo8+1/g' debian/control.template >
debian/control
sed 's/#KVERS#/4.3.0-0.bpo.1-amd64/g' debian/install.template >
debian/install
touch configure-stamp
dh_testdir
dh_prep
/usr/bin/make -C /lib/modules/4.3.0-0.bpo.1-amd64/build
SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory '/usr/src/linux-headers-4.3.0-0.bpo.1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /usr/src/modules/fglrx/firegl_public.o
/usr/src/modules/fglrx/firegl_public.c:195:22: fatal error: asm/i387.h:
No such file or directory
#include "asm/i387.h"
^
compilation terminated.
/usr/src/linux-headers-4.3.0-0.bpo.1-common/scripts/Makefile.build:263:
recipe for target '/usr/src/modules/fglrx/firegl_public.o' failed
make[5]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
/usr/src/linux-headers-4.3.0-0.bpo.1-common/Makefile:1395: recipe for
target '_module_/usr/src/modules/fglrx' failed
make[4]: *** [_module_/usr/src/modules/fglrx] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.3.0-0.bpo.1-amd64'
debian/rules:53: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/usr/src/modules/fglrx'
debian/rules:109: recipe for target 'kdist_image' failed
make: *** [kdist_image] Error 2
BUILD FAILED!
See
/var/cache/modass/fglrx-source.buildlog.4.3.0-0.bpo.1-amd64.1456520632
for details.
Build failed. Press Return to continue...
root at host:/usr/src/fglrx-15.201.1701# apt-cache policy fglrx-source
fglrx-source:
Installed: 1:15.12-2~bpo8+1
Candidate: 1:15.12-2~bpo8+1
Version table:
*** 1:15.12-2~bpo8+1 0
100 http://http.debian.net/debian/ jessie-backports/non-free
amd64 Packages
100 /var/lib/dpkg/status
1:15.9-4~deb8u1 0
500 http://http.debian.net/debian/ jessie/non-free amd64 Packages
root at host:/usr/src/fglrx-15.201.1701# grep -rC3 "asm/i387.h"
firegl_public.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)
firegl_public.c-#include <asm/fpu/api.h>
firegl_public.c-#else
firegl_public.c:#include "asm/i387.h"
firegl_public.c-#endif
firegl_public.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
firegl_public.c-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0)
Any ideas?
--
BOFH excuse #449:
greenpeace free'd the mallocs
More information about the Pkg-fglrx-devel
mailing list