Summary: | make depend fails while building FreeBSD kernel | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Andrew Pogrebennyk <andrew.nau.ua> |
Component: | Other | Assignee: | Gentoo/BSD Team <bsd+disabled> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | FreeBSD | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
`make depend` log
Kernel config (NEUTRINO) |
Description
Andrew Pogrebennyk
2006-03-19 06:07:32 UTC
Created attachment 82546 [details]
`make depend` log
There are some assembler errors :(
Created attachment 82547 [details]
Kernel config (NEUTRINO)
This configuration file worked well with FreeBSD 6.0 and i brought it with minor changes to Gentoo-FreeBSD...
which gcc version you using? Maybe you should try it with freebsd's default. (In reply to comment #3) > which gcc version you using? > Maybe you should try it with freebsd's default. > I'm using gcc-3.4.5, which was included into gentoo-freebsd-6.0-stage-20060221.tar.bz2. I used FreeBSD 6.0 to unpack that tarball and bootstrap the system as described there: http://dev.gentoo.org/~citizen428/doc/gentoo-freebsd.html. After reboot i noticed that there's no kernel (that short guide has nothing about kernel build process :)), booted FreeBSD 6.0 and chrooted into gentoo-freebsd again, then i emerged freebsd-sources and tried to build that kernel. Thanks for advice, i will look what other gcc versions are there in portage tree and try to build kernel with some of them. I see FreeBSD 6.0 release employs GCC 3.4.4 as a default compiler, but given gentoo-freebsd snapshot has 3.4.5 i thought that 3.4.5 would work quite nice .. Will chroot into gentoo-freebsd tonight once more to build and try 3.4.4 :) Still no success, `make depend` produces exactly the same errors while using gcc-3.4.4 Same here. The GNU assembler does not like some *.S files. Anyway, I just copied /boot/kernel /boot/modules and /boot/device.hints from the livecd to my root and see, it boots! Make sure you have /dev mounted. |