Gentoo/FreeBSD: FreeBSD version 6.0-RELEASE; Gentoo base version 0.7 Portage 2.1_pre4-r1 (!/usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r0, 6.0-RELEASE i386) ================================================================= System uname: 6.0-RELEASE i386 i386 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 6.0 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.0" CFLAGS="-mtune=i386 -O2 -pipe" CHOST="i686-gentoo-freebsd6.0" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mtune=i386 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage" USE="x86-fbsd oss pam readline tcpd usb elibc_FreeBSD kernel_FreeBSD userland_BSD" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
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.