Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922876 - games-util/xpadneo-0.9.5-r1: build fail compile phase
Summary: games-util/xpadneo-0.9.5-r1: build fail compile phase
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 01:36 UTC by inkflaw
Modified: 2024-01-25 01:44 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description inkflaw 2024-01-25 01:36:50 UTC
>>> Compiling source in /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5 ...                                                                                                                                                  * Building hid-xpadneo module in /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo ...                                                                                                                           make -j20 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=clang HOSTCXX=clang++ 'HOSTCFLAGS=-O2 -march=native' 'HOSTCXXFLAGS=-O2 -march=native' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc-13 CXX=/usr/bin/x86_64-pc-linux-gnu-g++-13 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 KERNEL_SOURCE_DIR=/usr/src/linux modules                                                                                                                                                                               make -C /usr/src/linux INSTALL_MOD_DIR="kernel/drivers/hid" LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd M=/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src VERSION="v0.9.5" modules                               make --no-print-directory -C /usr/src/linux-6.7.0-cachyos \                                                                                                                                                                                 -f /usr/src/linux-6.7.0-cachyos/Makefile modules                                                                                                                                                                                            warning: the compiler differs from the one used to build the kernel                                                                                                                                                                           The kernel was built by: clang version 17.0.6                                                                                                                                                                                               You are using:           x86_64-pc-linux-gnu-gcc-13 (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113                                                                                                                                      make -f ./scripts/Makefile.build obj=/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src need-builtin=1 need-modorder=1                                                                                         # cmd_mod /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.mod                                                                                                                                     printf '%s\n'   hid-xpadneo.o | awk '!x[$0]++ { print("/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/"$0) }' > /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.mod                                                                                                                                                                                                                                      # CC [M]  /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.o                                                                                                                                       /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/.hid-xpadneo.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__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -fno-tree-vectorize -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 -mretpoline-external-thunk -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fpatchable-function-entry=11,11 -fno-delete-null-pointer-checks -O2 -fstack-protector-strong -pg -DCC_USING_NOP_MCOUNT -fsanitize=kcfi -falign-functions=16 -fno-strict-overflow -fno-stack-check -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wframe-larger-than=2048 -Wno-gnu -Wvla -Wno-pointer-sign -Wimplicit-fallthrough -Werror=date-time -Wno-tautological-constant-out-of-range-compare -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-initializer-overrides -Wno-sign-compare -DVERSION=v0.9.5  -DMODULE  -DKBUILD_BASENAME='"hid_xpadneo"' -DKBUILD_MODNAME='"hid_xpadneo"' -D__KBUILD_MODNAME=kmod_hid_xpadneo -c -o /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.o /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --ibt --cfi --mcount --mnop --orc --retpoline --rethunk --static-call --uaccess  --link  --module /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.o                                                                                                                                                                                     x86_64-pc-linux-gnu-gcc-13: error: unrecognized argument to ‘-fsanitize=’ option: ‘kcfi’                                                                                                                                                    x86_64-pc-linux-gnu-gcc-13: error: unrecognized command-line option ‘-mretpoline-external-thunk’                                                                                                                                            make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src/hid-xpadneo.o] Error 1                                                                                            make[2]: *** [/usr/src/linux-6.7.0-cachyos/Makefile:1914: /var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo/src] Error 2                                                                                          make[1]: *** [Makefile:234: __sub-make] Error 2                                                                                                                                                                                             make: *** [Makefile:12: modules] Error 2                                                                                                                                                                                                     * ERROR: games-util/xpadneo-0.9.5-r1::gentoo failed (compile phase):                                                                                                                                                                        *   emake failed                                                                                                                                                                                                                            *                                                                                                                                                                                                                                           * If you need support, post the output of `emerge --info '=games-util/xpadneo-0.9.5-r1::gentoo'`,                                                                                                                                           * the complete build log and the output of `emerge -pqv '=games-util/xpadneo-0.9.5-r1::gentoo'`.                                                                                                                                            * The complete build log is located at '/var/tmp/portage/games-util/xpadneo-0.9.5-r1/temp/build.log'.                                                                                                                                       * The ebuild environment file is located at '/var/tmp/portage/games-util/xpadneo-0.9.5-r1/temp/environment'.                                                                                                                                * Working directory: '/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5/hid-xpadneo'                                                                                                                                          * S: '/var/tmp/portage/games-util/xpadneo-0.9.5-r1/work/xpadneo-0.9.5'

games-util/xpadneo-0.9.5-r1::gentoo was built with the following:                                                                                                                                                                           USE="strip -dist-kernel -modules-compress -modules-sign" ABI_X86="(64)"                                                                                                                                                                      

Use kernel:
6.7.1-gentoo-dist (building time) and linux-6.7.0-cachyos
Comment 1 Leonardo Hernández Hernández 2024-01-25 01:39:48 UTC
Please always attach the full build.log (compressed if necessary) and emerge --info.
Comment 2 Ionen Wolkens gentoo-dev 2024-01-25 01:41:23 UTC
(In reply to Leonardo Hernández Hernández from comment #1)
> Please always attach the full build.log (compressed if necessary) and emerge
> --info.
This please, for me it builds fine with 6.7.1 and I got nothing to go by without that.
Comment 3 inkflaw 2024-01-25 01:44:22 UTC
Seems because my eselect kernel set to cachyos kernel, when I switch to disk kernel all working fine, thinks all guys at here