Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call to ‘__read_overflow2’ declared with attribute error is reported while running make #44

Open
AllenShi opened this issue Apr 22, 2018 · 8 comments

Comments

@AllenShi
Copy link

During make, the following error is reported:

make[1]: Entering directory '/usr/src/linux-headers-4.13.0-38-generic'
CC [M] /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.o
In file included from ./include/linux/bitmap.h:8:0,
from ./include/linux/cpumask.h:11,
from ./arch/x86/include/asm/cpumask.h:4,
from ./arch/x86/include/asm/msr.h:10,
from ./arch/x86/include/asm/processor.h:20,
from ./arch/x86/include/asm/cpufeature.h:4,
from ./arch/x86/include/asm/thread_info.h:63,
from ./include/linux/thread_info.h:37,
from ./arch/x86/include/asm/preempt.h:6,
from ./include/linux/preempt.h:80,
from ./include/linux/spinlock.h:50,
from ./include/linux/seqlock.h:35,
from ./include/linux/time.h:5,
from ./include/linux/stat.h:18,
from ./include/linux/module.h:10,
from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/os/rt_linux.h:31,
from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/rtmp_os.h:44,
from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/rtmp_comm.h:75,
from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.c:30:
In function ‘memcpy’,
inlined from ‘rt_ioctl_iwaplist’ at /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.c:697:2:
./include/linux/string.h:305:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();

@ht-hieu
Copy link

ht-hieu commented Jun 24, 2018

I got the same error when I make with Ubuntu 18.04 and kernel 4.15.

@trijezdci
Copy link

Same here with Kubuntu 18.04, kernel 4.15

@DeWolfRobin
Copy link

same here 4.16.0-kali2-amd64

@wiseyoungbuck
Copy link

Same. Elemntary OS Loki

@bison92
Copy link

bison92 commented Oct 14, 2018

Same here, Ubuntu 18.04.1 LTS / Linux 4.15.0-36-generic

@deviousway
Copy link

same on Ubuntu 16.04
4.15.0-43-generic #46~16.04.1-Ubuntu SMP

@gouchaoer
Copy link

same

@zengweitotty
Copy link

Same for me.
Linux ubuntu 5.3.0-18-generic #19-Ubuntu SMP Tue Oct 8 20:14:06 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants