summaryrefslogtreecommitdiff
path: root/hosts/moyo
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/moyo')
-rw-r--r--hosts/moyo/gentoo/make.conf20
-rw-r--r--hosts/moyo/kernel_config11
-rwxr-xr-xhosts/moyo/scripts/gen-dracut2
3 files changed, 21 insertions, 12 deletions
diff --git a/hosts/moyo/gentoo/make.conf b/hosts/moyo/gentoo/make.conf
index c4778b9..22b2cde 100644
--- a/hosts/moyo/gentoo/make.conf
+++ b/hosts/moyo/gentoo/make.conf
@@ -1,14 +1,22 @@
-COMMON_FLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -flto=auto -fuse-linker-plugin -pipe"
+WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
+COMMON_FLAGS="-O2 -pipe -march=znver1 -mtune=znver1 -fno-semantic-interposition -flto ${WARNING_FLAGS}"
+
CFLAGS="${COMMON_FLAGS}"
-CXXFLAGS="${CFLAGS}"
+CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
-RUSTFLAGS="-C opt-level=2 -C target-cpu=native"
+
+CGO_CFLAGS="${COMMON_FLAGS}"
+CGO_CXXFLAGS="${COMMON_FLAGS}"
+CGO_FFLAGS="${COMMON_FLAGS}"
+CGO_LDFLAGS="${LDFLAGS}"
+
+RUSTFLAGS="-C opt-level=2 -C target-cpu=znver1"
MAKEOPTS="-j4"
EMERGE_DEFAULT_OPTS="--jobs 2"
-RUBY_TARGETS="ruby31"
+RUBY_TARGETS="ruby32"
LUA_SINGLE_TARGET="luajit"
LUA_TARGETS="luajit"
@@ -18,11 +26,11 @@ KERNEL="linux"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
-USE="custom-cflags orc lto pgo native-extensions dbus udev policykit acl -systemd -consolekit -X -wayland -gtk -gnome -kde -qt5 -qt6 -alsa -jack -pulseaudio -bluetooth -introspection -nls -numa -selinux -caps -filecaps -sysprof -pie -pic -unwind -ssp -hardened -sanitize -debug -cpudetection"
+USE="lto pgo orc native-extensions dbus udev policykit acl -systemd -consolekit -X -wayland -gtk -gnome -kde -qt5 -qt6 -alsa -jack -pulseaudio -bluetooth -introspection -nls -numa -selinux -caps -filecaps -sysprof -pie -pic -unwind -ssp -hardened -sanitize -debug -cpudetection"
GRUB_PLATFORMS="efi-64"
-VIDEO_CARDS="radeon"
+VIDEO_CARDS="amdgpu radeonsi"
INPUT_DEVICES="keyboard"
L10N="en"
diff --git a/hosts/moyo/kernel_config b/hosts/moyo/kernel_config
index 72fcdcd..ae04fe0 100644
--- a/hosts/moyo/kernel_config
+++ b/hosts/moyo/kernel_config
@@ -1,15 +1,15 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 6.6.58-gentoo-r1 Kernel Configuration
+# Linux/x86 6.6.67-gentoo Kernel Configuration
#
-CONFIG_CC_VERSION_TEXT="gcc (Gentoo 13.3.1_p20241025 p1) 13.3.1 20241024"
+CONFIG_CC_VERSION_TEXT="gcc (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221"
CONFIG_CC_IS_GCC=y
-CONFIG_GCC_VERSION=130301
+CONFIG_GCC_VERSION=140201
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
-CONFIG_AS_VERSION=24200
+CONFIG_AS_VERSION=24301
CONFIG_LD_IS_BFD=y
-CONFIG_LD_VERSION=24200
+CONFIG_LD_VERSION=24301
CONFIG_LLD_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_CAN_LINK_STATIC=y
@@ -5168,6 +5168,7 @@ CONFIG_ARCH_SUPPORTS_KMAP_LOCAL_FORCE_MAP=y
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
CONFIG_CC_HAS_KASAN_GENERIC=y
+CONFIG_CC_HAS_KASAN_SW_TAGS=y
CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
# CONFIG_KASAN is not set
CONFIG_HAVE_ARCH_KFENCE=y
diff --git a/hosts/moyo/scripts/gen-dracut b/hosts/moyo/scripts/gen-dracut
index d4cd33a..ad9d4dd 100755
--- a/hosts/moyo/scripts/gen-dracut
+++ b/hosts/moyo/scripts/gen-dracut
@@ -1,2 +1,2 @@
#! /usr/bin/env sh
-dracut -a lvm --kver=6.6.58-gentoo-r1 --force
+dracut -a lvm --kver=6.6.67-gentoo --force