Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578930 - Restrict x11-drivers/nvidia-drivers-361.28-r2 to build with GCC < sys-devel/gcc-5.*
Summary: Restrict x11-drivers/nvidia-drivers-361.28-r2 to build with GCC < sys-devel/g...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-03 14:43 UTC by Tiger
Modified: 2016-04-08 21:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.