Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475158 - sys-kernel/genkernel with sys-kernel/gentoo-sources-3.9.8 - drivers/built-in.o: In function `vb2_fop_mmap': (.text+0xd1ccd): undefined reference to `video_devdata'
Summary: sys-kernel/genkernel with sys-kernel/gentoo-sources-3.9.8 - drivers/built-in....
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
Depends on:
Blocks: 472470
  Show dependency tree
Reported: 2013-06-28 23:01 UTC by Raymond Jennings
Modified: 2015-08-20 03:05 UTC (History)
1 user (show)

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

Genkernel build log (genkernel.log,84.68 KB, text/plain)
2013-06-28 23:02 UTC, Raymond Jennings
kernel configuration (config,106.73 KB, text/plain)
2013-06-28 23:03 UTC, Raymond Jennings
fixed kernel configuration (goodconfig,105.68 KB, text/plain)
2013-06-28 23:35 UTC, Raymond Jennings

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2013-06-28 23:01:50 UTC
I tried to compile a kernel with genkernel, and turned on usb video support.

The link stage choked on undefined references, and my hunches tell me it's due to a missed dependency somewhere in the kernel configuration.

Reproducible: Always

Steps to Reproduce:
1.  use supplied configuration
2.  compile the kernel with it

Actual Results:  
link failure

Expected Results:  
a successful kernel build

This appears to be a regression, since I've had this enabled before without trouble.  May want to give upstream's stable team a poke in the process.
Comment 1 Raymond Jennings 2013-06-28 23:02:55 UTC
Created attachment 352196 [details]
Genkernel build log
Comment 2 Raymond Jennings 2013-06-28 23:03:31 UTC
Created attachment 352198 [details]
kernel configuration
Comment 3 Raymond Jennings 2013-06-28 23:35:18 UTC
Created attachment 352200 [details]
fixed kernel configuration

Here's a manually patched kernel configuration that makes the problem go away.

Diffing the two should probably help finger which dependencies need added to the Kconfigs.
Comment 4 Raymond Jennings 2013-07-01 16:37:37 UTC
That's not the only one though.

Don't forget about the USB stuff.

I had some USB stuff set to Y, but one of the (U/O)HCI thingies to M
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2015-08-20 03:05:46 UTC
genkernel configs have been refreshed and no such issues currently appear to be present