Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 905362 Details for
Bug 941417
app-laptop/framework-laptop-kmod-0_pre20240506 - [libtool] [gcc-15] /.../framework_laptop.c: error: initialization of void ( )(struct platform_device ) from incompatible
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.log
app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.log (text/plain), 9.47 KB, created by
Toralf Förster
on 2024-10-12 18:04:56 UTC
(
hide
)
Description:
app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-10-12 18:04:56 UTC
Size:
9.47 KB
patch
obsolete
> * Package: app-laptop/framework-laptop-kmod-0_pre20240506:0 > * Repository: gentoo > * Maintainer: chutzpah@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux strip > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.11.3-gentoo-dist > * Checking for suitable kernel configuration options ... > [ ok ] > * Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ... > * Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-15' '/usr/bin/x86_64-pc-linux-gnu-g++-15' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip' >>>> Unpacking source... >>>> Unpacking framework-laptop-kmod-0_pre20240506.gh.tar.gz to /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work >>>> Source unpacked in /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work >>>> Preparing source in /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 ... > * Building framework_laptop module in /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 ... >make -O -j4 ARCH=x86 V=1 KBUILD_VERBOSE=1 CONFIG_WERROR= CONFIG_MODULE_SIG_ALL= CONFIG_MODULE_COMPRESS_GZIP= CONFIG_MODULE_COMPRESS_XZ= CONFIG_MODULE_COMPRESS_ZSTD= DEPMOD=true STRIP=true CROSS_COMPILE=x86_64-pc-linux-gnu- HOSTCC=x86_64-pc-linux-gnu-gcc HOSTCXX=x86_64-pc-linux-gnu-g++ 'HOSTCFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' 'HOSTCXXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc-15 CXX=/usr/bin/x86_64-pc-linux-gnu-g++-15 LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd AR=/usr/bin/x86_64-pc-linux-gnu-gcc-ar NM=/usr/bin/x86_64-pc-linux-gnu-gcc-nm OBJCOPY=/usr/bin/x86_64-pc-linux-gnu-objcopy OBJDUMP=/usr/bin/x86_64-pc-linux-gnu-objdump READELF=/usr/bin/x86_64-pc-linux-gnu-readelf KDIR=/usr/src/linux modules >make -C /usr/src/linux M=$PWD modules >make --no-print-directory -C /usr/src/linux-6.11.3-gentoo-dist \ >-f /usr/src/linux-6.11.3-gentoo-dist/Makefile modules >warning: the compiler differs from the one used to build the kernel > The kernel was built by: x86_64-pc-linux-gnu-gcc (Gentoo Hardened 15.0.0_pre20241006 p15) 15.0.0 20241006 (experimental) > You are using: x86_64-pc-linux-gnu-gcc-15 (Gentoo Hardened 15.0.0_pre20241006 p15) 15.0.0 20241006 (experimental) >make -f ./scripts/Makefile.build obj=/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368 need-builtin=1 need-modorder=1 ># cmd_mod /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.mod > printf '%s\n' framework_laptop.o | awk '!x[$0]++ { print("/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/"$0) }' > /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.mod ># CC [M] /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.o > /usr/bin/x86_64-pc-linux-gnu-gcc-15 -Wp,-MMD,/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/.framework_laptop.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wextra -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -fsanitize=bounds-strict -fsanitize=shift -DMODULE -DKBUILD_BASENAME='"framework_laptop"' -DKBUILD_MODNAME='"framework_laptop"' -D__KBUILD_MODNAME=kmod_framework_laptop -c -o /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.o /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --ibt --orc --retpoline --rethunk --sls --static-call --uaccess --prefix=16 --link --module /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.o >/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.c:777:19: error: initialization of âvoid (*)(struct platform_device *)â from incompatible pointer type âint (*)(struct platform_device *)â [-Wincompatible-pointer-types] > 777 | .remove = framework_remove, > | ^~~~~~~~~~~~~~~~ >/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.c:777:19: note: (near initialization for âframework_driver.<anonymous>.removeâ) >make[3]: *** [scripts/Makefile.build:244: /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368/framework_laptop.o] Error 1 >make[2]: *** [/usr/src/linux-6.11.3-gentoo-dist/Makefile:1934: /var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368] Error 2 >make[1]: *** [Makefile:224: __sub-make] Error 2 >make: *** [Makefile:12: modules] Error 2 > * ERROR: app-laptop/framework-laptop-kmod-0_pre20240506::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-laptop/framework-laptop-kmod-0_pre20240506::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-laptop/framework-laptop-kmod-0_pre20240506::gentoo'`. > * The complete build log is located at '/var/log/portage/app-laptop:framework-laptop-kmod-0_pre20240506:20241012-175924.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/temp/environment'. > * Working directory: '/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368' > * S: '/var/tmp/portage/app-laptop/framework-laptop-kmod-0_pre20240506/work/framework-laptop-kmod-cfff3d242c11dc3ebfa70e7771ee1c094bf2f368' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 941417
:
905361
| 905362 |
905363
|
905364
|
905365
|
905366
|
905367
|
905368