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. That is because some userland packages may require functions of the new kernel.

Please be sure to update the kernel first!

Reboot
Don't have a problem? Let's restart to actually use the new kernel.

After rebooting your machine, please check if the upgrade was successful.

Updating FreeBSD userland
First emerge the core library:

Update the userland of FreeBSD:

Please emerge the sys-freebsd packages again. Some of the packages are in need of include files of 11.0, which they couldn't use during the previous upgrade.

Clean utmp related files:

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

x86-fbsd users should issue:

amd64-fbsd users should issue:

Emerge binutils and gcc:

Rebuild all packages:

If one of the packages fails to compile you can issue 'emerge --resume --skipfirst' to continue emerging the remaining packages. Also, consider filing a bug report of the problem.

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