Skip to content

Instantly share code, notes, and snippets.

Created December 27, 2016 12:05
Show Gist options
  • Save anonymous/a7511ab2897efc16a9a4574e5027b4ed to your computer and use it in GitHub Desktop.
Save anonymous/a7511ab2897efc16a9a4574e5027b4ed to your computer and use it in GitHub Desktop.
"gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -ldl -lcrypt -lm -lc"
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment