have_library: checking for -laugeas... -------------------- yes

LD_LIBRARY_PATH=.:/usr/local/lib LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I/usr/local/include/ruby-4.0/sparc64-openbsd -I/usr/local/include/ruby-4.0/ruby/backward -I/usr/local/include/ruby-4.0 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40  -lm -pthread  -lc"
/usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf()
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=.:/usr/local/lib LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I/usr/local/include/ruby-4.0/sparc64-openbsd -I/usr/local/include/ruby-4.0/ruby/backward -I/usr/local/include/ruby-4.0 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40 -laugeas  -lm -pthread  -lc"
/usr/local/lib/libaugeas.so.1.0: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libaugeas.so.1.0: warning: stpcpy() is dangerous; do not use it
/usr/local/lib/libaugeas.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libaugeas.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf()
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_library: checking for -lxml2... -------------------- yes

LD_LIBRARY_PATH=.:/usr/local/lib LSAN_OPTIONS=detect_leaks=0 "cc -o conftest -I/usr/local/include/ruby-4.0/sparc64-openbsd -I/usr/local/include/ruby-4.0/ruby/backward -I/usr/local/include/ruby-4.0 -I. -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -O2 -pipe -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E    -laugeas  -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby40 -lxml2 -laugeas  -lm -pthread  -lc"
/usr/local/lib/libaugeas.so.1.0: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libaugeas.so.1.0: warning: stpcpy() is dangerous; do not use it
/usr/local/lib/libaugeas.so.1.0: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libaugeas.so.1.0: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libgmp.so.11.1: warning: vsprintf() is often misused, please use vsnprintf()
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 */

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

