"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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC 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 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: } /* end */ "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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -Werror -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */ have_library: checking for gzdopen() in -lz... -------------------- 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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c -L. -L/usr/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lz -lpthread -lgmp -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))gzdopen; return !p; } /* end */ -------------------- have_iconv?: checking for iconv... -------------------- 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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline 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 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: int main(void) 7: { 8: iconv_t cd = iconv_open("", ""); 9: iconv(cd, NULL, NULL, NULL, NULL); 10: return EXIT_SUCCESS; 11: } /* end */ -------------------- have_library: checking for main() in -llzma... -------------------- 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 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return !p; } /* end */ -------------------- have_func: checking for xmlParseDoc() in libxml/parser.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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))xmlParseDoc; return !p; } /* end */ -------------------- have_func: checking for xsltParseStylesheetDoc() in libxslt/xslt.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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:15:57: error: ‘xsltParseStylesheetDoc’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xsltParseStylesheetDoc; return !p; } ^ conftest.c:15: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: #include 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 ((*)()))xsltParseStylesheetDoc; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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: extern void xsltParseStylesheetDoc(); 16: int t(void) { xsltParseStylesheetDoc(); return 0; } /* end */ -------------------- have_func: checking for exsltFuncRegister() in libexslt/exslt.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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 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 ((*)()))exsltFuncRegister; return !p; } /* end */ -------------------- have_func: checking for xmlHasFeature()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlHasFeature’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlHasFeature; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlHasFeature; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlHasFeature(); 14: int t(void) { xmlHasFeature(); return 0; } /* end */ -------------------- have_func: checking for xmlFirstElementChild()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlFirstElementChild’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlFirstElementChild; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlFirstElementChild; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlFirstElementChild(); 14: int t(void) { xmlFirstElementChild(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetParserStructuredErrors()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlRelaxNGSetParserStructuredErrors(); 14: int t(void) { xmlRelaxNGSetParserStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetParserStructuredErrors()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlRelaxNGSetParserStructuredErrors(); 14: int t(void) { xmlRelaxNGSetParserStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetValidStructuredErrors()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetValidStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetValidStructuredErrors; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetValidStructuredErrors; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlRelaxNGSetValidStructuredErrors(); 14: int t(void) { xmlRelaxNGSetValidStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlSchemaSetValidStructuredErrors()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlSchemaSetValidStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetValidStructuredErrors; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetValidStructuredErrors; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlSchemaSetValidStructuredErrors(); 14: int t(void) { xmlSchemaSetValidStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlSchemaSetParserStructuredErrors()... -------------------- 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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlSchemaSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetParserStructuredErrors; return !p; } ^ conftest.c:13: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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetParserStructuredErrors; return !p; } /* end */ "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. -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/include -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -I/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/include/libxml2 -D_FORTIFY_SOURCE=2 "-DNOKOGIRI_LIBXML2_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch 0003-Stop-parsing-on-entities-boundaries-errors.patch 0004-Cleanup-conditional-section-error-handling.patch 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch 0006-Another-variation-of-overflow-in-Conditional-section.patch 0007-Fix-an-error-in-previous-Conditional-section-patch.patch 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch 0009-Updated-config.guess.patch 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch 0012-Avoid-processing-entities-after-encoding-conversion-.patch 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch 0014-CVE-2015-5312-Another-entity-expansion-issue.patch 0015-Add-xmlHaltParser-to-stop-the-parser.patch 0016-Detect-incoherency-on-GROW.patch 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"0001-Adding-doc-update-related-to-1.1.28.patch 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch 0003-Initialize-pseudo-random-number-generator-with-curre.patch 0004-EXSLT-function-str-replace-is-broken-as-is.patch 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch 0007-Separate-function-for-predicate-matching-in-patterns.patch 0008-Fix-direct-pattern-matching.patch 0009-Fix-certain-patterns-with-predicates.patch 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch 0014-Fix-for-bug-436589.patch 0015-Fix-mkdir-for-mingw.patch 0016-Fix-for-type-confusion-in-preprocessing-attributes.patch 0017-Updated-config.guess.patch\"" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/usr/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib -L/home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lruby /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libexslt.a -lm -ldl -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxslt/1.1.28/lib/libxslt.a -ldl -lm -lz /home/anatol/sources/vagrant/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.1/ports/x86_64-pc-linux-gnu/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -lgmp -ldl -lcrypt -lm -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: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: extern void xmlSchemaSetParserStructuredErrors(); 14: int t(void) { xmlSchemaSetParserStructuredErrors(); return 0; } /* end */ --------------------