Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 772118 Details for
Bug 839648
net-wireless/broadcom-sta-6.30.223.271-r6 - /.../wl_linux.c: error: implicit declaration of function PDE_DATA
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log
net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log (text/plain), 17.53 KB, created by
Toralf Förster
on 2022-04-20 08:39:50 UTC
(
hide
)
Description:
net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-04-20 08:39:50 UTC
Size:
17.53 KB
patch
obsolete
> * Package: net-wireless/broadcom-sta-6.30.223.271-r6 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * 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: > * 5.17.3-gentoo-dist > * Checking for suitable kernel configuration options ... > * B43: If you insist on building this, you must blacklist it! > * BCMA: If you insist on building this, you must blacklist it! > * SSB: If you insist on building this, you must blacklist it! > * X86_INTEL_LPSS: Please disable it. The module does not work with it enabled. > * MAC80211: If you insist on building this, you must blacklist it! > * LIB80211_CRYPT_TKIP: You will need this for WPA. > * PREEMPT_RCU: Please do not set the Preemption Model to "Preemptible Kernel"; choose something else. > [ !! ] > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. >>>> Unpacking source... >>>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring. >>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work >>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... > * Applying broadcom-sta-6.30.223.141-makefile.patch ... >patching file Makefile >Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines). > [ ok ] > * Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.141-gcc.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ... >patching file Makefile >Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines). > [ ok ] > * Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ... > [ ok ] > * Applying broadcom-sta-6.30.223.271-r6-linux-5.9.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ... >ln: failed to create symbolic link 'Module.symvers': File exists > * Preparing wl module >make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko >make: Entering directory '/usr/src/linux-5.17.3-gentoo-dist' >CFG80211 API is prefered for this kernel version >Using CFG80211 API > CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o > CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o > CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.o > CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function âosl_os_get_image_blockâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:35: warning: passing argument 2 of âkernel_readâ makes pointer from integer without a cast [-Wint-conversion] > 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); > | ~~^~~~~~~ > | | > | loff_t {aka long long int} >In file included from ./include/linux/huge_mm.h:8, > from ./include/linux/mm.h:697, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: >./include/linux/fs.h:3020:43: note: expected âvoid *â but argument is of type âloff_tâ {aka âlong long intâ} > 3020 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); > | ^~~~~~ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:44: warning: passing argument 3 of âkernel_readâ makes integer from pointer without a cast [-Wint-conversion] > 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); > | ^~~ > | | > | char * >In file included from ./include/linux/huge_mm.h:8, > from ./include/linux/mm.h:697, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: >./include/linux/fs.h:3020:51: note: expected âsize_tâ {aka âlong unsigned intâ} but argument is of type âchar *â > 3020 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); > | ^~~~~~ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:49: warning: passing argument 4 of âkernel_readâ makes pointer from integer without a cast [-Wint-conversion] > 1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len); > | ^~~ > | | > | int >In file included from ./include/linux/huge_mm.h:8, > from ./include/linux/mm.h:697, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25: >./include/linux/fs.h:3020:59: note: expected âloff_t *â {aka âlong long int *â} but argument is of type âintâ > 3020 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *); > | ^~~~~~~~ >In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:81: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.h:74: warning: "isprint" redefined > 74 | #define isprint(c) bcm_isprint(c) > | >In file included from ./include/linux/string_helpers.h:6, > from ./include/linux/seq_file.h:7, > from ./include/linux/seq_file_net.h:5, > from ./include/net/net_namespace.h:183, > from ./include/linux/netdevice.h:37, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:69, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: >./include/linux/ctype.h:30: note: this is the location of the previous definition > 30 | #define isprint(c) ((__ismask(c)&(_P|_U|_L|_D|_SP)) != 0) > | >In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function âwl_attachâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:647:43: warning: passing argument 1 of âmemcpyâ discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 647 | bcopy(&wl->pub->cur_etheraddr, dev->dev_addr, ETHER_ADDR_LEN); >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro âbcopyâ > 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) > | ^~~ >In file included from ./include/linux/string.h:253, > from ./include/linux/bitmap.h:11, > from ./include/linux/cpumask.h:12, > from ./arch/x86/include/asm/cpumask.h:5, > from ./arch/x86/include/asm/msr.h:11, > from ./arch/x86/include/asm/processor.h:22, > from ./arch/x86/include/asm/timex.h:5, > from ./include/linux/timex.h:65, > from ./include/linux/time32.h:13, > from ./include/linux/time.h:60, > from ./include/linux/stat.h:19, > from ./include/linux/module.h:13, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: >./include/linux/fortify-string.h:212:37: note: expected âvoid *â but argument is of type âconst unsigned char *â > 212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size) > | ~~~~~~^ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function âwl_pci_probeâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:9: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 786 | if ((val & 0x0000ff00) != 0) > | ^~ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 788 | bar1_size = pci_resource_len(pdev, 2); > | ^~~~~~~~~ >In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function âwl_set_mac_addressâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:1853:31: warning: passing argument 1 of âmemcpyâ discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1853 | bcopy(sa->sa_data, dev->dev_addr, ETHER_ADDR_LEN); >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro âbcopyâ > 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) > | ^~~ >In file included from ./include/linux/string.h:253, > from ./include/linux/bitmap.h:11, > from ./include/linux/cpumask.h:12, > from ./arch/x86/include/asm/cpumask.h:5, > from ./arch/x86/include/asm/msr.h:11, > from ./arch/x86/include/asm/processor.h:22, > from ./arch/x86/include/asm/timex.h:5, > from ./include/linux/timex.h:65, > from ./include/linux/time32.h:13, > from ./include/linux/time.h:60, > from ./include/linux/stat.h:19, > from ./include/linux/module.h:13, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: >./include/linux/fortify-string.h:212:37: note: expected âvoid *â but argument is of type âconst unsigned char *â > 212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size) > | ~~~~~~^ >In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/osl.h:79, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:28: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function â_wl_add_monitor_ifâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3032:37: warning: passing argument 1 of âmemcpyâ discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 3032 | bcopy(wl->dev->dev_addr, dev->dev_addr, ETHER_ADDR_LEN); >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linux_osl.h:156:49: note: in definition of macro âbcopyâ > 156 | #define bcopy(src, dst, len) memcpy((dst), (src), (len)) > | ^~~ >In file included from ./include/linux/string.h:253, > from ./include/linux/bitmap.h:11, > from ./include/linux/cpumask.h:12, > from ./arch/x86/include/asm/cpumask.h:5, > from ./arch/x86/include/asm/msr.h:11, > from ./arch/x86/include/asm/processor.h:22, > from ./arch/x86/include/asm/timex.h:5, > from ./include/linux/timex.h:65, > from ./include/linux/time32.h:13, > from ./include/linux/time.h:60, > from ./include/linux/stat.h:19, > from ./include/linux/module.h:13, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:40, > from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:27: >./include/linux/fortify-string.h:212:37: note: expected âvoid *â but argument is of type âconst unsigned char *â > 212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size) > | ~~~~~~^ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function âwl_proc_readâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: error: implicit declaration of function âPDE_DATAâ; did you mean âNODE_DATAâ? [-Werror=implicit-function-declaration] > 3313 | wl_info_t * wl = PDE_DATA(file_inode(filp)); > | ^~~~~~~~ > | NODE_DATA >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3313:26: warning: initialization of âwl_info_t *â {aka âstruct wl_info *â} from âintâ makes pointer from integer without a cast [-Wint-conversion] >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function âwl_proc_writeâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:3370:26: warning: initialization of âwl_info_t *â {aka âstruct wl_info *â} from âintâ makes pointer from integer without a cast [-Wint-conversion] > 3370 | wl_info_t * wl = PDE_DATA(file_inode(filp)); > | ^~~~~~~~ >In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:43: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function âwl_set_auth_typeâ: >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=] > 52 | if (wl_dbg_level & WL_DBG_DBG) { \ > | ^ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro âWL_DBGâ > 793 | WL_DBG(("network eap\n")); > | ^~~~~~ >/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here > 794 | default: > | ^~~~~~~ >cc1: some warnings being treated as errors >make[1]: *** [scripts/Makefile.build:288: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >make: *** [Makefile:1831: /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work] Error 2 >make: Leaving directory '/usr/src/linux-5.17.3-gentoo-dist' > * ERROR: net-wireless/broadcom-sta-6.30.223.271-r6::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.271-r6::gentoo'`. > * The complete build log is located at '/var/log/portage/net-wireless:broadcom-sta-6.30.223.271-r6:20220420-061605.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/temp/environment'. > * Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work' > * S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/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 839648
:
772103
|
772106
|
772109
|
772112
|
772115
| 772118