have_library: checking for -llog... -------------------- no

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread   -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ \ -lm\ -pthread\ \ -lc
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread  -llog  -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ -llog\ \ -lm\ -pthread\ \ -lc
ld.lld: error: unable to find library -llog
cc: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: 
15: int t(void) { ; return 0; }
/* end */

--------------------

have_header: checking for syslog.h... -------------------- yes

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC   -c conftest.c"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ \ \ -c\ conftest.c
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <syslog.h>
/* end */

--------------------

have_func: checking for openlog()... -------------------- yes

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread   -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ \ -lm\ -pthread\ \ -lc
conftest.c:14:57: error: use of undeclared identifier 'openlog'
   14 | int t(void) { void ((*volatile p)()); p = (void ((*)()))openlog; return !p; }
      |                                                         ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))openlog; return !p; }
/* end */

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread   -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ \ -lm\ -pthread\ \ -lc
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void openlog();
15: int t(void) { openlog(); return 0; }
/* end */

--------------------

have_func: checking for setlogmask()... -------------------- yes

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread   -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ \ -lm\ -pthread\ \ -lc
conftest.c:14:57: error: use of undeclared identifier 'setlogmask'
   14 | int t(void) { void ((*volatile p)()); p = (void ((*)()))setlogmask; return !p; }
      |                                                         ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))setlogmask; return !p; }
/* end */

LD_LIBRARY_PATH=.:../../../../.. LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I../../../../../.ext/include/x86_64-openbsd -I../../../../.././include -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -g -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L../../../../.. -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40-static -lz -lgmp -lm -pthread   -lm -pthread  -lc"
\{\"LD_LIBRARY_PATH\"\ \=\>\ \".:../../../../..\",\ \"LSAN_OPTIONS\"\ \=\>\ \"detect_leaks\=0\"\} cc\ -o\ conftest\ -I../../../../../.ext/include/x86_64-openbsd\ -I../../../../.././include\ -I../../../../.././.bundle/gems/syslog-0.3.0/ext/syslog\ -DOPENSSL_NO_STATIC_ENGINE\ -I/usr/local/include\ \ \ -O2\ -pipe\ -g\ -fstack-protector-strong\ -U_FORTIFY_SOURCE\ -D_FORTIFY_SOURCE\=2\ -fdeclspec\ \ -fno-fast-math\ -ggdb3\ -Wall\ -Wextra\ -Wextra-tokens\ -Wdeprecated-declarations\ -Wdivision-by-zero\ -Wdiv-by-zero\ -Wimplicit-function-declaration\ -Wimplicit-int\ -Wpointer-arith\ -Wshorten-64-to-32\ -Wwrite-strings\ -Wold-style-definition\ -Wmissing-noreturn\ -Wno-cast-function-type\ -Wno-constant-logical-operand\ -Wno-long-long\ -Wno-missing-field-initializers\ -Wno-overlength-strings\ -Wno-parentheses-equality\ -Wno-self-assign\ -Wno-tautological-compare\ -Wno-unused-parameter\ -Wno-unused-value\ -Wunused-variable\ -Wmisleading-indentation\ -Wundef\ -fPIC\ conftest.c\ -L.\ -L../../../../..\ -L.\ -L/usr/local/lib\ -fstack-protector-strong\ -Wl,-E\ -Wl,--no-as-needed\ -lpthread\ -lc++abi\ \ \ \ \ -Wl,-rpath,/usr/local/lib\ -L/usr/local/lib\ -lruby40-static\ -lz\ -lgmp\ -lm\ -pthread\ \ \ -lm\ -pthread\ \ -lc
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void setlogmask();
15: int t(void) { setlogmask(); return 0; }
/* end */

--------------------

extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #define HAVE_SYSLOG_H 1
4: #define HAVE_OPENLOG 1
5: #define HAVE_SETLOGMASK 1
6: #endif
/* end */

