Skip to content

Instantly share code, notes, and snippets.

@mwermuth
Created May 14, 2014 19:35
Show Gist options
  • Save mwermuth/4e59ab0adfc8a96067e0 to your computer and use it in GitHub Desktop.
Save mwermuth/4e59ab0adfc8a96067e0 to your computer and use it in GitHub Desktop.
mkmf.log
I, [2014-05-14T15:34:47.035994 #7360] INFO -- : [SKYLIGHT] fetching native ext; curr-platform=x86_64-linux; requested-arch=linux-x86_64; version=f2a0e15
I, [2014-05-14T15:34:47.036103 #7360] INFO -- : [SKYLIGHT] attempting to fetch from remote; uri=https://github.com/skylightio/skylight-rust/releases/download/f2a0e15/libskylight.f2a0e15.linux-x86_64.a.gz
I, [2014-05-14T15:34:47.530917 #7360] INFO -- : [SKYLIGHT] fetching native ext; uri=https://github.com/skylightio/skylight-rust/releases/download/f2a0e15/libskylight.f2a0e15.linux-x86_64.a.gz; redirected=https://s3.amazonaws.com/github-cloud/releases/14909411/49b04afa-ba30-11e3-9273-77f2bd7cd8ce.gz?response-content-disposition=attachment%3B%20filename%3Dlibskylight.f2a0e15.linux-x86_64.a.gz&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1400081747&Signature=tO7ozClJA4pRfqewKayAKjC%2BxXo%3D
I, [2014-05-14T15:34:47.531040 #7360] INFO -- : [SKYLIGHT] attempting to fetch from remote; uri=https://s3.amazonaws.com/github-cloud/releases/14909411/49b04afa-ba30-11e3-9273-77f2bd7cd8ce.gz?response-content-disposition=attachment%3B%20filename%3Dlibskylight.f2a0e15.linux-x86_64.a.gz&AWSAccessKeyId=AKIAISTNZFOVBIJMK3TQ&Expires=1400081747&Signature=tO7ozClJA4pRfqewKayAKjC%2BxXo%3D
I, [2014-05-14T15:34:50.057445 #7360] INFO -- : [SKYLIGHT] successfully downloaded native ext; body=2828990bytes
have_header: checking for dlfcn.h... -------------------- yes
"gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"gcc -E -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <dlfcn.h>
/* end */
--------------------
find_library: checking for factory() in -lskylight... -------------------- yes
"gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lskylight -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:4:53: error: ‘factory’ undeclared (first use in this function)
conftest.c:4:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:4:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int t() { void ((*volatile p)()); p = (void ((*)()))factory; return 0; }
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
/* end */
"gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lskylight -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:4:1: warning: implicit declaration of function ‘factory’ [-Wimplicit-function-declaration]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int t() { factory(); return 0; }
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment