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
First of all, change to 11.0 profile.

Get a list of available profiles:

Set the profile to 11.0:

Kernel update
First of all, you need to update your kernel. Userland package require new kerenel function.

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 kernel version.

Updating FreeBSD userland
First emerge the core library:

Update the userland of FreeBSD:

Please emerge the sys-freebsd packages again. Some packages need 11.0 files to complete upgrade.

Clean utmp related files:

Changing the CHOST variable 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: