Hello I have a compilation error for drm-intel linux from today (12-Nov-2016) referring to undeclared variable - see output below: CC [M] net/ipv6/xfrm6_tunnel.o * CC [M] drivers/gpu/drm/i915/intel_display.o * CC [M] drivers/hwmon/lm75.o * CC [M] drivers/gpu/drm/i915/intel_dpio_phy.o * CC [M] drivers/hwmon/lm77.o *drivers/gpu/drm/i915/intel_display.c:14712:20: error: ‘intel_crtc_set_crc_source’ undeclared here (not in a function) * .set_crc_source = intel_crtc_set_crc_source, * ^ * CC [M] net/ipv6/tunnel6.o *scripts/Makefile.build:290: recipe for target 'drivers/gpu/drm/i915/intel_display.o' failed *make[4]: *** [drivers/gpu/drm/i915/intel_display.o] Error 1 *make[4]: *** Waiting for unfinished jobs.... * CC [M] drivers/hwmon/lm78.o * CC [M] net/irda/iriap.o *scripts/Makefile.build:475: recipe for target 'drivers/gpu/drm/i915' failed *make[3]: *** [drivers/gpu/drm/i915] Error 2 *scripts/Makefile.build:475: recipe for target 'drivers/gpu/drm' failed *make[2]: *** [drivers/gpu/drm] Error 2 *scripts/Makefile.build:475: recipe for target 'drivers/gpu' failed *make[1]: *** [drivers/gpu] Error 2 *-- * CC [M] net/ipv6/netfilter/ip6t_frag.o * CC [M] net/irda/discovery.o * CC [M] net/ipv6/netfilter/ip6t_ipv6header.o * CC [M] net/ipv6/netfilter/ip6t_mh.o * CC [M] net/irda/parameters.o *Makefile:983: recipe for target 'drivers' failed *make: *** [drivers] Error 2 *-- * Running with options: --menuconfig all * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * * ERROR: Failed to compile the "modules" target... * * -- End log... -- * * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! *
(In reply to Adam Jirasek from comment #0) > I have a compilation error for drm-intel linux from today (12-Nov-2016) > referring to undeclared variable - see output below: "drm-intel linux from today (12-Nov-2016)" does not accurately specify what you're actually trying to build. We need the *upstream* git repo, branch, commit that fails. We also need the kernel config you're trying to build. > *drivers/gpu/drm/i915/intel_display.c:14712:20: error: > ‘intel_crtc_set_crc_source’ undeclared here (not in a function) > * .set_crc_source = intel_crtc_set_crc_source, > * ^ I've seen a patch adding this, but this has not been merged upstream. We do not have this line in upstream source.
Created attachment 127971 [details] kernel config file
(In reply to Jani Nikula from comment #1) > (In reply to Adam Jirasek from comment #0) > > I have a compilation error for drm-intel linux from today (12-Nov-2016) > > referring to undeclared variable - see output below: > > "drm-intel linux from today (12-Nov-2016)" does not accurately specify what > you're actually trying to build. We need the *upstream* git repo, branch, > commit that fails. > > We also need the kernel config you're trying to build. > > > *drivers/gpu/drm/i915/intel_display.c:14712:20: error: > > ‘intel_crtc_set_crc_source’ undeclared here (not in a function) > > * .set_crc_source = intel_crtc_set_crc_source, > > * ^ > > I've seen a patch adding this, but this has not been merged upstream. We do > not have this line in upstream source. Here is the info: repo: git://anongit.freedesktop.org/drm-intel branch : drm-intel-nightly commit: 1af808dba57ca773d463026a2e8a9296cb0db42a kernel x86_64-4.9.0-rc4 kernel config file should be in next post
Again, current drm-intel-nightly does not have this.
(In reply to Jani Nikula from comment #4) > Again, current drm-intel-nightly does not have this. I'm using drm-intel-nightly only, updated today, the last commit is 7d920f01ab1c5b838011d553f5ac8f656061cacc and the compilation error is still there
fatal: bad object 7d920f01ab1c5b838011d553f5ac8f656061cacc $ git grep intel_crtc_set_crc_source =1 Whatever you think you are compiling it is not drm-intel.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.