Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946387 - sys-kernel/gentoo-sources-6.12.4-r1 fails to make due to compilation warning using gcc15
Summary: sys-kernel/gentoo-sources-6.12.4-r1 fails to make due to compilation warning ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 18:24 UTC by Kim B. Sindalsen
Modified: 2025-02-13 16:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
6.12.4-r1 .config (.config,102.32 KB, text/plain)
2024-12-13 18:24 UTC, Kim B. Sindalsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kim B. Sindalsen 2024-12-13 18:24:06 UTC
A few drivers generates warnings (=errors under gcc15)

  CC      drivers/acpi/sysfs.o
drivers/pnp/quirks.c:414:10: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
  414 |         {"CTL0021", quirk_awe32_resources},
      |          ^~~~~~~~~
drivers/pnp/quirks.c:415:10: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
  415 |         {"CTL0022", quirk_awe32_resources},
      |          ^~~~~~~~~
...
  CC      drivers/acpi/acpica/dswload.o
lib/crypto/aescfb.c:122:27: error: initializer-string for array of ‘unsigned char’ is too long [-Werror=unterminated-string-initialization]
  122 |                 .iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/crypto/aescfb.c:124:27: error: initializer-string for array of ‘unsigned char’ is too long [-Werror=unterminated-string-initialization]
  124 |                 .ptext  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
  CC      net/core/filter.o
In file included from drivers/acpi/acpica/nspredef.c:15:
drivers/acpi/acpica/acpredef.h:188:11: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
  188 |         {{"_AC0", METHOD_0ARGS,
      |           ^~~~~~
drivers/acpi/acpica/acpredef.h:191:11: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
  191 |         {{"_AC1", METHOD_0ARGS,
      |           ^~~~~~
drivers/acpi/acpica/acpredef.h:194:11: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization]
  194 |         {{"_AC2", METHOD_0ARGS,
      |           ^~~~~~




Reproducible: Always




ns ~ # emerge --info
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/no-multilib/hardened, gcc-15, glibc-2.40-r7, 6.12.4-gentoo-r1-x86_64 x86_64)
=================================================================
System uname: Linux-6.12.4-gentoo-r1-x86_64-x86_64-Intel-R-_Atom-TM-_CPU_C3758R_@_2.40GHz-with-glibc2.40
KiB Mem:    16393540 total,  11766524 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of repository eras-overlay: Thu, 12 Dec 2024 06:50:34 +0000
Head commit of repository eras-overlay: 59eb4800bc5c5f4b434f3917a3f3adb4e6b651d8

Timestamp of repository guru: Thu, 12 Dec 2024 22:05:17 +0000
Head commit of repository guru: c91a7f53487d6052d0ba8ae27d59f48c4b7e8f1e

Timestamp of repository gentoo: Fri, 13 Dec 2024 01:00:00 +0000
Head commit of repository gentoo: a2963fc1a23747bbb60a3785bf06dd566e6d8be9
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.2::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0-r1::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust-bin:         1.83.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241116::gentoo, 15.0.0_pre20241208-r1::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r7::gentoo
Repositories:

local
    location: /var/db/repos/local
    masters: gentoo
    priority: -1
    volatile: False

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

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

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1

Installed sets: @common
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize -flifetime-dse=1"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --buildpkg-exclude 'virtual/* sys-kernel/*-sources sys-apps/pkgcore'"
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="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks 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 sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=goldmont --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=16384 -Werror=strict-aliasing -Werror=odr -Werror=lto-type-mismatch -Wstack-protector -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=auto -fuse-linker-plugin -fno-fat-lto-objects -ftree-vectorize"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo     https://mirror.netcologne.de/gentoo/     https://[2a0d:f302:111:83ae::1]/gentoo/     https://[2a0d:f302:136:1d62::1]/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-fuse-ld=mold -Wl,--as-needed -Wl,-O2 -flto -fuse-linker-plugin -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j4 -l3"
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="acl amd64 audit berkdb bzip2 caps cet crypt gdbm hardened iconv icu idn ipv6 libtirpc lto ncurses nls openmp pam pcre pgo pic pie readline seccomp ssl ssp test-rust udev unicode usb verify-sig xattr xml xtpax zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PERL_FEATURES="ithreads quadmath" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, 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
Comment 1 Kim B. Sindalsen 2024-12-13 18:24:41 UTC
Created attachment 913952 [details]
6.12.4-r1 .config