Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631924 - sys-freebsd/freebsd-sources: can't boot the kernel compiled with binutils-2.29.
Summary: sys-freebsd/freebsd-sources: can't boot the kernel compiled with binutils-2.29.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-24 11:41 UTC by Yuta SATOH
Modified: 2017-11-26 15:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2017-09-24 11:41:30 UTC
I've compiled the FreeBSD kernel with binutils-2.29, it can't boot.
I would suggest masking binutils-2.29 or changing its KEYWORDS to -amd64-fbsd, -x86-fbsd until we fix this issue.

Thanks.


Reproducible: Always

Steps to Reproduce:
1. binutils-config x86_64-gentoo-freebsd11.1-2.29
2. . /etc/profile
3. emerge freebsd-sources
4. reboot



boot log:
/boot/kernel/kernel text=0x1405284 data=0x1576f0+0x4c35a8 syms=[0x8+0x177480+0x8+0x13e837]
can't load file '/boot/kernel/kernel': input/output error
can't load file '/boot/kernel/kernel': input/output error
Error while including /boot/menu.rc, in the line:
menu-display
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/kernel/kernel text=0x1405284 data=0x1576f0+0x4c35a8 syms=[0x8+0x177480+0x8+0x13e837]
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
OK 

And, the kernel compiled with binutils-2.28.1 can be booted:
OK load /boot/kernel.binutils2281/kernel
/boot/kernel.binutils2281/kernel text=0x1406288 data=0x1576f0+0x4c35a8 syms=[0x8+0x177480+0x8+0x13e837]
OK boot
Booting...
Comment 1 Yuta SATOH 2017-11-26 15:11:26 UTC
I've checked that this bug has been fixed in binutils-2.29.1.
closing.