summaryrefslogtreecommitdiff
path: root/profiles/arch/amd64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /profiles/arch/amd64
reinit the tree, so we can have metadata
Diffstat (limited to 'profiles/arch/amd64')
-rw-r--r--profiles/arch/amd64/eapi1
-rw-r--r--profiles/arch/amd64/make.defaults65
-rw-r--r--profiles/arch/amd64/no-multilib/eapi1
-rw-r--r--profiles/arch/amd64/no-multilib/make.defaults8
-rw-r--r--profiles/arch/amd64/no-multilib/package.mask170
-rw-r--r--profiles/arch/amd64/no-multilib/package.use.force6
-rw-r--r--profiles/arch/amd64/no-multilib/package.use.mask38
-rw-r--r--profiles/arch/amd64/no-multilib/use.mask24
-rw-r--r--profiles/arch/amd64/package.use25
-rw-r--r--profiles/arch/amd64/package.use.force34
-rw-r--r--profiles/arch/amd64/package.use.mask308
-rw-r--r--profiles/arch/amd64/package.use.stable.mask75
-rw-r--r--profiles/arch/amd64/parent2
-rw-r--r--profiles/arch/amd64/use.force6
-rw-r--r--profiles/arch/amd64/use.mask187
-rw-r--r--profiles/arch/amd64/use.stable.mask32
-rw-r--r--profiles/arch/amd64/x32/eapi1
-rw-r--r--profiles/arch/amd64/x32/make.defaults18
-rw-r--r--profiles/arch/amd64/x32/package.mask8
-rw-r--r--profiles/arch/amd64/x32/package.use.force7
-rw-r--r--profiles/arch/amd64/x32/package.use.mask14
-rw-r--r--profiles/arch/amd64/x32/parent1
-rw-r--r--profiles/arch/amd64/x32/use.force5
-rw-r--r--profiles/arch/amd64/x32/use.mask6
24 files changed, 1042 insertions, 0 deletions
diff --git a/profiles/arch/amd64/eapi b/profiles/arch/amd64/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/arch/amd64/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/make.defaults b/profiles/arch/amd64/make.defaults
new file mode 100644
index 000000000000..a9d2cc0549dc
--- /dev/null
+++ b/profiles/arch/amd64/make.defaults
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+ARCH="amd64"
+ACCEPT_KEYWORDS="${ARCH}"
+
+CHOST="x86_64-pc-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
+# Multilib settings for all amd64 subprofiles.
+MULTILIB_ABIS="amd64 x86"
+DEFAULT_ABI="amd64"
+# Do not remove this one, or all kinds of hell breaks loose.
+ABI="amd64"
+
+LIBDIR_amd64="lib64"
+# TODO: move this to a deprecated subprofile
+LIBDIR_x86="lib32"
+LIBDIR_x32="libx32"
+SYMLINK_LIB="yes"
+
+# 64bit specific settings.
+CFLAGS_amd64="-m64"
+LDFLAGS_amd64="-m elf_x86_64"
+CHOST_amd64="x86_64-pc-linux-gnu"
+
+# 32bit specific settings.
+CFLAGS_x86="-m32"
+LDFLAGS_x86="-m elf_i386"
+CHOST_x86="i686-pc-linux-gnu"
+
+# 64-32bit specific settings.
+CFLAGS_x32="-mx32"
+LDFLAGS_x32="-m elf32_x86_64"
+CHOST_x32="x86_64-pc-linux-gnux32"
+
+# 2006/10/24 - Simon Stelling <blubb@gentoo.org>
+# They are masked, but we can enable them anyway for those who have
+# >=portage-2.1.2_pre3-r4
+CPU_FLAGS_X86="mmx mmxext sse sse2"
+
+# Michał Górny <mgorny@gentoo.org> (03 Sep 2013)
+# Enable abi_x86_64 for packages that don't have it forced.
+ABI_X86="64"
+
+# 2006/08/18 - Donnie Berkholz <dberkholz@gentoo.org>
+# Defaults for video drivers
+VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa"
+
+# 2006/12/22 - Danny van Dyk <kugelfang@gentoo.org>
+# Default for ALSA_CARDS USE_EXPAND variable.
+ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unhide the x86-specific USE_EXPANDs.
+USE_EXPAND_HIDDEN="-ABI_X86 -CPU_FLAGS_X86"
+
+# Michał Górny <mgorny@gentoo.org> (25 Jun 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="abi_x86_64"
diff --git a/profiles/arch/amd64/no-multilib/eapi b/profiles/arch/amd64/no-multilib/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/no-multilib/make.defaults b/profiles/arch/amd64/no-multilib/make.defaults
new file mode 100644
index 000000000000..4dd6d3efdd52
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/make.defaults
@@ -0,0 +1,8 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+MULTILIB_ABIS="amd64"
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Hide the ABI_X86 USE_EXPAND back for non-multilib profile.
+USE_EXPAND_HIDDEN="ABI_X86"
diff --git a/profiles/arch/amd64/no-multilib/package.mask b/profiles/arch/amd64/no-multilib/package.mask
new file mode 100644
index 000000000000..2eedb72cc020
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.mask
@@ -0,0 +1,170 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# James Le Cuirot <chewi@gentoo.org> (13 Aug 2016)
+# Steam requires amd64 multilib. These are steam-overlay packages.
+dev-util/adobe-air-runtime
+games-util/steam-client-meta
+games-util/steam-games-meta
+games-util/steam-launcher
+games-util/steam-meta
+
+# Andreas K. Huettel <dilfridge@gentoo.org>
+# Novell Groupwise Client sadly needs a 32bit java vm (bundled)
+mail-client/novell-groupwise-client
+
+# AMD64 Team <amd64@gentoo.org>
+# Mask packages that rely on amd64 multilib
+=app-editors/emacs-18*
+>=app-i18n/atokx3-3.0.0
+<games-roguelike/dwarf-fortress-0.43.0
+app-accessibility/mbrola
+app-accessibility/perlbox-voice
+app-arch/stuffit
+app-benchmarks/cpuburn
+app-emulation/crossover-bin
+app-emulation/playonlinux
+app-emulation/q4wine
+app-emulation/winetricks
+app-office/ooextras
+app-text/acroread
+dev-embedded/libftd2xx
+dev-embedded/openocd
+dev-lang/icc
+dev-lang/idb
+dev-lang/ifc
+dev-perl/Archive-Rar
+dev-python/skype4py
+dev-util/android-ndk
+dev-util/android-sdk-update-manager
+dev-util/android-studio
+dev-util/biew
+games-action/beathazardultra
+games-action/brutal-legend
+games-action/cs2d
+games-action/descent3
+games-action/descent3-demo
+games-action/heretic2
+games-action/heretic2-demo
+games-action/hotline-miami
+games-action/intrusion2
+games-action/lugaru
+games-action/mutantstorm-demo
+games-action/phobiaii
+games-action/rune
+games-action/shadowgrounds-bin
+games-action/shadowgrounds-survivor-bin
+games-action/solar2
+games-action/spacetripper-demo
+games-action/swordandsworcery
+games-action/trine2
+games-arcade/aquaria
+games-arcade/barbarian-bin
+games-arcade/dynamitejack
+games-arcade/gish-demo
+games-arcade/jardinains
+games-arcade/thinktanks-demo
+games-emulation/caps
+games-emulation/nestra
+games-emulation/pcsx2
+games-emulation/zinc
+games-emulation/zsnes
+games-fps/avp
+games-fps/doom3
+games-fps/doom3-cdoom
+games-fps/doom3-chextrek
+games-fps/doom3-data
+games-fps/doom3-demo
+games-fps/doom3-ducttape
+games-fps/doom3-eventhorizon
+games-fps/doom3-hellcampaign
+games-fps/doom3-inhell
+games-fps/doom3-lms
+games-fps/doom3-mitm
+games-fps/doom3-roe
+games-fps/enemy-territory
+games-fps/enemy-territory-etpro
+games-fps/enemy-territory-omnibot
+games-fps/enemy-territory-truecombat
+games-fps/etqw-bin
+games-fps/etqw-data
+games-fps/etqw-demo
+games-fps/glxquake-bin
+games-fps/legends
+games-fps/postal2
+games-fps/postal2mp-demo
+games-fps/quake3-bin
+games-fps/quake3-demo
+games-fps/quake3-ra3
+games-fps/quake4-bin
+games-fps/quake4-data
+games-fps/quake4-demo
+games-fps/rtcw
+games-fps/rtcwmp-demo
+games-fps/rtcwsp-demo
+games-fps/sauerbraten
+games-fps/serious-sam-tfe
+games-fps/serious-sam-tse
+games-fps/soldieroffortune
+games-fps/soldieroffortune-demo
+games-fps/unreal-tournament
+games-fps/ut2003
+games-fps/ut2003-demo
+games-fps/ut2004-demo
+games-kids/crayon-physics
+games-misc/little-inferno
+games-misc/papers-please
+games-puzzle/hoh-bin
+games-roguelike/adom
+games-rpg/baldurs-gate-ee
+games-rpg/dear-esther
+games-rpg/dungeon-defenders
+games-rpg/eschalon-book-1-demo
+games-rpg/nwmouse
+games-rpg/nwmovies
+games-rpg/nwn
+games-rpg/nwn-cep
+games-rpg/nwn-data
+games-rpg/nwn-penultima
+games-rpg/nwn-penultimarerolled
+games-rpg/nwn-shadowlordsdreamcatcherdemon
+games-rpg/penumbra-collection
+games-rpg/wasteland2
+games-server/etqw-ded
+games-server/nwn-ded
+games-server/ut2003-ded
+games-simulation/bcs-demo
+games-strategy/darwinia
+games-strategy/darwinia-demo
+games-strategy/defcon-demo
+games-strategy/dominions2
+games-strategy/heroes3
+games-strategy/heroes3-demo
+games-strategy/majesty-demo
+games-strategy/smac
+games-strategy/spaz
+media-fonts/acroread-asianfonts
+media-sound/aucdtect
+media-sound/skype-call-recorder
+media-sound/ventrilo-server-bin
+media-video/binkplayer
+media-video/tsmuxer
+net-im/skype
+net-im/skypetab-ng
+net-misc/icaclient
+net-misc/ps3mediaserver
+net-print/cndrvcups-common-lb
+net-print/cndrvcups-lb
+sci-biology/foldingathome
+sci-chemistry/cara-bin
+sci-chemistry/cyana
+sci-chemistry/mars
+sci-electronics/eagle
+sci-libs/ipp
+sys-libs/lib-compat-loki
+www-plugins/nspluginwrapper
+
+
+# AMD64 Team; <amd64@gentoo.org>
+# grub-1 is not available on no-multilib-profiles
+<sys-boot/grub-1.99
diff --git a/profiles/arch/amd64/no-multilib/package.use.force b/profiles/arch/amd64/no-multilib/package.use.force
new file mode 100644
index 000000000000..0f2c76d1c72f
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny <mgorny@gentoo.org> (08 Apr 2017)
+# Undo multilib forcing.
+sys-apps/sandbox -abi_x86_32
diff --git a/profiles/arch/amd64/no-multilib/package.use.mask b/profiles/arch/amd64/no-multilib/package.use.mask
new file mode 100644
index 000000000000..cbe2dc890477
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/package.use.mask
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Yixun Lan <dlan@gentoo.org> (12 Jul 2017)
+# GLEP 73 Immutability, USE=ovmf requires hvm
+app-emulation/xen-tools ovmf
+
+# NP-Hardass <NP-Hardass@gentoo.org> (11 Jul 2017)
+# GLEP 73 Immutability, USE=test requires
+# abi_x86_32 at this time.
+app-emulation/wine test
+app-emulation/wine-vanilla test
+app-emulation/wine-staging test
+app-emulation/wine-d3d9 test
+app-emulation/wine-any test
+
+# Mike Frysinger <vapier@gentoo.org> (12 Aug 2016)
+# Requires sys-boot/grub:0 which is masked here.
+sys-apps/memtest86+ floppy
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (24 Jun 2012)
+# Disable 32-bit parts of wine, bug #351436
+app-emulation/wine mono
+
+# Intel Integrated Primitive (sci-libs/ipp) support
+media-libs/opencv ipp
+
+# Tomas Chvatal <scarabeus@gentoo.org> (13 Nov 2014)
+# The apulse is 32b used there only
+net-im/skype apulse
+
+# Tim Harder <radhermit@gentoo.org> (17 Jan 2016)
+# Skype requires multilib support
+net-im/bitlbee skype
+
+# Alexis Ballier <aballier@gentoo.org> (13 Aug 2009)
+# Requires wine
+media-sound/lmms vst
diff --git a/profiles/arch/amd64/no-multilib/use.mask b/profiles/arch/amd64/no-multilib/use.mask
new file mode 100644
index 000000000000..9a86a0600bfd
--- /dev/null
+++ b/profiles/arch/amd64/no-multilib/use.mask
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# USE flags masked because providing packages have ABI=x86
+
+# 2007/08/29 Christoph Mende <angelos@gentoo.org>
+# app-accessibility/mbrola is x86 only
+mbrola
+
+# 2007/08/24 Michael Marineau <marineam@gentoo.org>
+# Xen HVM support requires building 32-bit binaries.
+hvm
+
+# 2008/02/13 - Chris Gianelloni <wolf31o2@gentoo.org>
+# Mask multilib, since we cannot use it.
+multilib
+
+# 2009/05/11 Doug Goldstein <cardoe@gentoo.org>
+# Mask 32bit since this will always require emulation packages
+32bit
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Mask the multilib flags back for non-multilib profile.
+abi_x86_32
diff --git a/profiles/arch/amd64/package.use b/profiles/arch/amd64/package.use
new file mode 100644
index 000000000000..b7ee1f9b504f
--- /dev/null
+++ b/profiles/arch/amd64/package.use
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Mike Gilbert <floppym@gentoo.org> (17 Nov 2016)
+# Enable both efi and pc by default.
+# https://bugs.gentoo.org/600110
+sys-boot/grub:2 grub_platforms_efi-64 grub_platforms_pc
+
+# Michał Górny <mgorny@gentoo.org> (24 Sep 2016)
+# Enable the GPU targets matching the default VIDEO_CARDS
+sys-devel/clang llvm_targets_AMDGPU llvm_targets_NVPTX
+sys-devel/llvm llvm_targets_AMDGPU llvm_targets_NVPTX
+
+# James Le Cuirot <chewi@gentoo.org> (01 Aug 2016)
+# Most users don't need a multilib JVM.
+dev-java/icedtea-bin -multilib
+
+# Michał Górny <mgorny@gentoo.org> (28 Jun 2014)
+# Packages that should be multilib by default.
+x11-drivers/ati-drivers abi_x86_32
+x11-drivers/nvidia-drivers abi_x86_32
+
+# Doug Goldstein <cardoe@gentoo.org> (29 Oct 2012)
+# Enable the native arch as the default qemu target
+app-emulation/qemu qemu_softmmu_targets_x86_64
diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force
new file mode 100644
index 000000000000..59d26523476e
--- /dev/null
+++ b/profiles/arch/amd64/package.use.force
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# NP-Hardass <NP-Hardass@gentoo.org> (23 May 2017)
+# Packages with optional 64-bit variant
+app-emulation/wine-vanilla -abi_x86_64
+app-emulation/wine-staging -abi_x86_64
+app-emulation/wine-d3d9 -abi_x86_64
+app-emulation/wine-any -abi_x86_64
+virtual/wine -abi_x86_64
+
+# Michał Górny <mgorny@gentoo.org> (08 Apr 2017)
+# Require sandbox to be multilib-capable to avoid failures when building
+# multilib packages, #611292.
+sys-apps/sandbox abi_x86_32
+
+# Michał Górny <mgorny@gentoo.org> (24 Sep 2016)
+# Force the host target to avoid dependency hell
+sys-devel/clang llvm_targets_X86
+sys-devel/llvm llvm_targets_X86
+
+# Michał Górny <mgorny@gentoo.org> (02 Sep 2013)
+# Packages with optional 64-bit variant.
+app-emulation/wine -abi_x86_64
+www-plugins/adobe-flash -abi_x86_64
+
+# Diego Elio Pettenò <flameeyes@gmail.com> (21 Apr 2011)
+# The plugin is 32-bit only (and I'm not even sure if it works with
+# modern iscan); make sure it only installs the firmware for amd64!
+media-gfx/iscan-plugin-gt-f500 minimal
+
+# <blubb@gentoo.org> (23 Oct 2006)
+# upstream forces sse2 on regardless of what the use flag is
+dev-libs/openssl cpu_flags_x86_sse2
diff --git a/profiles/arch/amd64/package.use.mask b/profiles/arch/amd64/package.use.mask
new file mode 100644
index 000000000000..121b4078df62
--- /dev/null
+++ b/profiles/arch/amd64/package.use.mask
@@ -0,0 +1,308 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# When you add an entry to the top of this file, add your name, the date, and
+# an explanation of why something is getting masked. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Amy Liffey <amynka@gentoo.org> (19 Sep 2017)
+# [cuda] is unmasked in this profiles.
+media-libs/opencv -contrib_xfeatures2d
+
+# Brian Evans <grknight@gentoo.org> (21 Jul 2017)
+# app-crypt/argon2 is keyworded on amd64
+dev-lang/php -argon2
+
+# David Seifert <soap@gentoo.org> (20 May 2017)
+# cpyrit-cuda does not support GCC 4.9 or later
+net-wireless/pyrit cuda
+
+# Rick Farina <zerochaos@gentoo.org> (11 May 2017)
+# nexpose and openvas work on amd64
+net-analyzer/metasploit nexpose openvas
+
+# Thomas Deutschmann <whissi@gentoo.org> (01 Mar 2017)
+# dev-libs/libmaxminddb is keyworded on amd64
+app-admin/rsyslog -mdblookup
+
+# Alexis Ballier <aballier@gentoo.org> (21 Feb 2017)
+# spacetime works on amd64
+# https://caml.inria.fr/pub/docs/manual-ocaml/spacetime.html
+dev-lang/ocaml -spacetime
+
+# Alexis Ballier <aballier@gentoo.org> (31 Jan 2017)
+# nvidia drivers are unmasked here
+media-video/ffmpeg -nvenc
+
+# Luke Dashjr <luke-jr+gentoobugs@utopios.org> (04 Jan 2017)
+# Assembly optimisations are supported on amd64 for all versions
+dev-libs/libsecp256k1 -asm
+
+# Andreas Sturmlechner <asturm@gentoo.org> (31 Dec 2016)
+# on behalf of Andreas K. Hüttel <dilfridge@gentoo.org> (14 Dec 2016)
+# Fails to build with newly unmasked ffmpeg-3, so mask this useflag
+# Workaround; leaving a real fix to the maintainers... bug 580630
+media-libs/mlt vdpau
+
+# Ettore Di Giacinto <mudler@gentoo.org> (18 Oct 2016)
+# Enable gambit and scm only on supported architectures
+>=dev-scheme/slib-3.2.5 -gambit -scm
+
+# Thomas Deutschmann <whissi@gentoo.org> (22 Sep 2016)
+# Enable MQTT support on supported architectures
+app-admin/collectd -collectd_plugins_mqtt
+
+# Thomas Deutschmann <whissi@gentoo.org> (26 Aug 2016)
+# Enable numa support on supported architectures
+dev-db/percona-server -numa
+
+# Brian Evans <grknight@gentoo.org> (23 Aug 2016)
+# It's only supported on amd64
+dev-db/percona-server -tokudb -tokudb-backup-plugin
+
+# Brian Evans <grknight@gentoo.org> (18 Aug 2016)
+# Allow jdbc on this arch
+dev-db/mariadb -jdbc
+
+# Andrew Savchenko <bircoph@gentoo.org> (11 Aug 2016)
+# PGO is fixed on amd64
+>=www-client/firefox-48 -pgo
+
+# James Le Cuirot <chewi@gentoo.org> (26 Jul 2016)
+# Only available on some architectures.
+dev-java/icedtea -shenandoah
+
+# Mike Gilbert <floppym@gentoo.org> (23 Jun 2016)
+# This flag only has meaning on amd64
+sys-boot/grub:2 -grub_platforms_xen-32
+
+# Nathan Phillip Brink <binki@gentoo.org> (26 Sep 2015)
+# git useflag requires dev-libs/libgit2 which few arches support
+dev-util/geany-plugins -git
+
+# Brian Evans <grknight@gentoo.org (14 Sep 2015)
+# Unmask new USE flags for mariadb on supported arches
+>=dev-db/mariadb-10.1.0 -mroonga -sst-xtrabackup -galera
+
+# Mike Gilbert <floppym@gentoo.org> (05 Sep 2015)
+# sys-boot/gnu-efi is not supported on all archs.
+sys-apps/systemd -gnuefi
+
+# James Le Cuirot <chewi@gentoo.org> (28 Jul 2015)
+# JavaFX and the browser plugin are included on x64 Linux.
+dev-java/oracle-jdk-bin -javafx -nsplugin
+dev-java/oracle-jre-bin -javafx -nsplugin
+
+# Michael Sterrett <mr_bones_@gentoo.org> (21 Apr 2015)
+# None of the fusionsound deps support multilib currently, maybe later.
+# Hiding the use flag fixes bug #545662 for now.
+media-libs/libsdl2 fusionsound
+
+# Ben de Groot <yngwin@gentoo.org> (15 Mar 2015)
+# media-libs/libbdplus is keyworded on amd64, so unmask the useflag
+media-libs/libbluray -bdplus
+
+# Michał Górny <mgorny@gentoo.org> (01 Mar 2015)
+# pidgin-opensteamworks is only available for amd64, ppc32 and x86
+net-im/telepathy-connection-managers -steam
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Unmask skype support for unstable keywords
+net-im/bitlbee -skype
+
+# Mike Frysinger <vapier@gentoo.org> (04 Aug 2014)
+# Unmask flashrom drivers that only work on x86 due to in/out asm insns #454024
+sys-apps/flashrom -atahpt -nic3com -nicnatsemi -nicrealtek -rayer_spi -satamv
+
+# Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> (24 Apr 2014)
+# It's only supported on amd64
+dev-db/mariadb -tokudb
+
+# Matt Turner <mattst88@gentoo.org> (07 Mar 2014)
+# media-libs/libomxil-bellagio keyworded on amd64/x86
+media-libs/mesa -openmax
+
+# Samuli Suominen <ssuominen@gentoo.org> (16 Feb 2014)
+# Still considered experimental by upstream:
+# https://sourceforge.net/p/mikmod/bugs/16/#17ea
+media-libs/libmikmod cpu_flags_x86_sse2
+
+# Andreas K. Huettel <dilfridge@gentoo.org> (4 Jan 2014)
+# While globally masked, the needed amd64 keywords are already present
+dev-vcs/git -mediawiki -mediawiki-experimental
+
+# Sergey Popov <pinkbyte@gentoo.org> (27 Dec 2013)
+# Boost.Context can be built on amd64
+dev-libs/boost -context
+
+# Michał Górny <mgorny@gentoo.org> (15 Dec 2013)
+# mupen64plus' 2.0 new dynamic recompiler is supported on x86 and arm
+# only.
+games-emulation/mupen64plus-core new-dynarec
+
+# Jeff Horelick <jdhore@gentoo.org> (1 Sep 2013)
+# Dependency (media-libs/libsidplayfp) only keyworded
+# on x86 and amd64. (masked in base)
+>=media-plugins/audacious-plugins-3.4 -sid
+
+# Tim Harder <radhermit@gentoo.org> (13 Aug 2013)
+# dev-lang/luajit keyworded for amd64 (masked in base)
+# dev-scheme/racket keyworded for amd64 (masked in base)
+app-editors/vim -luajit -racket
+app-editors/gvim -luajit -racket
+
+# Kacper Kowalik <xarthisius@gentoo.org> (09 Aug 2013)
+# Works on amd64
+sys-apps/hwloc -gl
+
+# Michał Górny <mgorny@gentoo.org> (22 Jul 2013)
+# Meaningless on amd64 (it controls the 32-bit x86 JIT).
+dev-python/pypy cpu_flags_x86_sse2
+dev-python/pypy-bin cpu_flags_x86_sse2
+dev-python/pypy3 cpu_flags_x86_sse2
+dev-python/pypy3-bin cpu_flags_x86_sse2
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (30 Dec 2012)
+# chromium, mono work on this arch (masked in base)
+gnome-extra/zeitgeist-datasources -chromium
+
+# Christoph Junghans <junghans@gentoo.org> (26 Dec 2012)
+# cuda works on x86/amd64 (masked in base)
+sci-chemistry/gromacs -mkl
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (3 Nov 2012)
+# Unmask here, as it's masked in base.
+net-libs/gnutls -dane
+
+# Ben de Groot <yngwin@gentoo.org> (30 Jul 2012)
+# dependency keyworded here, masked in base
+media-libs/freetype -infinality
+
+# Mike Gilbert <floppym@gentoo.org> (29 Jun 2012)
+# sys-fs/zfs is not available everywhere.
+sys-boot/grub -libzfs
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (12 Apr 2012)
+# Temporary mask-in-base, unmask-in-arch for dev-python/mako keywording for
+# gobject-introspection[doctool], bug #411761
+dev-libs/gobject-introspection -doctool
+
+# Michał Górny <mgorny@gentoo.org> (11 Apr 2012)
+# JIT compilation in zpaq generates code for x86/amd64.
+app-arch/zpaq -jit
+
+# Arun Raghavan <ford_prefect@gentoo.org> (29 Mar 2012)
+# webrtc-audio-processing is only supported on x86/amd64. Possibly arm can be
+# added.
+# Arun Raghavan <ford_prefect@gentoo.org> (24 May 2012)
+# Mask xen USE flag by default, unmask on x86/amd64 where it is supported.
+media-sound/pulseaudio -webrtc-aec -xen
+
+# Bernard Cafarelli <voyageur@gentoo.org> (27 Feb 2012)
+# Masked in base profile, supported on this arch
+gnustep-base/gnustep-make -libobjc2
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (09 Jan 2012)
+# jsc JIT compilation is supported only on amd64/arm/x86 and their prefixes, so
+# it's masked in base profile and unmasked here (bug #396313).
+net-libs/webkit-gtk -jit
+www-client/midori -jit
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# The QML (V4) and JSC JITs are supported only on amd64/arm/x86,
+# so the flag is masked in the base profile and unmasked here.
+dev-qt/qtdeclarative -jit
+dev-qt/qtscript -jit
+dev-qt/qtwebkit -jit
+
+# Robin H. Johnson <robbat2@gentoo.org> (10 Jul 2011)
+# PPS should work on all arches, but only keyworded on amd64/x86
+>=net-misc/ntp-4.2.6_p3-r1 -parse-clocks
+
+# Alexey Shvetsov <alexxy@gentoo.org> (1 Jul 2011)
+# Use mask infiniband for stable corosync and glusterfs
+=sys-cluster/glusterfs-3.1.2 infiniband
+=sys-cluster/corosync-1.3.0 infiniband
+
+# Tim Harder <radhermit@gentoo.org> (13 Feb 2011)
+# Masked in base, unmask for amd64/x86
+>=media-video/mplayer-1.0_rc4_p20101219 -bluray
+
+# doomsday doesn't work on amd64 so mask off things that pull it in.
+games-fps/doom-data doomsday
+
+# Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> (28 Nov 2010)
+# sys-devel/llvm is keyworded on amd64
+media-libs/mesa -llvm
+
+# Tomáš Chvátal <scarabeus@gentoo.org> (4 Apr 2010)
+# x86 platforms works
+sys-power/pm-utils -video_cards_intel -video_cards_radeon
+
+# Jean-Noël Rivasseau <elvanor@gentoo.org> (23 Sep 2009)
+# X use flag only for amd64/x86, bug 285951.
+media-gfx/iscan -X
+
+# Bernard Cafarelli <voyageur@gentoo.org> (20 Mar 2009)
+# Depends on packages not yet keyworded for amd64, cf bug #22042
+app-backup/backup-manager s3
+
+# Jeremy Olexa <darkside@gentoo.org> (07 Feb 2009)
+# USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments
+# 11-12)
+media-libs/imlib2 cpu_flags_x86_mmx
+
+# Jeremy Olexa <darkside@gentoo.org> (27 Dec 2008)
+# Mask static USE flag because it just doesn't work on amd64. See bug 236591
+>=app-arch/p7zip-4.58 static
+
+# Jeremy Olexa <darkside@gentoo.org> (24 Dec 2008)
+# unmask USE=bindist on amd64 - also unmasking the other flags that were under a
+# bad comment heading. see bug #246144
+media-video/mplayer -cpudetection
+
+# Serkan Kaba <serkan@gentoo.org> (20 Jul 2008)
+app-text/enchant -zemberek
+
+# assembler-section
+
+# Oct 23th 2006; blubb@gentoo.org
+# the asm is 64bit save, but it doesn't compile anyway
+games-emulation/visualboyadvance cpu_flags_x86_mmx
+
+# Oct 23th 2006; blubb@gentoo.org
+# upstream forces sse2 for amd64; mmx flag does nothing
+app-crypt/johntheripper cpu_flags_x86_mmx
+
+# Oct 23th 2006; blubb@gentoo.org
+# x86 asm only:
+media-libs/libfame cpu_flags_x86_mmx
+media-libs/sdl-gfx cpu_flags_x86_mmx
+media-libs/smpeg cpu_flags_x86_mmx
+x11-terms/eterm cpu_flags_x86_mmx
+
+# x86_64 opts are enabled with USE sse. so masking the rest
+media-sound/mpg123 cpu_flags_x86_mmx cpu_flags_x86_3dnow cpu_flags_x86_3dnowext
+
+# 8 May 2007: Alistair Bush <ali_bush@gentoo.org>
+# Mask doc flag for fop as nearly impossible to
+# run javadoc target. see #177585
+>=dev-java/fop-0.93 doc
+
+# 8 Aug 2008: Alexis Ballier <aballier@gentoo.org>
+# x86 asm only, it won't be built on amd64 if mmx useflag is enabled but that
+# saves people from needlessly installing nasm
+# Refs bug #93279
+media-sound/lame cpu_flags_x86_mmx
diff --git a/profiles/arch/amd64/package.use.stable.mask b/profiles/arch/amd64/package.use.stable.mask
new file mode 100644
index 000000000000..53e4ede00085
--- /dev/null
+++ b/profiles/arch/amd64/package.use.stable.mask
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# When you add an entry to the top of this file, add your name, the date, and
+# an explanation of why something is getting masked. Please be extremely
+# careful not to commit atoms that are not valid, as it can cause large-scale
+# breakage, especially if it ends up in the daily snapshot.
+#
+## Example:
+##
+## # Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
+## # Masking foo USE flag until we can get the
+## # foo stuff to work properly again (bug 12345)
+## =media-video/mplayer-0.90_pre5 foo
+## =media-video/mplayer-0.90_pre5-r1 foo
+#
+
+#--- END OF EXAMPLES ---
+
+# Michael Palimaka <kensington@gentoo.org> (30 Sep 2017)
+# Required dependeny is not stable
+sci-libs/gdal oracle
+
+# NP-Hardass <NP-Hardass@gentoo.org> (27 Sep 2017)
+# patchset variants are not stable
+virtual/wine d3d9 staging
+
+# Tim Harder <radhermit@gentoo.org> (11 Sep 2017)
+# Pulls in dev-ruby/asciidoctor which has too large of a ruby testing
+# dep tree to be stabilized at this time.
+>=net-irc/weechat-1.7 doc
+
+# Andreas Sturmlechner <asturm@gentoo.org> (01 Mar 2017)
+# Requires not yet stabilised dev-db/oracle-instantclient.
+sci-geosciences/qgis oracle
+
+# Christoph Junghans <junghans@gentoo.org> (26 Feb 2017)
+# Stable mask some fabrics (bug #525534)
+sys-cluster/openmpi openmpi_fabrics_psm openmpi_fabrics_knem openmpi_fabrics_open-mx openmpi_fabrics_ofed openmpi_fabrics_dapl openmpi_rm_pbs openmpi_rm_slurm openmpi_ofed_features_rdmacm openmpi_ofed_features_control-hdr-padding openmpi_ofed_features_connectx-xrc openmpi_ofed_features_udcm openmpi_ofed_features_dynamic-sl openmpi_ofed_features_failover
+
+# Brian Evans <grknight@gentoo.org> (17 Jan 2017)
+# Stable mask groonga on mariadb as I don't know how stable
+# the dependencies really are
+dev-db/mariadb mroonga
+
+# Bernard Cafarelli <voyageur@gentoo.org> (09 Jan 2017)
+# Requires more testing
+# and additional unstable dependencies
+gnustep-base/gnustep-make libobjc2
+
+# Yixun Lan <dlan@gentoo.org> (02 Apr 2015)
+# sys-fs/zfs is not stable.
+sys-cluster/ceph zfs
+
+# Pacho Ramos <pacho@gentoo.org> (08 Mar 2015)
+# mayavi is broken, bug #500104
+dev-python/apptools test
+
+# Tim Harder <radhermit@gentoo.org> (11 Oct 2014)
+# Masked since skype isn't stable
+net-im/bitlbee skype
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# Don't apply stable masks to python-exec since we're forcing every
+# impl there anyway. Please keep this in sync with use.stable.mask.
+dev-lang/python-exec -python_targets_pypy
+dev-lang/python-exec -python_targets_pypy3
+
+# Mike Gilbert <floppym@gentoo.org> (22 Mar 2014)
+# sys-fs/zfs is not stable.
+sys-boot/grub libzfs
+
+# Tom Wijsman <TomWij@gentoo.org> (06 Feb 2014)
+# [QA] Masked jit USE flag on www-apps/cgit as dev-lang/luajit is not stable.
+www-apps/cgit jit
diff --git a/profiles/arch/amd64/parent b/profiles/arch/amd64/parent
new file mode 100644
index 000000000000..c5b66f7e9c9c
--- /dev/null
+++ b/profiles/arch/amd64/parent
@@ -0,0 +1,2 @@
+../base
+../../features/multilib
diff --git a/profiles/arch/amd64/use.force b/profiles/arch/amd64/use.force
new file mode 100644
index 000000000000..53a33330f09a
--- /dev/null
+++ b/profiles/arch/amd64/use.force
@@ -0,0 +1,6 @@
+# Force the flag which corresponds to ARCH.
+amd64
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the default ABI.
+abi_x86_64
diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
new file mode 100644
index 000000000000..098e7778e1cd
--- /dev/null
+++ b/profiles/arch/amd64/use.mask
@@ -0,0 +1,187 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask the flag which corresponds to ARCH.
+-amd64
+
+# SECTION: Unmask
+
+# Michael Palimaka <kensington@gentoo.org> (03 Jun 2017)
+# Unmask elogind since it is keyworded here.
+-elogind
+
+# Sven Wegener <swegener@gentoo.org> (31 May 2017)
+# libvirt is supported on amd64
+-libvirt
+
+# Andreas K. Hüttel <dilfridge@gentoo.org> (26 May 2017)
+# dev-db/firebird is keyworded ~amd64
+-firebird
+
+# cilk has been ported to this arch.
+-cilk
+
+# Mike Gilbert <floppym@gentoo.org> (19 Oct 2014)
+# sys-libs/libapparmor
+-apparmor
+
+# Alexey Shvetsov <alexxy@gentoo.org> (08 Apr 2014)
+# Cuda works here
+-cuda
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is keyworded on this arch.
+-python_targets_pypy
+-python_single_target_pypy
+-python_targets_pypy3
+-python_single_target_pypy3
+
+# Michał Górny <mgorny@gentoo.org> (4 May 2013)
+# Unmask systemd since it is keyworded here.
+-systemd
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# keyworded on amd64
+-clisp
+-clozurecl
+-ecls
+-gcl
+-sbcl
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the multilib flags for this arch.
+-abi_x86_32
+-abi_x86_64
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (09 Dec 2012)
+# Orc optimisations work fine on amd64 and x86
+-orc
+
+# Diego Elio Pettenò <flameeyes@gentoo.org> (21 Aug 2012)
+# IPMI is only implemented for x86, amd64 and ia64
+-ipmi
+
+# Ralph Sennhauser <sera@gentoo.org> (31 Jul 2012)
+# Keyworded on amd64
+-python_targets_jython2_7
+-python_single_target_jython2_7
+
+# Joerg Bornkessel <hd_brummy@gentoo.org> (05. Mar 2012)
+# Unmask, works with v4l2, #350211
+-dxr3
+
+# Justin Lecher <jlec@gentoo.org> (04. Feb 2012)
+# Unmask because deps are keyworded
+-zeitgeist
+
+# 2011/12/22 - Alexis Ballier <aballier@gentoo.org>
+# Unmask vdpau as its supported here
+-vdpau
+
+# 2011/07/01 - Alexey Shvetsov <alexxy@gentoo.org>
+# Infiniband stuff works here
+-infiniband
+
+# 2010/02/14 - Samuli Suominen <ssuominen@gentoo.org>
+# Unmask amd64/x86 only SANE_BACKENDS
+-sane_backends_canon_pp
+-sane_backends_hpsj5s
+-sane_backends_mustek_pp
+-sane_backends_qcam
+
+# 2010/05/03 - Alex Legler <a3li@gentoo.org>
+# Add support for Ruby Enterprise Edition targets where rubyee is available
+# -ruby_targets_ree18
+
+# 2011/10/21 - Hans de Graaff <graaff@gentoo.org>
+# Add support for Rubinius targets where rbx is available
+#-ruby_targets_rbx
+
+# Lilo works on amd64, so ...
+-lilo
+
+# 2007/08/19 - Christoph Mende <angelos@gentoo.org>
+# Unmask support for dev-db/oracle-instantclient-basic
+-oci8-instant-client
+-oracle
+
+# 2007/03/10 - Mike Frysinger <vapier@gentoo.org>
+# NVRAM works on x86/amd64 hosts
+-nvram
+
+# 2005/09/14 - Diego Pettenò <flameeyes@gentoo.org>
+# nVidia XvMC support works on amd64
+-nvidia
+
+# 2006/01/28 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: unmask for architectures on which they are available
+-input_devices_synaptics
+-input_devices_vmmouse
+-input_devices_wacom
+-video_cards_nvidia
+-video_cards_via
+-video_cards_virtualbox
+-video_cards_vmware
+-video_cards_qxl
+
+# Diego Pettenò <flameeyes@gentoo.org> (4 Jan 2007)
+# Unmask the flags for PHP that are available only on x86/amd64
+-oci8
+
+# Feb 16th 2007; Simon Stelling <blubb@gentoo.org>
+# Since this profile forces >=portage-2.1.2, we can unmask all
+# SIMD assembler flags
+-mpx
+-cpu_flags_x86_3dnow
+-cpu_flags_x86_3dnowext
+-cpu_flags_x86_aes
+-cpu_flags_x86_avx
+-cpu_flags_x86_avx2
+-cpu_flags_x86_fma3
+-cpu_flags_x86_fma4
+-cpu_flags_x86_mmx
+-cpu_flags_x86_mmxext
+-cpu_flags_x86_padlock
+-cpu_flags_x86_popcnt
+-cpu_flags_x86_sse
+-cpu_flags_x86_sse2
+-cpu_flags_x86_sse3
+-cpu_flags_x86_sse4_1
+-cpu_flags_x86_sse4_2
+-cpu_flags_x86_sse4a
+-cpu_flags_x86_ssse3
+-cpu_flags_x86_xop
+
+# George Shapovalov <george@gentoo.org> (8 Apr 2007)
+# supported on amd64
+-ada
+
+# Robert Buchholz <rbu@gentoo.org> (03 Jun 2007)
+# Unmask as it works on amd64
+-lcd_devices_luise
+
+# SECTION: Unavailable/Broken
+
+# 2006/06/07 - Danny van Dyk <kugelfang@gentoo.org>
+# FIXME. Unknown mask reason. Has effect on qpopper
+# and tpop3d.
+drac
+
+# 2006/02/05 - Donnie Berkholz <dberkholz@gentoo.org>
+# Modular X: mask for architectures on which they aren't available
+video_cards_i740
+video_cards_newport
+video_cards_nsc
+
+# 2004/06/22 - Taken from 2004.0 profile
+# masked
+3dfx
+
+# 2007/02/04 - Simon Stelling <blubb@gentoo.org>
+# games-emulation/caps is 32bit only, while app-emulation/e-uae is 64bit; bug 158416
+capslib
+
+# fdk-aac is already keyworded here
+-fdk
+
+# NOT NECESSARY - SECTION
diff --git a/profiles/arch/amd64/use.stable.mask b/profiles/arch/amd64/use.stable.mask
new file mode 100644
index 000000000000..2bf7d3769e73
--- /dev/null
+++ b/profiles/arch/amd64/use.stable.mask
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# This file requires eapi 5 or later. New entries go on top.
+# Please use the same syntax as in use.mask
+
+# Michael Palimaka <kensington@gentoo.org> (03 Jun 2017)
+# Not yet stable.
+elogind
+
+# Andreas K. Hüttel <dilfridge@gentoo.org> (26 May 2017)
+# dev-db/firebird is keyworded ~amd64
+firebird
+
+# Michał Górny <mgorny@gentoo.org> (20 May 2017)
+# The modern versions of CUDA SDK are not suitable for stabilization.
+cuda
+
+# Mike Gilbert <floppym@gentoo.org> (19 Oct 2014)
+# sys-libs/libapparmor
+apparmor
+
+# Andrey Grozin <grozin@gentoo.org> (25 Jun 2014)
+# no stable versions on amd64
+clozurecl
+
+# Michał Górny <mgorny@gentoo.org> (30 Mar 2014)
+# PyPy is unstable on this arch.
+python_targets_pypy
+python_single_target_pypy
+python_targets_pypy3
+python_single_target_pypy3
diff --git a/profiles/arch/amd64/x32/eapi b/profiles/arch/amd64/x32/eapi
new file mode 100644
index 000000000000..7ed6ff82de6b
--- /dev/null
+++ b/profiles/arch/amd64/x32/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/arch/amd64/x32/make.defaults b/profiles/arch/amd64/x32/make.defaults
new file mode 100644
index 000000000000..16e4a413a4cc
--- /dev/null
+++ b/profiles/arch/amd64/x32/make.defaults
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DEFAULT_ABI="x32"
+ABI="x32"
+MULTILIB_ABIS="amd64 x86 x32"
+
+LIBDIR_x86="lib"
+SYMLINK_LIB="no"
+
+# Michał Górny <mgorny@gentoo.org> (01 Jul 2014)
+# Default to abi_x86_x32 for packages that don't have it forced.
+ABI_X86="x32"
+
+# Michał Górny <mgorny@gentoo.org> (25 Jun 2014)
+# Make the native ABI implicit so that MULTILIB_USEDEP can be satisfied
+# by non-multilib ebuilds when non-native ABIs are disabled.
+IUSE_IMPLICIT="-abi_x86_64 abi_x86_x32"
diff --git a/profiles/arch/amd64/x32/package.mask b/profiles/arch/amd64/x32/package.mask
new file mode 100644
index 000000000000..21ac3139080e
--- /dev/null
+++ b/profiles/arch/amd64/x32/package.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Pawel Hajdan jr <phajdan.jr@gentoo.org> (07 Oct 2012)
+# V8 upstream said they won't support x32, bug #423815
+# Masked packages containing V8.
+net-libs/nodejs
+www-client/chromium
diff --git a/profiles/arch/amd64/x32/package.use.force b/profiles/arch/amd64/x32/package.use.force
new file mode 100644
index 000000000000..104f780e302b
--- /dev/null
+++ b/profiles/arch/amd64/x32/package.use.force
@@ -0,0 +1,7 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny <mgorny@gentoo.org> (08 Apr 2017)
+# Require sandbox to be multilib-capable to avoid failures when building
+# multilib packages, #611292.
+sys-apps/sandbox abi_x86_64
diff --git a/profiles/arch/amd64/x32/package.use.mask b/profiles/arch/amd64/x32/package.use.mask
new file mode 100644
index 000000000000..e34318af7887
--- /dev/null
+++ b/profiles/arch/amd64/x32/package.use.mask
@@ -0,0 +1,14 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# This file requires >=portage-2.1.1
+
+# Alexandre Rostovtsev <tetromino@gentoo.org> (03 Mar 2013)
+# Wine is x86- and x64-only
+app-emulation/wine abi_x86_x32
+
+# Davide Pesavento <pesa@gentoo.org> (30 Nov 2011)
+# The QML (V4) and JSC JITs do not work on x32.
+dev-qt/qtdeclarative jit
+dev-qt/qtscript jit
+dev-qt/qtwebkit jit
diff --git a/profiles/arch/amd64/x32/parent b/profiles/arch/amd64/x32/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/arch/amd64/x32/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/arch/amd64/x32/use.force b/profiles/arch/amd64/x32/use.force
new file mode 100644
index 000000000000..88868c58e334
--- /dev/null
+++ b/profiles/arch/amd64/x32/use.force
@@ -0,0 +1,5 @@
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the default ABI, and unforce generic
+# one.
+abi_x86_x32
+-abi_x86_64
diff --git a/profiles/arch/amd64/x32/use.mask b/profiles/arch/amd64/x32/use.mask
new file mode 100644
index 000000000000..2ed01d2ac7ae
--- /dev/null
+++ b/profiles/arch/amd64/x32/use.mask
@@ -0,0 +1,6 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the x32 ABI.
+-abi_x86_x32