Gentoo FreeBSD/Upgrade Guide/11.0

This guide will show you how to upgrade Gentoo/FreeBSD 11.0 from 10.3.

Changing to the latest profile
It is necessary to change the profile to emerge packages related to FreeBSD 11.0.

Get a list of available profiles:

Set the profile to 11.0:

Kernel update
First of all, you need to update your kernel. It is because the package of a userland may use the new function of a kernel.

Please be sure to update a kernel first!

Reboot
Don't have a problem? Now we restart.

After rebooting your machine, please check if the kernel is new.

Updating FreeBSD userland
The first emerge the core library:

Update the userland of FreeBSD:

Please to emerge again sys-freebsd packages. Some of the package is in need of include files of 11.0, did not use it when the upgrade:

Cleanup, utmp related files:

Change CHOST and rebuild toolchain
Change CHOST, and emerge binutils gcc. (FYI, Changing the CHOST variable)

x86-fbsd users:

amd64-fbsd users:

Emerge binutils and gcc:

Recreate all packages.

Failure to compile the package if any, 'emerge --resume --skipfirst' is your friend. Also, please bug report the problem if you like.

Cleaning
Let's remove the backup files when you have finished all the steps: