The following message is displayed and fails to compile kernel on Gentoo/FBSD. # make linking kernel.debug hack.So: could not read symbols: File in wrong format *** Error code 1 Stop in /usr/src/sys-8.0-r0/amd64/compile/GENERIC. Reproducible: Always Steps to Reproduce: 1. emerge freebsd-sources 2. cd /usr/src/sys/amd64/conf && config GENERIC 3. cd ../compile/GENERIC && make cleandepend && make depend && make
Created attachment 269945 [details] files/freebsd-sources-8.0-linkfix.patch
Created attachment 269947 [details, diff] patch for freebsd-sources-8.0.ebuild
is this still an issue with 8.2 ?
(In reply to comment #3) > is this still an issue with 8.2 ? Yes. 8.2 similarly has this problem. I think that this problem is solved since version 9.0. aballier, Thank you very much for your hard work. a lot of my bugs were closed by you. :)
Created attachment 292393 [details, diff] AMD64 linkfix for 8.2 kernel source Based on freebsd-sources-8.0-linkfix.patch
Tested on my lenovo and works fine. I think, it is ready to merge to portage tree.
this is fixed in 9.0, please use this release instead