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

Bug 475158

Summary: 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'
Product: Gentoo Hosted Projects Reporter: Raymond Jennings <shentino>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED OBSOLETE    
Severity: normal CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472470    
Attachments: Genkernel build log
kernel configuration
fixed kernel configuration

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