Created
July 18, 2016 19:45
-
-
Save mrzor/9be07f6db339a0f866301774c88b71e6 to your computer and use it in GitHub Desktop.
archlinux skylight compile issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find_header: checking for skylight_dlopen.h in /home/zor/.gem/ruby/2.3.0/gems/skylight-0.10.5/ext... -------------------- yes | |
| "gcc -o conftest -I/usr/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -D_FORTIFY_SOURCE=2 -Wno-error=pedantic conftest.c -L. -L/usr/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc" | |
| In file included from /usr/include/stdio.h:27:0, | |
| from /usr/include/ruby-2.3.0/ruby/defines.h:26, | |
| from /usr/include/ruby-2.3.0/ruby/ruby.h:36, | |
| from /usr/include/ruby-2.3.0/ruby.h:33, | |
| from conftest.c:1: | |
| /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
| ^~~~~~~ | |
| 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/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -D_FORTIFY_SOURCE=2 -Wno-error=pedantic conftest.c -o conftest.i" | |
| In file included from /usr/include/stdio.h:27:0, | |
| from /usr/include/ruby-2.3.0/ruby/defines.h:26, | |
| from /usr/include/ruby-2.3.0/ruby/ruby.h:36, | |
| from /usr/include/ruby-2.3.0/ruby.h:33, | |
| from conftest.c:1: | |
| /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
| ^~~~~~~ | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <skylight_dlopen.h> | |
| /* end */ | |
| -------------------- | |
| have_header: checking for dlfcn.h... -------------------- yes | |
| "gcc -E -I/usr/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -D_FORTIFY_SOURCE=2 -Wno-error=pedantic conftest.c -o conftest.i" | |
| In file included from /usr/include/stdio.h:27:0, | |
| from /usr/include/ruby-2.3.0/ruby/defines.h:26, | |
| from /usr/include/ruby-2.3.0/ruby/ruby.h:36, | |
| from /usr/include/ruby-2.3.0/ruby.h:33, | |
| from conftest.c:1: | |
| /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
| ^~~~~~~ | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <dlfcn.h> | |
| /* end */ | |
| -------------------- | |
| have_func: checking for rb_thread_call_without_gvl() in ruby/thread.h... -------------------- yes | |
| "gcc -o conftest -I/usr/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -D_FORTIFY_SOURCE=2 -Wno-error=pedantic conftest.c -L. -L/usr/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc" | |
| In file included from /usr/include/stdio.h:27:0, | |
| from /usr/include/ruby-2.3.0/ruby/defines.h:26, | |
| from /usr/include/ruby-2.3.0/ruby/ruby.h:36, | |
| from /usr/include/ruby-2.3.0/ruby.h:33, | |
| from conftest.c:1: | |
| /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] | |
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
| ^~~~~~~ | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <ruby/thread.h> | |
| 4: | |
| 5: /*top*/ | |
| 6: extern int t(void); | |
| 7: int main(int argc, char **argv) | |
| 8: { | |
| 9: if (argc > 1000000) { | |
| 10: printf("%p", &t); | |
| 11: } | |
| 12: | |
| 13: return 0; | |
| 14: } | |
| 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; } | |
| /* end */ | |
| -------------------- | |
| checking for fast thread local storage... -------------------- no | |
| "gcc -I/usr/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -D_FORTIFY_SOURCE=2 -Wno-error=pedantic -Werror -c conftest.c" | |
| In file included from /usr/include/stdio.h:27:0, | |
| from /usr/include/ruby-2.3.0/ruby/defines.h:26, | |
| from /usr/include/ruby-2.3.0/ruby/ruby.h:36, | |
| from /usr/include/ruby-2.3.0/ruby.h:33, | |
| from conftest.c:1: | |
| /usr/include/features.h:331:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | |
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | |
| ^~~~~~~ | |
| cc1: all warnings being treated as errors | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: __thread int foo; | |
| /* end */ | |
| -------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment