Skip to content

Build error: implicit declaration of 'explicit_memset' in NetBSD #123718

Closed
@furkanonder

Description

@furkanonder

Bug description:

-bash-5.2$ make
./Modules/_hacl/Lib_Memzero0.c: In function 'Lib_Memzero0_memzero0':
./Modules/_hacl/Lib_Memzero0.c:45:5: error: implicit declaration of function 'explicit_memset'; did you mean '__builtin_memset'? [-Werror=implicit-function-declaration]
   45 |      explicit_memset(dst, 0, len_);
      |      ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
*** Error code 1

Stop.
make: stopped in /home/seth/cpython

OS: NetBSD 10.0 amd64

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Assignees

Labels

3.14bugs and security fixesOS-netbsdbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions