Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 868964 Details for
Bug 913201
net-dialup/accel-ppp-1.12.0_p20230609 - /.../ipoe.c: error: ipoe_wlock undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dialup:accel-ppp-1.12.0_p20230609:20230829-013729.log
net-dialup:accel-ppp-1.12.0_p20230609:20230829-013729.log (text/plain), 17.32 KB, created by
Toralf Förster
on 2023-08-29 07:55:36 UTC
(
hide
)
Description:
net-dialup:accel-ppp-1.12.0_p20230609:20230829-013729.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-08-29 07:55:36 UTC
Size:
17.32 KB
patch
obsolete
> * Package: net-dialup/accel-ppp-1.12.0_p20230609:0 > * Repository: gentoo > * Maintainer: pinkbyte@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipoe kernel_linux libtomcrypt lua_single_target_lua5-1 shaper 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.4.12-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' '/usr/bin/x86_64-pc-linux-gnu-g++' '/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' > * > * Warning: kernel 6.4.12-gentoo-dist is built with gcc-12 but > * '/usr/bin/x86_64-pc-linux-gnu-gcc' is gcc-13 > * This *could* result in build issues or other incompatibilities. > * It is recommended to either `make clean` and rebuild the kernel > * with the current toolchain (for distribution kernels, re-installing > * will do the same), or set the KERNEL_CC variable to point to the > * same compiler. Note that when it is available, auto-selection is > * attempted making the latter rarely needed. > * >>>> Unpacking source... >>>> Unpacking accel-ppp-1.12.0_p20230609.tar.bz2 to /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work >>>> Source unpacked in /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work >>>> Preparing source in /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work ... > * QA notice: S=WORKDIR is deprecated for cmake.eclass. > * Please relocate the sources in src_unpack. > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work" > * Build directory (BUILD_DIR): "/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build" > * Applying accel-ppp-1.11.1-socklen.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work" > * Build directory (BUILD_DIR): "/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build" >cmake -C /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DLIB_SUFFIX=64 -DBUILD_IPOE_DRIVER=yes -DBUILD_PPTP_DRIVER=no -DBUILD_VLAN_MON_DRIVER=yes -DCRYPTO=TOMCRYPT -DLOG_PGSQL=no -DLUA=FALSE -DMEMDEBUG=no -DNETSNMP=no -DRADIUS=no -DSHAPER=yes -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build/gentoo_toolchain.cmake /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work >loading initial cache file /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build/gentoo_common_config.cmake >CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): > Compatibility with CMake < 3.5 will be removed from a future version of > CMake. > > Update the VERSION argument <min> value or use a ...<max> suffix to tell > CMake that the project does not need compatibility with older versions. > > >-- The C compiler identification is GNU 13.2.1 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Looking for timerfd_create >-- Looking for timerfd_create - found >-- Looking for linux/netfilter/ipset/ip_set.h >-- Looking for linux/netfilter/ipset/ip_set.h - found >-- Looking for setns >-- Looking for setns - found >-- Performing Test HAVE_VRF >-- Performing Test HAVE_VRF - Success >-- <<< Gentoo configuration >>> >Build type RelWithDebInfo >Install path /usr >Compiler flags: >C -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-strict-aliasing -D_GNU_SOURCE -fPIC -rdynamic -Wno-unused-result >C++ >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,lazy >Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,lazy >Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,lazy > >-- Configuring done (0.9s) >-- Generating done (0.0s) >-- Build files have been written to: /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/accel-ppp-1.12.0_p20230609_build >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work ... > * Building ipoe module in /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe ... >make -j5 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=: STRIP=: 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' 'HOSTCXXFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc CXX=/usr/bin/x86_64-pc-linux-gnu-g++ 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 default >make -C /usr/src/linux M=/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe 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 12.3.1_p20230526 p2) 12.3.1 20230526 > You are using: x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826 >make -f ./scripts/Makefile.build obj=/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe need-builtin=1 need-modorder=1 ># CC [M] /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.o > /usr/bin/x86_64-pc-linux-gnu-gcc -Wp,-MMD,/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/.ipoe.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=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -funsigned-char -std=gnu11 -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 -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -DMODULE -DKBUILD_BASENAME='"ipoe"' -DKBUILD_MODNAME='"ipoe"' -D__KBUILD_MODNAME=kmod_ipoe -c -o /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.o /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.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/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.o ># cmd_mod /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.mod > printf '%s\n' ipoe.o | awk '!x[$0]++ { print("/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/"$0) }' > /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.mod >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:138:35: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given > 138 | static DEFINE_SEMAPHORE(ipoe_wlock); > | ^ >In file included from ./include/linux/fs.h:25, > from ./include/linux/highmem.h:5, > from ./include/linux/bvec.h:10, > from ./include/linux/skbuff.h:17, > from /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:6: >./include/linux/semaphore.h:34: note: macro "DEFINE_SEMAPHORE" defined here > 34 | #define DEFINE_SEMAPHORE(_name, _n) \ > | >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:138:8: error: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ [-Werror=implicit-int] > 138 | static DEFINE_SEMAPHORE(ipoe_wlock); > | ^~~~~~~~~~~~~~~~ >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_stats64â: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:169:34: error: implicit declaration of function âu64_stats_fetch_begin_irqâ; did you mean âu64_stats_fetch_begin_bhâ? [-Werror=implicit-function-declaration] > 169 | #define u64_stats_fetch_begin_bh u64_stats_fetch_begin_irq > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:999:33: note: in expansion of macro âu64_stats_fetch_begin_bhâ > 999 | start = u64_stats_fetch_begin_bh(&st->sync); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:170:34: error: implicit declaration of function âu64_stats_fetch_retry_irqâ; did you mean âu64_stats_fetch_retry_bhâ? [-Werror=implicit-function-declaration] > 170 | #define u64_stats_fetch_retry_bh u64_stats_fetch_retry_irq > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1002:26: note: in expansion of macro âu64_stats_fetch_retry_bhâ > 1002 | } while (u64_stats_fetch_retry_bh(&st->sync, start)); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_createâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1191:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1191 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1191:15: note: each undeclared identifier is reported only once for each function it appears in >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_deleteâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1337:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1337 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_modifyâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1389:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1389 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_dump_sessionsâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1522:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1522 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_add_excludeâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1562:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1562 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âclean_excl_listâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1575:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1575 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_del_excludeâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1605:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1605 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_add_netâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1716:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1716 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_nl_cmd_del_netâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1733:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1733 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: In function âipoe_finiâ: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:1955:15: error: âipoe_wlockâ undeclared (first use in this function); did you mean âinode_lockâ? > 1955 | down(&ipoe_wlock); > | ^~~~~~~~~~ > | inode_lock >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c: At top level: >/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.c:138:8: warning: âDEFINE_SEMAPHOREâ defined but not used [-Wunused-variable] > 138 | static DEFINE_SEMAPHORE(ipoe_wlock); > | ^~~~~~~~~~~~~~~~ >cc1: some warnings being treated as errors >make[2]: *** [scripts/Makefile.build:252: /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe/ipoe.o] Error 1 >make[1]: *** [Makefile:2032: /var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe] Error 2 >make: *** [Makefile:4: default] Error 2 > * ERROR: net-dialup/accel-ppp-1.12.0_p20230609::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-dialup/accel-ppp-1.12.0_p20230609::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-dialup/accel-ppp-1.12.0_p20230609::gentoo'`. > * The complete build log is located at '/var/log/portage/net-dialup:accel-ppp-1.12.0_p20230609:20230829-013729.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/temp/environment'. > * Working directory: '/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work/drivers/ipoe' > * S: '/var/tmp/portage/net-dialup/accel-ppp-1.12.0_p20230609/work' >
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 913201
:
868959
|
868960
|
868961
|
868962
|
868963
| 868964