User Tools

Site Tools


64bit-migration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
64bit-migration [2019/01/15 16:38] snarg64bit-migration [2020/06/10 09:14] snarg
Line 21: Line 21:
  
  
-  * compile x86_64 kernel with ia32 emulation, reboot into it +  * compile x86_64 kernel with ia32 emulation (use CROSS_COMPILE= to add a prefix to toolchain commands), reboot into it  
 +make CROSS_COMPILE=x86_64-pc-linux-gnu- -j5
   * get an identical VM with compat arch processor built in x86_64 multilib profile (make sure CFLAGS is *identical* emerge -e world if not - also make sure USE flags are the same, makes live easier when doing emerge -k binarypackage  on the other side)   * get an identical VM with compat arch processor built in x86_64 multilib profile (make sure CFLAGS is *identical* emerge -e world if not - also make sure USE flags are the same, makes live easier when doing emerge -k binarypackage  on the other side)
   * Change CHOST to x86_64-pc-linux-gnu   * Change CHOST to x86_64-pc-linux-gnu
Line 127: Line 127:
   * remove /migration-backup   * remove /migration-backup
   * erase /usr/portage/packages (whole dir)   * erase /usr/portage/packages (whole dir)
 +  * remove abi_x86_32 from package.use and profiles/use.mask, then emerge --newuse
   * clean up /lib.old and /usr/lib.old   * clean up /lib.old and /usr/lib.old
  
64bit-migration.txt · Last modified: 2023/06/21 12:02 by snarg