Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German)
  • Search

kann gentoo-kernel nicht mehr updaten (gelöst)

Support-Forum
Diskussionen rund um Installation, Betrieb und Anpassungen von Gentoo und dessen Paketen sowie dabei auftretenden (technischen) Problemen.
Deutsches Portal: www.gentoo.de
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
alfnot_12
n00b
n00b
Posts: 4
Joined: Thu Nov 28, 2024 8:44 am

kann gentoo-kernel nicht mehr updaten (gelöst)

  • Quote

Post by alfnot_12 » Fri Jul 11, 2025 3:09 pm

Hallo

seit der Version 6.12.34, kann ich den Gentoo-Kernel nicht mehr updaten

Code: Select all


libbpf.c: In function ���probe_kern_syscall_wrapper���:
libbpf.c:11050:45: error: ���%s��� directive output may be truncated writing up to 63 bytes into a region of size between 34 and 53 [-Werror=format-truncation=]
11050 |         snprintf(buf, buf_sz, "libbpf_%u_%d_%s_0x%zx", getpid(),
      |                                             ^~
......
11181 |                 gen_probe_legacy_event_name(probe_name, sizeof(probe_name), syscall_name, 0);
      |                                                                             ~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from libbpf.c:17:
In function ���snprintf���,
    inlined from ���gen_probe_legacy_event_name��� at libbpf.c:11050:2,
    inlined from ���probe_kern_syscall_wrapper��� at libbpf.c:11181:3:
/usr/include/bits/stdio2.h:68:10: note: ���__builtin___snprintf_chk��� output between 16 and 98 bytes into a destination of size 64
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/linux-6.12/tools/build/Makefile.build:105: /var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/modprep/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf.o] Error 1
make[5]: *** [Makefile:165: /var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/modprep/tools/bpf/resolve_btfids/libbpf/staticobjs/libbpf-in.o] Error 2
make[4]: *** [Makefile:63: /var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/modprep/tools/bpf/resolve_btfids//libbpf/libbpf.a] Error 2
make[3]: *** [Makefile:76: bpf/resolve_btfids] Error 2
make[2]: *** [/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/linux-6.12/Makefile:1380: tools/bpf/resolve_btfids] Error 2
make[1]: *** [/var/tmp/portage/sys-kernel/gentoo-kernel-6.12.34/work/linux-6.12/Makefile:224: __sub-make] Error 2
make: *** [Makefile:224: __sub-make] Error 2
 * ERROR: sys-kernel/gentoo-kernel-6.12.34::gentoo failed (configure phase):
 *   emake failed

Code: Select all

emerge --info '=sys-kernel/gentoo-kernel-6.12.34::gentoo'
Portage 3.0.68 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.41-r4, 6.12.31-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.31-gentoo-dist-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.41
KiB Mem:    16096704 total,   7252120 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 11 Jul 2025 13:07:25 +0000
Head commit of repository gentoo: 9397624fe08f8da6d8a7cfc3592cfeeca7e1a934

Timestamp of repository guru: Thu, 10 Jul 2025 20:07:23 +0000
Head commit of repository guru: 85fe021b6456626d0bb783fb39aad11b4d840d83

Head commit of repository thegreatmcpain: c88ab50ebaf7c436158e8134335190f8f85c248b

sh bash 5.2_p37-r3
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r2::gentoo
dev-build/cmake:           3.31.7-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.2::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.13.5::gentoo
dev-lang/rust-bin:         1.87.0::gentoo
llvm-core/clang:           20.1.7::gentoo
llvm-core/llvm:            20.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          257.6::gentoo
sys-devel/binutils:        2.44-r3::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.3.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://gitlab.com/TheGreatMcPain/thegreatmcpain-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -O8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=alderlake -O8 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=alderlake -O8 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=alderlake -O8 -pipe"
GENTOO_MIRRORS="http://80.68.83.150/gentoo/ rsync://202.38.95.110/gentoo/ rsync://83.138.55.253/gentoo/ rsync://130.236.254.253/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dist-kernel dri dts dvd dvdr encode exif extra ffmpeg flac gdbm gif gpm grub gtk gui iconv icu initramfs ipv6 jack-sdk jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire-alsa png policykit ppds qml qt5 qt6 readline sdl seccomp sound sound-server spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xorg xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Code: Select all

emerge -pqv '=sys-kernel/gentoo-kernel-6.12.34::gentoo'
[ebuild  NS   ] sys-kernel/gentoo-kernel-6.12.34 [6.12.31] USE="debug initramfs strip -experimental (-generic-uki) -hardened -modules-compress -modules-sign -savedconfig -secureboot -test" 
[ebuild     U ] virtual/dist-kernel-6.12.34 [6.12.31]
was an Logdateien braucht ihr damit mir geholfen werden kann ?

Danke
Last edited by alfnot_12 on Sat Jul 12, 2025 3:07 pm, edited 1 time in total.
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Sat Jul 12, 2025 6:22 am

Hi,
ich bin mir nicht sicher ob es daran liegt, aber versuche mal statt
-march=alderlake -O8 -pipe
mit
-march=alderlake -O2 -pipe
Top
alfnot_12
n00b
n00b
Posts: 4
Joined: Thu Nov 28, 2024 8:44 am

  • Quote

Post by alfnot_12 » Sat Jul 12, 2025 3:07 pm

Hallo,

Danke das war der Fehler,

mit -march=alderlake -O2 -pipe ,konnte ich den Kernel emergen
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Deutsches Forum (German)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic