Skip to content

HENkaku build failed under GCC10 #79

@Yoti

Description

@Yoti

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$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions