Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363587 - link of kernels fails on Gentoo/FBSD (AMD64)
Summary: link of kernels fails on Gentoo/FBSD (AMD64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 363717
  Show dependency tree
 
Reported: 2011-04-14 12:44 UTC by Yuta SATOH
Modified: 2012-05-04 18:50 UTC (History)
1 user (show)

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


Attachments
files/freebsd-sources-8.0-linkfix.patch (freebsd-sources-8.0-linkfix.patch,7.91 KB, text/plain)
2011-04-14 12:48 UTC, Yuta SATOH
Details
patch for freebsd-sources-8.0.ebuild (freebsd-sources-8.0.ebuild.patch,507 bytes, patch)
2011-04-14 12:48 UTC, Yuta SATOH
Details | Diff
AMD64 linkfix for 8.2 kernel source (freebsd-sources-8.2-linkfix.patch,7.80 KB, patch)
2011-11-13 13:12 UTC, Tibor Vago
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-04-14 12:44:37 UTC
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
Comment 1 Yuta SATOH 2011-04-14 12:48:28 UTC
Created attachment 269945 [details]
files/freebsd-sources-8.0-linkfix.patch
Comment 2 Yuta SATOH 2011-04-14 12:48:50 UTC
Created attachment 269947 [details, diff]
patch for freebsd-sources-8.0.ebuild
Comment 3 Alexis Ballier gentoo-dev 2011-07-07 03:23:57 UTC
is this still an issue with 8.2 ?
Comment 4 Yuta SATOH 2011-07-07 10:39:39 UTC
(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. :)
Comment 5 Tibor Vago 2011-11-13 13:12:55 UTC
Created attachment 292393 [details, diff]
AMD64 linkfix for 8.2 kernel source

Based on freebsd-sources-8.0-linkfix.patch
Comment 6 Tibor Vago 2011-11-13 13:15:32 UTC
Tested on my lenovo and works fine.
I think, it is ready to merge to portage tree.
Comment 7 Alexis Ballier gentoo-dev 2012-05-04 18:50:10 UTC
this is fixed in 9.0, please use this release instead