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

dpvs支持arm架构吗? #865

Open
dragonwrath813 opened this issue Jan 11, 2023 · 1 comment
Open

dpvs支持arm架构吗? #865

dragonwrath813 opened this issue Jan 11, 2023 · 1 comment
Assignees
Labels
issue/to-solve issues await answers tobe solved

Comments

@dragonwrath813
Copy link

dpvs master分支代码在arm架构的机器上编译时,发现有一些报错,例如下面的:

/root/dpvs/src/ipvs/ip_vs_service.c:1440:51: error: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘struct dp_vs_get_dests *’ as the destination; expected ‘struct dp_vs_get_dests’ or an explicit length [-Werror=sizeof-pointer-memaccess]
1440 | rte_memcpy(output, get, sizeof(get));
| ^

@dragonwrath813
Copy link
Author

rte_memcpy(output, get, sizeof(get)),需要加解引用,sizeof(*get)

@ywc689 ywc689 self-assigned this Sep 14, 2023
@ywc689 ywc689 added the issue/to-solve issues await answers tobe solved label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/to-solve issues await answers tobe solved
Projects
None yet
Development

No branches or pull requests

2 participants