Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 578930

Summary: Restrict x11-drivers/nvidia-drivers-361.28-r2 to build with GCC < sys-devel/gcc-5.*
Product: Gentoo Linux Reporter: Tiger <gothiger>
Component: [OLD] LibraryAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tiger 2016-04-03 14:43:12 UTC
Error from compilation :

[...]
In file included from include/linux/compiler.h:54:0,
                 from include/uapi/linux/stddef.h:1,
                 from include/linux/stddef.h:4,
                 from /usr/src/linux-3.11.7-gentoo/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/linux/list.h:4,
                 from include/linux/module.h:9,
                 from /var/tmp/portage/x11-drivers/nvidia-drivers-361.28-r2/work/kernel/nvidia-modeset/nvidia-modeset-linux.c:11:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.

I got sys-devel/gcc-5.3.0 here on ~amd64

Compiles fine with older gcc-4.9.3.