Skip to contentSkip to conversation

Error building after merging upstream 3.7.7

DISCUSSION Aaron W. Hsu 3 participants 3 messages Feb 13, 2013 – Mar 6, 2013 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

I have managed to use bcache rather successfully for a while now, and I wanted to try getting the latest changes to the bcache branch into my kernel. At the same time, I wanted to merge in the latest linux stable changes.

I did a merge of linux-stable/linux-3.7.y into the HEAD of the bcache branch, which seems to have worked without issue, however, after I configured the kernel, attempting to build the kernel errors out with the following message:

LD init/built-in.o
kernel/built-in.o:(.data+0x8bc8): undefined reference to `bcache_subsys'

Is there something I have totally missed here?

Signature · 2 lines
Aaron W. Hsu | [email protected] | http://www.sacrideo.us
לֵ֤ב חֲכָמִים֙ בְּבֵ֣ית אֵ֔בֶל וְלֵ֥ב כְּסִילִ֖ים בְּבֵ֥ית שִׂמְחָֽה׃
#1 lore raw

I would *really* love to see a single .patch that can be applied to 3.7.x kernels. This would allow me to start producing some kernel RPMs for using bcache on EL6 systems.

I've tried producing something that works, but haven't had much success in patching bcache into the vanilla kernel. Having a single patch that can be easily refactored as newer 3.7.x releases are done would be heaven.

--
Steven Haigh

Email: [email protected]
Web: https://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

Quoted 15 lines · Aaron W. Hsu

I have managed to use bcache rather successfully for a while now, and I wanted to try getting the latest changes to the bcache branch into my kernel. At the same time, I wanted to merge in the latest linux stable changes.

I did a merge of linux-stable/linux-3.7.y into the HEAD of the bcache branch, which seems to have worked without issue, however, after I configured the kernel, attempting to build the kernel errors out with the following message:

LD init/built-in.o
kernel/built-in.o:(.data+0x8bc8): undefined reference to `bcache_subsys'

Is there something I have totally missed here?

#2 lore raw
Quoted 11 lines · Steven Haigh

I would *really* love to see a single .patch that can be applied to 3.7.x kernels. This would allow me to start producing some kernel RPMs for using bcache on EL6 systems.

I've tried producing something that works, but haven't had much success in patching bcache into the vanilla kernel. Having a single patch that can be easily refactored as newer 3.7.x releases are done would be heaven.

--
Steven Haigh

I'm using bcache on the 3.7.9 kernel. I documented how I made the patch on the Arch Wiki:
https://wiki.archlinux.org/index.php/Bcache#Create_the_patch_file

--
Paul