This commit is contained in:
Binary file not shown.
@@ -0,0 +1,38 @@
|
||||
current directory: /home/pizza2d1/gems/gems/io-event-1.9.0/ext
|
||||
/usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
|
||||
checking for rb_ext_ractor_safe()... yes
|
||||
checking for &rb_fiber_transfer()... yes
|
||||
checking for -luring... no
|
||||
checking for sys/epoll.h... yes
|
||||
checking for sys/event.h... no
|
||||
checking for sys/wait.h... yes
|
||||
checking for sys/eventfd.h... yes
|
||||
checking for rb_io_descriptor()... yes
|
||||
checking for &rb_process_status_wait()... no
|
||||
checking for rb_fiber_current()... yes
|
||||
checking for &rb_fiber_raise()... yes
|
||||
checking for epoll_pwait2()... yes
|
||||
checking for ruby/io/buffer.h... yes
|
||||
creating extconf.h
|
||||
creating Makefile
|
||||
|
||||
current directory: /home/pizza2d1/gems/gems/io-event-1.9.0/ext
|
||||
make DESTDIR\= sitearchdir\=./.gem.20260916-3763582-uef7b1 sitelibdir\=./.gem.20260916-3763582-uef7b1 clean
|
||||
|
||||
current directory: /home/pizza2d1/gems/gems/io-event-1.9.0/ext
|
||||
make DESTDIR\= sitearchdir\=./.gem.20260916-3763582-uef7b1 sitelibdir\=./.gem.20260916-3763582-uef7b1
|
||||
compiling ./io/event/selector/epoll.c
|
||||
compiling ./io/event/event.c
|
||||
compiling ./io/event/fiber.c
|
||||
compiling ./io/event/interrupt.c
|
||||
compiling ./io/event/profiler.c
|
||||
compiling ./io/event/selector/selector.c
|
||||
compiling ./io/event/time.c
|
||||
linking shared-object IO_Event.so
|
||||
|
||||
current directory: /home/pizza2d1/gems/gems/io-event-1.9.0/ext
|
||||
make DESTDIR\= sitearchdir\=./.gem.20260916-3763582-uef7b1 sitelibdir\=./.gem.20260916-3763582-uef7b1 install
|
||||
/usr/bin/install -c -m 0755 IO_Event.so ./.gem.20260916-3763582-uef7b1
|
||||
|
||||
current directory: /home/pizza2d1/gems/gems/io-event-1.9.0/ext
|
||||
make DESTDIR\= sitearchdir\=./.gem.20260916-3763582-uef7b1 sitelibdir\=./.gem.20260916-3763582-uef7b1 clean
|
||||
@@ -0,0 +1,334 @@
|
||||
have_func: checking for rb_ext_ractor_safe()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -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=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_ext_ractor_safe; return !p; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for &rb_fiber_transfer()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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: int t(void) { const volatile void *volatile p; p = (const volatile void *)&rb_fiber_transfer; return !p; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_library: checking for -luring... -------------------- no
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -luring -lm -lpthread -lc"
|
||||
/usr/bin/ld: cannot find -luring: No such file or directory
|
||||
collect2: error: ld returned 1 exit status
|
||||
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 sys/epoll.h... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 -c conftest.c"
|
||||
checked program was:
|
||||
/* begin */
|
||||
1: #include "ruby.h"
|
||||
2:
|
||||
3: #include <sys/epoll.h>
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_header: checking for sys/event.h... -------------------- no
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 -c conftest.c"
|
||||
conftest.c:3:10: fatal error: sys/event.h: No such file or directory
|
||||
3 | #include <sys/event.h>
|
||||
| ^~~~~~~~~~~~~
|
||||
compilation terminated.
|
||||
checked program was:
|
||||
/* begin */
|
||||
1: #include "ruby.h"
|
||||
2:
|
||||
3: #include <sys/event.h>
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_header: checking for sys/wait.h... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 -c conftest.c"
|
||||
checked program was:
|
||||
/* begin */
|
||||
1: #include "ruby.h"
|
||||
2:
|
||||
3: #include <sys/wait.h>
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_header: checking for sys/eventfd.h... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 -c conftest.c"
|
||||
checked program was:
|
||||
/* begin */
|
||||
1: #include "ruby.h"
|
||||
2:
|
||||
3: #include <sys/eventfd.h>
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for rb_io_descriptor()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
|
||||
conftest.c: In function ‘t’:
|
||||
conftest.c:14:57: error: ‘rb_io_descriptor’ undeclared (first use in this function)
|
||||
14 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_io_descriptor; return !p; }
|
||||
| ^~~~~~~~~~~~~~~~
|
||||
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
|
||||
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 ((*)()))rb_io_descriptor; return !p; }
|
||||
/* end */
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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 rb_io_descriptor();
|
||||
15: int t(void) { rb_io_descriptor(); return 0; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for &rb_process_status_wait()... -------------------- no
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
|
||||
conftest.c: In function ‘t’:
|
||||
conftest.c:14:76: error: ‘rb_process_status_wait’ undeclared (first use in this function)
|
||||
14 | int t(void) { const volatile void *volatile p; p = (const volatile void *)&rb_process_status_wait; return !p; }
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~
|
||||
conftest.c:14:76: note: each undeclared identifier is reported only once for each function it appears in
|
||||
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) { const volatile void *volatile p; p = (const volatile void *)&rb_process_status_wait; return !p; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for rb_fiber_current()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_fiber_current; return !p; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for &rb_fiber_raise()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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: int t(void) { const volatile void *volatile p; p = (const volatile void *)&rb_fiber_raise; return !p; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_func: checking for epoll_pwait2()... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
|
||||
conftest.c: In function ‘t’:
|
||||
conftest.c:14:57: error: ‘epoll_pwait2’ undeclared (first use in this function)
|
||||
14 | int t(void) { void ((*volatile p)()); p = (void ((*)()))epoll_pwait2; return !p; }
|
||||
| ^~~~~~~~~~~~
|
||||
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
|
||||
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 ((*)()))epoll_pwait2; return !p; }
|
||||
/* end */
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -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 epoll_pwait2();
|
||||
15: int t(void) { epoll_pwait2(); return 0; }
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
have_header: checking for ruby/io/buffer.h... -------------------- yes
|
||||
|
||||
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.8 -fPIC -Wall -Wno-unknown-pragmas -std=c99 -c conftest.c"
|
||||
checked program was:
|
||||
/* begin */
|
||||
1: #include "ruby.h"
|
||||
2:
|
||||
3: #include <ruby/io/buffer.h>
|
||||
/* end */
|
||||
|
||||
--------------------
|
||||
|
||||
extconf.h is:
|
||||
/* begin */
|
||||
1: #ifndef EXTCONF_H
|
||||
2: #define EXTCONF_H
|
||||
3: #define HAVE_RB_EXT_RACTOR_SAFE 1
|
||||
4: #define HAVE__RB_FIBER_TRANSFER 1
|
||||
5: #define HAVE_SYS_EPOLL_H 1
|
||||
6: #define HAVE_SYS_WAIT_H 1
|
||||
7: #define HAVE_SYS_EVENTFD_H 1
|
||||
8: #define HAVE_RB_IO_DESCRIPTOR 1
|
||||
9: #define HAVE_RB_FIBER_CURRENT 1
|
||||
10: #define HAVE__RB_FIBER_RAISE 1
|
||||
11: #define HAVE_EPOLL_PWAIT2 1
|
||||
12: #define HAVE_RUBY_IO_BUFFER_H 1
|
||||
13: #endif
|
||||
/* end */
|
||||
|
||||
Reference in New Issue
Block a user