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

HENkaku build failed under GCC10 #79

Open
Yoti opened this issue Oct 27, 2020 · 0 comments
Open

HENkaku build failed under GCC10 #79

Yoti opened this issue Oct 27, 2020 · 0 comments

Comments

@Yoti
Copy link

Yoti commented Oct 27, 2020

My building machine (WSL2):

yoti@ASUS:~$ uname -a
Linux ASUS 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

yoti@ASUS:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic

Success build under v1133

yoti@ASUS:~/henkaku$ ./build.sh sample.config.in
0) taiHEN plugin
~/henkaku/build/plugin ~/henkaku
-- The C compiler identification is GNU 9.1.0
-- The CXX compiler identification is GNU 9.1.0
<...>
5) Webkit
yoti@ASUS:~/henkaku$

Failed build under v1138

yoti@ASUS:~/henkaku$ ./build.sh sample.config.in
0) taiHEN plugin
~/henkaku/build/plugin ~/henkaku
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
<...>
2) Payload
payload/payload.c:175:19: warning: conflicting types for built-in function 'memcpy'; expected 'void *(void *, const void *, unsigned int)' [-Wbuiltin-declaration-mismatch]
  175 | static inline int memcpy(void *dst, const void *src, int len) {
      |                   ^~~~~~
payload/payload.c:7:1: note: 'memcpy' is declared in header '<string.h>'
    6 | #include "../build/version.c"
  +++ |+#include <string.h>
    7 |
/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.1.0/../../../../arm-vita-eabi/bin/ld: build/payload.o: in function `thread_main':
payload.c:(.text+0x4c0): undefined reference to `memset'
collect2: error: ld returned 1 exit status
yoti@ASUS:~/henkaku$
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

1 participant