File: //opt/alt/ruby32/lib64/gems/ruby/json-2.16.0/mkmf.log
have_func: checking for rb_enc_interned_str() in ruby/encoding.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -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=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby/encoding.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: int (* volatile tp)(void)=(int (*)(void))&t;
11: printf("%d", (*tp)());
12: }
13:
14: return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; }
/* end */
--------------------
have_func: checking for rb_str_to_interned_str() in ruby.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: int (* volatile tp)(void)=(int (*)(void))&t;
11: printf("%d", (*tp)());
12: }
13:
14: return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_to_interned_str; return !p; }
/* end */
--------------------
have_func: checking for rb_hash_new_capa() in ruby.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: int (* volatile tp)(void)=(int (*)(void))&t;
11: printf("%d", (*tp)());
12: }
13:
14: return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_new_capa; return !p; }
/* end */
--------------------
have_func: checking for rb_hash_bulk_insert() in ruby.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <ruby.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: int (* volatile tp)(void)=(int (*)(void))&t;
11: printf("%d", (*tp)());
12: }
13:
14: return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_bulk_insert; return !p; }
/* end */
--------------------
have_func: checking for strnlen() in string.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -o conftest -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC conftest.c -L. -L/opt/alt/ruby32/lib64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L. -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -m64 -Wl,-rpath,/opt/alt/ruby32/lib64 -L/opt/alt/ruby32/lib64 -lruby -lm -lpthread -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <string.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: int (* volatile tp)(void)=(int (*)(void))&t;
11: printf("%d", (*tp)());
12: }
13:
14: return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))strnlen; return !p; }
/* end */
--------------------
block in append_cflags: checking for whether -std=c99 is accepted as CFLAGS... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -m64 -std=c99 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return !!argv[argc];
6: }
/* end */
--------------------
have_header: checking for x86intrin.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -std=c99 -m64 -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <x86intrin.h>
/* end */
--------------------
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -std=c99 -m64 -Werror=implicit-function-declaration -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <x86intrin.h>
4:
5: int main(int argc, char **argv) {
6: __m128i test = _mm_set1_epi8(32);
7: if (__builtin_cpu_supports("sse2")) { printf("OK"); }
8: if (argc > 100000) printf("%p", &test);
9: return 0;
10: }
/* end */
have_header: checking for cpuid.h... -------------------- yes
LD_LIBRARY_PATH=.:/opt/alt/ruby32/lib64 "gcc -I/opt/alt/ruby32/include -I/opt/alt/ruby32/include/ruby/backward -I/opt/alt/ruby32/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -std=c99 -m64 -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <cpuid.h>
/* end */
--------------------