We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Build fails on gentoo -
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src/libpki -I../src -D__LIB_BUILD__ -I/usr/include -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -Wunused-variable -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/usr/include/mysql -DLINUX -DLINUX -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT libpki_la-pki_config.lo -MD -MP -MF .deps/libpki_la-pki_config.Tpo -c pki_config.c -fPIC -DPIC -o .libs/libpki_la-pki_config.o In file included from /usr/include/string.h:519, from ./libpki/net/sock.h:32, from ./libpki/pki.h:312, from pki_config.c:3: In function ‘strncpy’, inlined from ‘_xml_search_namespace_add’ at pki_config.c:86:2, inlined from ‘PKI_CONFIG_get_element_stack’ at pki_config.c:472:14: /usr/include/bits/string_fortified.h:91:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
This appears to be the same as #52, which would be fixed by #46 and #47.
Sorry, something went wrong.
No branches or pull requests
Build fails on gentoo -
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src/libpki -I../src -D__LIB_BUILD__ -I/usr/include -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -Wunused-variable -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/usr/include/mysql -DLINUX -DLINUX -O2 -march=native -pipe -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT libpki_la-pki_config.lo -MD -MP -MF .deps/libpki_la-pki_config.Tpo -c pki_config.c -fPIC -DPIC -o .libs/libpki_la-pki_config.o
In file included from /usr/include/string.h:519,
from ./libpki/net/sock.h:32,
from ./libpki/pki.h:312,
from pki_config.c:3:
In function ‘strncpy’,
inlined from ‘_xml_search_namespace_add’ at pki_config.c:86:2,
inlined from ‘PKI_CONFIG_get_element_stack’ at pki_config.c:472:14:
/usr/include/bits/string_fortified.h:91:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: