autocompl 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autocompl/repository.rb +11 -1
- data/lib/autocompl/version.rb +1 -1
- data/test/dummy/log/development.log +467 -0
- data/test/dummy/log/test.log +3 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/bin/console +23 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/cache/pg-0.19.0.gem +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/cache/pq-0.0.1.gem +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/gem.build_complete +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/gem_make.out +78 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/mkmf.log +1346 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/pg_ext.bundle +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/BSDL +22 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ChangeLog +6378 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Contributors.rdoc +46 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/History.rdoc +363 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/LICENSE +56 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Manifest.txt +85 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/POSTGRES +23 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README-OS_X.rdoc +68 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README-Windows.rdoc +56 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README.ja.rdoc +14 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/README.rdoc +168 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Rakefile +216 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/Rakefile.cross +301 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/Makefile +261 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.def +947 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.rb +45 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/errorcodes.txt +467 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/extconf.h +38 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/extconf.rb +112 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.c +13 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.h +257 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/gvl_wrappers.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.c +667 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.h +395 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_decoder.c +162 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_decoder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_encoder.c +162 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_binary_encoder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_coder.c +500 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_coder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_connection.c +4102 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_connection.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_copy_coder.c +591 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_copy_coder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_errors.c +95 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_errors.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_ext.bundle +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_result.c +1271 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_result.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_decoder.c +421 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_decoder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_encoder.c +683 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_text_encoder.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map.c +159 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_all_strings.c +116 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_all_strings.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_class.c +239 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_class.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_column.c +312 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_column.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_mri_type.c +284 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_mri_type.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_oid.c +355 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_by_oid.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_in_ruby.c +299 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/pg_type_map_in_ruby.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.c +149 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.h +65 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/util.o +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg.sln +26 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg_18/pg.vcproj +216 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext/vc/pg_19/pg_19.vcproj +209 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg.rb +64 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/basic_type_mapping.rb +426 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/coder.rb +83 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/connection.rb +271 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/constants.rb +11 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/exceptions.rb +11 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/result.rb +30 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/text_decoder.rb +51 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/text_encoder.rb +35 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg/type_map_by_column.rb +15 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/lib/pg_ext.bundle +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/array_insert.rb +20 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_api.rb +106 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_copyto.rb +39 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/async_mixed.rb +56 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/check_conn.rb +21 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/copyfrom.rb +81 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/copyto.rb +19 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/cursor.rb +21 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/disk_usage_report.rb +186 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/issue-119.rb +94 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/losample.rb +69 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/minimal-testcase.rb +17 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/notify_wait.rb +72 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/pg_statistics.rb +294 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/replication_monitor.rb +231 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/test_binary_values.rb +33 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/wal_shipper.rb +434 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/sample/warehouse_partitions.rb +320 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/data/expected_trace.out +26 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/data/random_binary_data +0 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/helpers.rb +352 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/basic_type_mapping_spec.rb +305 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/connection_spec.rb +1676 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/result_spec.rb +449 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_class_spec.rb +138 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_column_spec.rb +222 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_mri_type_spec.rb +136 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_by_oid_spec.rb +149 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_in_ruby_spec.rb +164 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_map_spec.rb +22 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg/type_spec.rb +777 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/spec/pg_spec.rb +50 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/Gemfile +4 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/LICENSE.txt +22 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/README.md +76 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/Rakefile +1 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/bin/console +7 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/lib/pq.rb +99 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/pq.gemspec +29 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/spec/helpers.rb +10 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/gems/pq-0.0.1/spec/queue_spec.rb +84 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/specifications/pg-0.19.0.gemspec +63 -0
- data/test/dummy/vendor/bundle/ruby/2.3.0/specifications/pq-0.0.1.gemspec +49 -0
- metadata +253 -1
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# This file was generated by RubyGems.
|
4
|
+
#
|
5
|
+
# The application 'pq' is installed as part of a gem, and
|
6
|
+
# this file is here to facilitate running it.
|
7
|
+
#
|
8
|
+
|
9
|
+
require 'rubygems'
|
10
|
+
|
11
|
+
version = ">= 0.a"
|
12
|
+
|
13
|
+
if ARGV.first
|
14
|
+
str = ARGV.first
|
15
|
+
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
|
16
|
+
if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
|
17
|
+
version = $1
|
18
|
+
ARGV.shift
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
gem 'pq', version
|
23
|
+
load Gem.bin_path('pq', 'console', version)
|
Binary file
|
Binary file
|
File without changes
|
@@ -0,0 +1,78 @@
|
|
1
|
+
current directory: /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext
|
2
|
+
/Users/takahashiseiji/.rbenv/versions/2.3.0/bin/ruby -r ./siteconf20170127-56818-urvj27.rb extconf.rb
|
3
|
+
checking for pg_config... yes
|
4
|
+
Using config values from /usr/local/bin/pg_config
|
5
|
+
checking for libpq-fe.h... yes
|
6
|
+
checking for libpq/libpq-fs.h... yes
|
7
|
+
checking for pg_config_manual.h... yes
|
8
|
+
checking for PQconnectdb() in -lpq... yes
|
9
|
+
checking for PQconnectionUsedPassword()... yes
|
10
|
+
checking for PQisthreadsafe()... yes
|
11
|
+
checking for PQprepare()... yes
|
12
|
+
checking for PQexecParams()... yes
|
13
|
+
checking for PQescapeString()... yes
|
14
|
+
checking for PQescapeStringConn()... yes
|
15
|
+
checking for PQescapeLiteral()... yes
|
16
|
+
checking for PQescapeIdentifier()... yes
|
17
|
+
checking for PQgetCancel()... yes
|
18
|
+
checking for lo_create()... yes
|
19
|
+
checking for pg_encoding_to_char()... yes
|
20
|
+
checking for pg_char_to_encoding()... yes
|
21
|
+
checking for PQsetClientEncoding()... yes
|
22
|
+
checking for PQlibVersion()... yes
|
23
|
+
checking for PQping()... yes
|
24
|
+
checking for PQsetSingleRowMode()... yes
|
25
|
+
checking for PQconninfo()... yes
|
26
|
+
checking for PQsslAttribute()... yes
|
27
|
+
checking for rb_encdb_alias()... yes
|
28
|
+
checking for rb_enc_alias()... yes
|
29
|
+
checking for rb_thread_call_without_gvl()... yes
|
30
|
+
checking for rb_thread_call_with_gvl()... yes
|
31
|
+
checking for rb_thread_fd_select()... yes
|
32
|
+
checking for rb_w32_wrap_io_handle()... no
|
33
|
+
checking for rb_str_modify_expand()... yes
|
34
|
+
checking for rb_hash_dup()... yes
|
35
|
+
checking for PGRES_COPY_BOTH in libpq-fe.h... yes
|
36
|
+
checking for PGRES_SINGLE_TUPLE in libpq-fe.h... yes
|
37
|
+
checking for PG_DIAG_TABLE_NAME in libpq-fe.h... yes
|
38
|
+
checking for struct pgNotify.extra in libpq-fe.h... yes
|
39
|
+
checking for unistd.h... yes
|
40
|
+
checking for inttypes.h... yes
|
41
|
+
checking for ruby/st.h... yes
|
42
|
+
checking for C99 variable length arrays... yes
|
43
|
+
creating extconf.h
|
44
|
+
creating Makefile
|
45
|
+
|
46
|
+
To see why this extension failed to compile, please check the mkmf.log which can be found here:
|
47
|
+
|
48
|
+
/Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/mkmf.log
|
49
|
+
|
50
|
+
current directory: /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext
|
51
|
+
make "DESTDIR=" clean
|
52
|
+
|
53
|
+
current directory: /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext
|
54
|
+
make "DESTDIR="
|
55
|
+
compiling gvl_wrappers.c
|
56
|
+
compiling pg.c
|
57
|
+
compiling pg_binary_decoder.c
|
58
|
+
compiling pg_binary_encoder.c
|
59
|
+
compiling pg_coder.c
|
60
|
+
compiling pg_connection.c
|
61
|
+
compiling pg_copy_coder.c
|
62
|
+
compiling pg_errors.c
|
63
|
+
compiling pg_result.c
|
64
|
+
compiling pg_text_decoder.c
|
65
|
+
compiling pg_text_encoder.c
|
66
|
+
compiling pg_type_map.c
|
67
|
+
compiling pg_type_map_all_strings.c
|
68
|
+
compiling pg_type_map_by_class.c
|
69
|
+
compiling pg_type_map_by_column.c
|
70
|
+
compiling pg_type_map_by_mri_type.c
|
71
|
+
compiling pg_type_map_by_oid.c
|
72
|
+
compiling pg_type_map_in_ruby.c
|
73
|
+
compiling util.c
|
74
|
+
linking shared-object pg_ext.bundle
|
75
|
+
|
76
|
+
current directory: /Users/takahashiseiji/src/github.com/timakin/autocompl/test/dummy/vendor/bundle/ruby/2.3.0/gems/pg-0.19.0/ext
|
77
|
+
make "DESTDIR=" install
|
78
|
+
/usr/bin/install -c -m 0755 pg_ext.bundle ./.gem.20170127-56818-1vxk9b0
|
data/test/dummy/vendor/bundle/ruby/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/pg-0.19.0/mkmf.log
ADDED
@@ -0,0 +1,1346 @@
|
|
1
|
+
find_executable: checking for pg_config... -------------------- yes
|
2
|
+
|
3
|
+
--------------------
|
4
|
+
|
5
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
|
6
|
+
checked program was:
|
7
|
+
/* begin */
|
8
|
+
1: #include "ruby.h"
|
9
|
+
2:
|
10
|
+
3: int main(int argc, char **argv)
|
11
|
+
4: {
|
12
|
+
5: return 0;
|
13
|
+
6: }
|
14
|
+
/* end */
|
15
|
+
|
16
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -lruby-static -framework CoreFoundation -Wl,-rpath,/usr/local/lib -lpthread -ldl -lobjc "
|
17
|
+
checked program was:
|
18
|
+
/* begin */
|
19
|
+
1: #include "ruby.h"
|
20
|
+
2:
|
21
|
+
3: int main() {return 0;}
|
22
|
+
/* end */
|
23
|
+
|
24
|
+
find_header: checking for libpq-fe.h... -------------------- yes
|
25
|
+
|
26
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
27
|
+
checked program was:
|
28
|
+
/* begin */
|
29
|
+
1: #include "ruby.h"
|
30
|
+
2:
|
31
|
+
3: #include <libpq-fe.h>
|
32
|
+
/* end */
|
33
|
+
|
34
|
+
--------------------
|
35
|
+
|
36
|
+
find_header: checking for libpq/libpq-fs.h... -------------------- yes
|
37
|
+
|
38
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
39
|
+
checked program was:
|
40
|
+
/* begin */
|
41
|
+
1: #include "ruby.h"
|
42
|
+
2:
|
43
|
+
3: #include <libpq/libpq-fs.h>
|
44
|
+
/* end */
|
45
|
+
|
46
|
+
--------------------
|
47
|
+
|
48
|
+
find_header: checking for pg_config_manual.h... -------------------- yes
|
49
|
+
|
50
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
51
|
+
checked program was:
|
52
|
+
/* begin */
|
53
|
+
1: #include "ruby.h"
|
54
|
+
2:
|
55
|
+
3: #include <pg_config_manual.h>
|
56
|
+
/* end */
|
57
|
+
|
58
|
+
--------------------
|
59
|
+
|
60
|
+
have_library: checking for PQconnectdb() in -lpq... -------------------- yes
|
61
|
+
|
62
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
63
|
+
checked program was:
|
64
|
+
/* begin */
|
65
|
+
1: #include "ruby.h"
|
66
|
+
2:
|
67
|
+
3: #include <libpq-fe.h>
|
68
|
+
4:
|
69
|
+
5: /*top*/
|
70
|
+
6: extern int t(void);
|
71
|
+
7: int main(int argc, char **argv)
|
72
|
+
8: {
|
73
|
+
9: if (argc > 1000000) {
|
74
|
+
10: printf("%p", &t);
|
75
|
+
11: }
|
76
|
+
12:
|
77
|
+
13: return 0;
|
78
|
+
14: }
|
79
|
+
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return !p; }
|
80
|
+
/* end */
|
81
|
+
|
82
|
+
--------------------
|
83
|
+
|
84
|
+
have_func: checking for PQconnectionUsedPassword()... -------------------- yes
|
85
|
+
|
86
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
87
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQconnectionUsedPassword'
|
88
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectionUsedPassword; return !p; }
|
89
|
+
^
|
90
|
+
1 error generated.
|
91
|
+
checked program was:
|
92
|
+
/* begin */
|
93
|
+
1: #include "ruby.h"
|
94
|
+
2:
|
95
|
+
3: /*top*/
|
96
|
+
4: extern int t(void);
|
97
|
+
5: int main(int argc, char **argv)
|
98
|
+
6: {
|
99
|
+
7: if (argc > 1000000) {
|
100
|
+
8: printf("%p", &t);
|
101
|
+
9: }
|
102
|
+
10:
|
103
|
+
11: return 0;
|
104
|
+
12: }
|
105
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconnectionUsedPassword; return !p; }
|
106
|
+
/* end */
|
107
|
+
|
108
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
109
|
+
checked program was:
|
110
|
+
/* begin */
|
111
|
+
1: #include "ruby.h"
|
112
|
+
2:
|
113
|
+
3: /*top*/
|
114
|
+
4: extern int t(void);
|
115
|
+
5: int main(int argc, char **argv)
|
116
|
+
6: {
|
117
|
+
7: if (argc > 1000000) {
|
118
|
+
8: printf("%p", &t);
|
119
|
+
9: }
|
120
|
+
10:
|
121
|
+
11: return 0;
|
122
|
+
12: }
|
123
|
+
13: extern void PQconnectionUsedPassword();
|
124
|
+
14: int t(void) { PQconnectionUsedPassword(); return 0; }
|
125
|
+
/* end */
|
126
|
+
|
127
|
+
--------------------
|
128
|
+
|
129
|
+
have_func: checking for PQisthreadsafe()... -------------------- yes
|
130
|
+
|
131
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
132
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQisthreadsafe'
|
133
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQisthreadsafe; return !p; }
|
134
|
+
^
|
135
|
+
1 error generated.
|
136
|
+
checked program was:
|
137
|
+
/* begin */
|
138
|
+
1: #include "ruby.h"
|
139
|
+
2:
|
140
|
+
3: /*top*/
|
141
|
+
4: extern int t(void);
|
142
|
+
5: int main(int argc, char **argv)
|
143
|
+
6: {
|
144
|
+
7: if (argc > 1000000) {
|
145
|
+
8: printf("%p", &t);
|
146
|
+
9: }
|
147
|
+
10:
|
148
|
+
11: return 0;
|
149
|
+
12: }
|
150
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQisthreadsafe; return !p; }
|
151
|
+
/* end */
|
152
|
+
|
153
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
154
|
+
checked program was:
|
155
|
+
/* begin */
|
156
|
+
1: #include "ruby.h"
|
157
|
+
2:
|
158
|
+
3: /*top*/
|
159
|
+
4: extern int t(void);
|
160
|
+
5: int main(int argc, char **argv)
|
161
|
+
6: {
|
162
|
+
7: if (argc > 1000000) {
|
163
|
+
8: printf("%p", &t);
|
164
|
+
9: }
|
165
|
+
10:
|
166
|
+
11: return 0;
|
167
|
+
12: }
|
168
|
+
13: extern void PQisthreadsafe();
|
169
|
+
14: int t(void) { PQisthreadsafe(); return 0; }
|
170
|
+
/* end */
|
171
|
+
|
172
|
+
--------------------
|
173
|
+
|
174
|
+
have_func: checking for PQprepare()... -------------------- yes
|
175
|
+
|
176
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
177
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQprepare'
|
178
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQprepare; return !p; }
|
179
|
+
^
|
180
|
+
1 error generated.
|
181
|
+
checked program was:
|
182
|
+
/* begin */
|
183
|
+
1: #include "ruby.h"
|
184
|
+
2:
|
185
|
+
3: /*top*/
|
186
|
+
4: extern int t(void);
|
187
|
+
5: int main(int argc, char **argv)
|
188
|
+
6: {
|
189
|
+
7: if (argc > 1000000) {
|
190
|
+
8: printf("%p", &t);
|
191
|
+
9: }
|
192
|
+
10:
|
193
|
+
11: return 0;
|
194
|
+
12: }
|
195
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQprepare; return !p; }
|
196
|
+
/* end */
|
197
|
+
|
198
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
199
|
+
checked program was:
|
200
|
+
/* begin */
|
201
|
+
1: #include "ruby.h"
|
202
|
+
2:
|
203
|
+
3: /*top*/
|
204
|
+
4: extern int t(void);
|
205
|
+
5: int main(int argc, char **argv)
|
206
|
+
6: {
|
207
|
+
7: if (argc > 1000000) {
|
208
|
+
8: printf("%p", &t);
|
209
|
+
9: }
|
210
|
+
10:
|
211
|
+
11: return 0;
|
212
|
+
12: }
|
213
|
+
13: extern void PQprepare();
|
214
|
+
14: int t(void) { PQprepare(); return 0; }
|
215
|
+
/* end */
|
216
|
+
|
217
|
+
--------------------
|
218
|
+
|
219
|
+
have_func: checking for PQexecParams()... -------------------- yes
|
220
|
+
|
221
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
222
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQexecParams'
|
223
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQexecParams; return !p; }
|
224
|
+
^
|
225
|
+
1 error generated.
|
226
|
+
checked program was:
|
227
|
+
/* begin */
|
228
|
+
1: #include "ruby.h"
|
229
|
+
2:
|
230
|
+
3: /*top*/
|
231
|
+
4: extern int t(void);
|
232
|
+
5: int main(int argc, char **argv)
|
233
|
+
6: {
|
234
|
+
7: if (argc > 1000000) {
|
235
|
+
8: printf("%p", &t);
|
236
|
+
9: }
|
237
|
+
10:
|
238
|
+
11: return 0;
|
239
|
+
12: }
|
240
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQexecParams; return !p; }
|
241
|
+
/* end */
|
242
|
+
|
243
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
244
|
+
checked program was:
|
245
|
+
/* begin */
|
246
|
+
1: #include "ruby.h"
|
247
|
+
2:
|
248
|
+
3: /*top*/
|
249
|
+
4: extern int t(void);
|
250
|
+
5: int main(int argc, char **argv)
|
251
|
+
6: {
|
252
|
+
7: if (argc > 1000000) {
|
253
|
+
8: printf("%p", &t);
|
254
|
+
9: }
|
255
|
+
10:
|
256
|
+
11: return 0;
|
257
|
+
12: }
|
258
|
+
13: extern void PQexecParams();
|
259
|
+
14: int t(void) { PQexecParams(); return 0; }
|
260
|
+
/* end */
|
261
|
+
|
262
|
+
--------------------
|
263
|
+
|
264
|
+
have_func: checking for PQescapeString()... -------------------- yes
|
265
|
+
|
266
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
267
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQescapeString'
|
268
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeString; return !p; }
|
269
|
+
^
|
270
|
+
1 error generated.
|
271
|
+
checked program was:
|
272
|
+
/* begin */
|
273
|
+
1: #include "ruby.h"
|
274
|
+
2:
|
275
|
+
3: /*top*/
|
276
|
+
4: extern int t(void);
|
277
|
+
5: int main(int argc, char **argv)
|
278
|
+
6: {
|
279
|
+
7: if (argc > 1000000) {
|
280
|
+
8: printf("%p", &t);
|
281
|
+
9: }
|
282
|
+
10:
|
283
|
+
11: return 0;
|
284
|
+
12: }
|
285
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeString; return !p; }
|
286
|
+
/* end */
|
287
|
+
|
288
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
289
|
+
checked program was:
|
290
|
+
/* begin */
|
291
|
+
1: #include "ruby.h"
|
292
|
+
2:
|
293
|
+
3: /*top*/
|
294
|
+
4: extern int t(void);
|
295
|
+
5: int main(int argc, char **argv)
|
296
|
+
6: {
|
297
|
+
7: if (argc > 1000000) {
|
298
|
+
8: printf("%p", &t);
|
299
|
+
9: }
|
300
|
+
10:
|
301
|
+
11: return 0;
|
302
|
+
12: }
|
303
|
+
13: extern void PQescapeString();
|
304
|
+
14: int t(void) { PQescapeString(); return 0; }
|
305
|
+
/* end */
|
306
|
+
|
307
|
+
--------------------
|
308
|
+
|
309
|
+
have_func: checking for PQescapeStringConn()... -------------------- yes
|
310
|
+
|
311
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
312
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQescapeStringConn'
|
313
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeStringConn; return !p; }
|
314
|
+
^
|
315
|
+
1 error generated.
|
316
|
+
checked program was:
|
317
|
+
/* begin */
|
318
|
+
1: #include "ruby.h"
|
319
|
+
2:
|
320
|
+
3: /*top*/
|
321
|
+
4: extern int t(void);
|
322
|
+
5: int main(int argc, char **argv)
|
323
|
+
6: {
|
324
|
+
7: if (argc > 1000000) {
|
325
|
+
8: printf("%p", &t);
|
326
|
+
9: }
|
327
|
+
10:
|
328
|
+
11: return 0;
|
329
|
+
12: }
|
330
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeStringConn; return !p; }
|
331
|
+
/* end */
|
332
|
+
|
333
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
334
|
+
checked program was:
|
335
|
+
/* begin */
|
336
|
+
1: #include "ruby.h"
|
337
|
+
2:
|
338
|
+
3: /*top*/
|
339
|
+
4: extern int t(void);
|
340
|
+
5: int main(int argc, char **argv)
|
341
|
+
6: {
|
342
|
+
7: if (argc > 1000000) {
|
343
|
+
8: printf("%p", &t);
|
344
|
+
9: }
|
345
|
+
10:
|
346
|
+
11: return 0;
|
347
|
+
12: }
|
348
|
+
13: extern void PQescapeStringConn();
|
349
|
+
14: int t(void) { PQescapeStringConn(); return 0; }
|
350
|
+
/* end */
|
351
|
+
|
352
|
+
--------------------
|
353
|
+
|
354
|
+
have_func: checking for PQescapeLiteral()... -------------------- yes
|
355
|
+
|
356
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
357
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQescapeLiteral'
|
358
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeLiteral; return !p; }
|
359
|
+
^
|
360
|
+
1 error generated.
|
361
|
+
checked program was:
|
362
|
+
/* begin */
|
363
|
+
1: #include "ruby.h"
|
364
|
+
2:
|
365
|
+
3: /*top*/
|
366
|
+
4: extern int t(void);
|
367
|
+
5: int main(int argc, char **argv)
|
368
|
+
6: {
|
369
|
+
7: if (argc > 1000000) {
|
370
|
+
8: printf("%p", &t);
|
371
|
+
9: }
|
372
|
+
10:
|
373
|
+
11: return 0;
|
374
|
+
12: }
|
375
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeLiteral; return !p; }
|
376
|
+
/* end */
|
377
|
+
|
378
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
379
|
+
checked program was:
|
380
|
+
/* begin */
|
381
|
+
1: #include "ruby.h"
|
382
|
+
2:
|
383
|
+
3: /*top*/
|
384
|
+
4: extern int t(void);
|
385
|
+
5: int main(int argc, char **argv)
|
386
|
+
6: {
|
387
|
+
7: if (argc > 1000000) {
|
388
|
+
8: printf("%p", &t);
|
389
|
+
9: }
|
390
|
+
10:
|
391
|
+
11: return 0;
|
392
|
+
12: }
|
393
|
+
13: extern void PQescapeLiteral();
|
394
|
+
14: int t(void) { PQescapeLiteral(); return 0; }
|
395
|
+
/* end */
|
396
|
+
|
397
|
+
--------------------
|
398
|
+
|
399
|
+
have_func: checking for PQescapeIdentifier()... -------------------- yes
|
400
|
+
|
401
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
402
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQescapeIdentifier'
|
403
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeIdentifier; return !p; }
|
404
|
+
^
|
405
|
+
1 error generated.
|
406
|
+
checked program was:
|
407
|
+
/* begin */
|
408
|
+
1: #include "ruby.h"
|
409
|
+
2:
|
410
|
+
3: /*top*/
|
411
|
+
4: extern int t(void);
|
412
|
+
5: int main(int argc, char **argv)
|
413
|
+
6: {
|
414
|
+
7: if (argc > 1000000) {
|
415
|
+
8: printf("%p", &t);
|
416
|
+
9: }
|
417
|
+
10:
|
418
|
+
11: return 0;
|
419
|
+
12: }
|
420
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQescapeIdentifier; return !p; }
|
421
|
+
/* end */
|
422
|
+
|
423
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
424
|
+
checked program was:
|
425
|
+
/* begin */
|
426
|
+
1: #include "ruby.h"
|
427
|
+
2:
|
428
|
+
3: /*top*/
|
429
|
+
4: extern int t(void);
|
430
|
+
5: int main(int argc, char **argv)
|
431
|
+
6: {
|
432
|
+
7: if (argc > 1000000) {
|
433
|
+
8: printf("%p", &t);
|
434
|
+
9: }
|
435
|
+
10:
|
436
|
+
11: return 0;
|
437
|
+
12: }
|
438
|
+
13: extern void PQescapeIdentifier();
|
439
|
+
14: int t(void) { PQescapeIdentifier(); return 0; }
|
440
|
+
/* end */
|
441
|
+
|
442
|
+
--------------------
|
443
|
+
|
444
|
+
have_func: checking for PQgetCancel()... -------------------- yes
|
445
|
+
|
446
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
447
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQgetCancel'
|
448
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQgetCancel; return !p; }
|
449
|
+
^
|
450
|
+
1 error generated.
|
451
|
+
checked program was:
|
452
|
+
/* begin */
|
453
|
+
1: #include "ruby.h"
|
454
|
+
2:
|
455
|
+
3: /*top*/
|
456
|
+
4: extern int t(void);
|
457
|
+
5: int main(int argc, char **argv)
|
458
|
+
6: {
|
459
|
+
7: if (argc > 1000000) {
|
460
|
+
8: printf("%p", &t);
|
461
|
+
9: }
|
462
|
+
10:
|
463
|
+
11: return 0;
|
464
|
+
12: }
|
465
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQgetCancel; return !p; }
|
466
|
+
/* end */
|
467
|
+
|
468
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
469
|
+
checked program was:
|
470
|
+
/* begin */
|
471
|
+
1: #include "ruby.h"
|
472
|
+
2:
|
473
|
+
3: /*top*/
|
474
|
+
4: extern int t(void);
|
475
|
+
5: int main(int argc, char **argv)
|
476
|
+
6: {
|
477
|
+
7: if (argc > 1000000) {
|
478
|
+
8: printf("%p", &t);
|
479
|
+
9: }
|
480
|
+
10:
|
481
|
+
11: return 0;
|
482
|
+
12: }
|
483
|
+
13: extern void PQgetCancel();
|
484
|
+
14: int t(void) { PQgetCancel(); return 0; }
|
485
|
+
/* end */
|
486
|
+
|
487
|
+
--------------------
|
488
|
+
|
489
|
+
have_func: checking for lo_create()... -------------------- yes
|
490
|
+
|
491
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
492
|
+
conftest.c:13:57: error: use of undeclared identifier 'lo_create'
|
493
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))lo_create; return !p; }
|
494
|
+
^
|
495
|
+
1 error generated.
|
496
|
+
checked program was:
|
497
|
+
/* begin */
|
498
|
+
1: #include "ruby.h"
|
499
|
+
2:
|
500
|
+
3: /*top*/
|
501
|
+
4: extern int t(void);
|
502
|
+
5: int main(int argc, char **argv)
|
503
|
+
6: {
|
504
|
+
7: if (argc > 1000000) {
|
505
|
+
8: printf("%p", &t);
|
506
|
+
9: }
|
507
|
+
10:
|
508
|
+
11: return 0;
|
509
|
+
12: }
|
510
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))lo_create; return !p; }
|
511
|
+
/* end */
|
512
|
+
|
513
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
514
|
+
checked program was:
|
515
|
+
/* begin */
|
516
|
+
1: #include "ruby.h"
|
517
|
+
2:
|
518
|
+
3: /*top*/
|
519
|
+
4: extern int t(void);
|
520
|
+
5: int main(int argc, char **argv)
|
521
|
+
6: {
|
522
|
+
7: if (argc > 1000000) {
|
523
|
+
8: printf("%p", &t);
|
524
|
+
9: }
|
525
|
+
10:
|
526
|
+
11: return 0;
|
527
|
+
12: }
|
528
|
+
13: extern void lo_create();
|
529
|
+
14: int t(void) { lo_create(); return 0; }
|
530
|
+
/* end */
|
531
|
+
|
532
|
+
--------------------
|
533
|
+
|
534
|
+
have_func: checking for pg_encoding_to_char()... -------------------- yes
|
535
|
+
|
536
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
537
|
+
conftest.c:13:57: error: use of undeclared identifier 'pg_encoding_to_char'
|
538
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))pg_encoding_to_char; return !p; }
|
539
|
+
^
|
540
|
+
1 error generated.
|
541
|
+
checked program was:
|
542
|
+
/* begin */
|
543
|
+
1: #include "ruby.h"
|
544
|
+
2:
|
545
|
+
3: /*top*/
|
546
|
+
4: extern int t(void);
|
547
|
+
5: int main(int argc, char **argv)
|
548
|
+
6: {
|
549
|
+
7: if (argc > 1000000) {
|
550
|
+
8: printf("%p", &t);
|
551
|
+
9: }
|
552
|
+
10:
|
553
|
+
11: return 0;
|
554
|
+
12: }
|
555
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))pg_encoding_to_char; return !p; }
|
556
|
+
/* end */
|
557
|
+
|
558
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
559
|
+
checked program was:
|
560
|
+
/* begin */
|
561
|
+
1: #include "ruby.h"
|
562
|
+
2:
|
563
|
+
3: /*top*/
|
564
|
+
4: extern int t(void);
|
565
|
+
5: int main(int argc, char **argv)
|
566
|
+
6: {
|
567
|
+
7: if (argc > 1000000) {
|
568
|
+
8: printf("%p", &t);
|
569
|
+
9: }
|
570
|
+
10:
|
571
|
+
11: return 0;
|
572
|
+
12: }
|
573
|
+
13: extern void pg_encoding_to_char();
|
574
|
+
14: int t(void) { pg_encoding_to_char(); return 0; }
|
575
|
+
/* end */
|
576
|
+
|
577
|
+
--------------------
|
578
|
+
|
579
|
+
have_func: checking for pg_char_to_encoding()... -------------------- yes
|
580
|
+
|
581
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
582
|
+
conftest.c:13:57: error: use of undeclared identifier 'pg_char_to_encoding'
|
583
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))pg_char_to_encoding; return !p; }
|
584
|
+
^
|
585
|
+
1 error generated.
|
586
|
+
checked program was:
|
587
|
+
/* begin */
|
588
|
+
1: #include "ruby.h"
|
589
|
+
2:
|
590
|
+
3: /*top*/
|
591
|
+
4: extern int t(void);
|
592
|
+
5: int main(int argc, char **argv)
|
593
|
+
6: {
|
594
|
+
7: if (argc > 1000000) {
|
595
|
+
8: printf("%p", &t);
|
596
|
+
9: }
|
597
|
+
10:
|
598
|
+
11: return 0;
|
599
|
+
12: }
|
600
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))pg_char_to_encoding; return !p; }
|
601
|
+
/* end */
|
602
|
+
|
603
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
604
|
+
checked program was:
|
605
|
+
/* begin */
|
606
|
+
1: #include "ruby.h"
|
607
|
+
2:
|
608
|
+
3: /*top*/
|
609
|
+
4: extern int t(void);
|
610
|
+
5: int main(int argc, char **argv)
|
611
|
+
6: {
|
612
|
+
7: if (argc > 1000000) {
|
613
|
+
8: printf("%p", &t);
|
614
|
+
9: }
|
615
|
+
10:
|
616
|
+
11: return 0;
|
617
|
+
12: }
|
618
|
+
13: extern void pg_char_to_encoding();
|
619
|
+
14: int t(void) { pg_char_to_encoding(); return 0; }
|
620
|
+
/* end */
|
621
|
+
|
622
|
+
--------------------
|
623
|
+
|
624
|
+
have_func: checking for PQsetClientEncoding()... -------------------- yes
|
625
|
+
|
626
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
627
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQsetClientEncoding'
|
628
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsetClientEncoding; return !p; }
|
629
|
+
^
|
630
|
+
1 error generated.
|
631
|
+
checked program was:
|
632
|
+
/* begin */
|
633
|
+
1: #include "ruby.h"
|
634
|
+
2:
|
635
|
+
3: /*top*/
|
636
|
+
4: extern int t(void);
|
637
|
+
5: int main(int argc, char **argv)
|
638
|
+
6: {
|
639
|
+
7: if (argc > 1000000) {
|
640
|
+
8: printf("%p", &t);
|
641
|
+
9: }
|
642
|
+
10:
|
643
|
+
11: return 0;
|
644
|
+
12: }
|
645
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsetClientEncoding; return !p; }
|
646
|
+
/* end */
|
647
|
+
|
648
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
649
|
+
checked program was:
|
650
|
+
/* begin */
|
651
|
+
1: #include "ruby.h"
|
652
|
+
2:
|
653
|
+
3: /*top*/
|
654
|
+
4: extern int t(void);
|
655
|
+
5: int main(int argc, char **argv)
|
656
|
+
6: {
|
657
|
+
7: if (argc > 1000000) {
|
658
|
+
8: printf("%p", &t);
|
659
|
+
9: }
|
660
|
+
10:
|
661
|
+
11: return 0;
|
662
|
+
12: }
|
663
|
+
13: extern void PQsetClientEncoding();
|
664
|
+
14: int t(void) { PQsetClientEncoding(); return 0; }
|
665
|
+
/* end */
|
666
|
+
|
667
|
+
--------------------
|
668
|
+
|
669
|
+
have_func: checking for PQlibVersion()... -------------------- yes
|
670
|
+
|
671
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
672
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQlibVersion'
|
673
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQlibVersion; return !p; }
|
674
|
+
^
|
675
|
+
1 error generated.
|
676
|
+
checked program was:
|
677
|
+
/* begin */
|
678
|
+
1: #include "ruby.h"
|
679
|
+
2:
|
680
|
+
3: /*top*/
|
681
|
+
4: extern int t(void);
|
682
|
+
5: int main(int argc, char **argv)
|
683
|
+
6: {
|
684
|
+
7: if (argc > 1000000) {
|
685
|
+
8: printf("%p", &t);
|
686
|
+
9: }
|
687
|
+
10:
|
688
|
+
11: return 0;
|
689
|
+
12: }
|
690
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQlibVersion; return !p; }
|
691
|
+
/* end */
|
692
|
+
|
693
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
694
|
+
checked program was:
|
695
|
+
/* begin */
|
696
|
+
1: #include "ruby.h"
|
697
|
+
2:
|
698
|
+
3: /*top*/
|
699
|
+
4: extern int t(void);
|
700
|
+
5: int main(int argc, char **argv)
|
701
|
+
6: {
|
702
|
+
7: if (argc > 1000000) {
|
703
|
+
8: printf("%p", &t);
|
704
|
+
9: }
|
705
|
+
10:
|
706
|
+
11: return 0;
|
707
|
+
12: }
|
708
|
+
13: extern void PQlibVersion();
|
709
|
+
14: int t(void) { PQlibVersion(); return 0; }
|
710
|
+
/* end */
|
711
|
+
|
712
|
+
--------------------
|
713
|
+
|
714
|
+
have_func: checking for PQping()... -------------------- yes
|
715
|
+
|
716
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
717
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQping'
|
718
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQping; return !p; }
|
719
|
+
^
|
720
|
+
1 error generated.
|
721
|
+
checked program was:
|
722
|
+
/* begin */
|
723
|
+
1: #include "ruby.h"
|
724
|
+
2:
|
725
|
+
3: /*top*/
|
726
|
+
4: extern int t(void);
|
727
|
+
5: int main(int argc, char **argv)
|
728
|
+
6: {
|
729
|
+
7: if (argc > 1000000) {
|
730
|
+
8: printf("%p", &t);
|
731
|
+
9: }
|
732
|
+
10:
|
733
|
+
11: return 0;
|
734
|
+
12: }
|
735
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQping; return !p; }
|
736
|
+
/* end */
|
737
|
+
|
738
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
739
|
+
checked program was:
|
740
|
+
/* begin */
|
741
|
+
1: #include "ruby.h"
|
742
|
+
2:
|
743
|
+
3: /*top*/
|
744
|
+
4: extern int t(void);
|
745
|
+
5: int main(int argc, char **argv)
|
746
|
+
6: {
|
747
|
+
7: if (argc > 1000000) {
|
748
|
+
8: printf("%p", &t);
|
749
|
+
9: }
|
750
|
+
10:
|
751
|
+
11: return 0;
|
752
|
+
12: }
|
753
|
+
13: extern void PQping();
|
754
|
+
14: int t(void) { PQping(); return 0; }
|
755
|
+
/* end */
|
756
|
+
|
757
|
+
--------------------
|
758
|
+
|
759
|
+
have_func: checking for PQsetSingleRowMode()... -------------------- yes
|
760
|
+
|
761
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
762
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQsetSingleRowMode'
|
763
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsetSingleRowMode; return !p; }
|
764
|
+
^
|
765
|
+
1 error generated.
|
766
|
+
checked program was:
|
767
|
+
/* begin */
|
768
|
+
1: #include "ruby.h"
|
769
|
+
2:
|
770
|
+
3: /*top*/
|
771
|
+
4: extern int t(void);
|
772
|
+
5: int main(int argc, char **argv)
|
773
|
+
6: {
|
774
|
+
7: if (argc > 1000000) {
|
775
|
+
8: printf("%p", &t);
|
776
|
+
9: }
|
777
|
+
10:
|
778
|
+
11: return 0;
|
779
|
+
12: }
|
780
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsetSingleRowMode; return !p; }
|
781
|
+
/* end */
|
782
|
+
|
783
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
784
|
+
checked program was:
|
785
|
+
/* begin */
|
786
|
+
1: #include "ruby.h"
|
787
|
+
2:
|
788
|
+
3: /*top*/
|
789
|
+
4: extern int t(void);
|
790
|
+
5: int main(int argc, char **argv)
|
791
|
+
6: {
|
792
|
+
7: if (argc > 1000000) {
|
793
|
+
8: printf("%p", &t);
|
794
|
+
9: }
|
795
|
+
10:
|
796
|
+
11: return 0;
|
797
|
+
12: }
|
798
|
+
13: extern void PQsetSingleRowMode();
|
799
|
+
14: int t(void) { PQsetSingleRowMode(); return 0; }
|
800
|
+
/* end */
|
801
|
+
|
802
|
+
--------------------
|
803
|
+
|
804
|
+
have_func: checking for PQconninfo()... -------------------- yes
|
805
|
+
|
806
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
807
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQconninfo'
|
808
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconninfo; return !p; }
|
809
|
+
^
|
810
|
+
1 error generated.
|
811
|
+
checked program was:
|
812
|
+
/* begin */
|
813
|
+
1: #include "ruby.h"
|
814
|
+
2:
|
815
|
+
3: /*top*/
|
816
|
+
4: extern int t(void);
|
817
|
+
5: int main(int argc, char **argv)
|
818
|
+
6: {
|
819
|
+
7: if (argc > 1000000) {
|
820
|
+
8: printf("%p", &t);
|
821
|
+
9: }
|
822
|
+
10:
|
823
|
+
11: return 0;
|
824
|
+
12: }
|
825
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQconninfo; return !p; }
|
826
|
+
/* end */
|
827
|
+
|
828
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
829
|
+
checked program was:
|
830
|
+
/* begin */
|
831
|
+
1: #include "ruby.h"
|
832
|
+
2:
|
833
|
+
3: /*top*/
|
834
|
+
4: extern int t(void);
|
835
|
+
5: int main(int argc, char **argv)
|
836
|
+
6: {
|
837
|
+
7: if (argc > 1000000) {
|
838
|
+
8: printf("%p", &t);
|
839
|
+
9: }
|
840
|
+
10:
|
841
|
+
11: return 0;
|
842
|
+
12: }
|
843
|
+
13: extern void PQconninfo();
|
844
|
+
14: int t(void) { PQconninfo(); return 0; }
|
845
|
+
/* end */
|
846
|
+
|
847
|
+
--------------------
|
848
|
+
|
849
|
+
have_func: checking for PQsslAttribute()... -------------------- yes
|
850
|
+
|
851
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
852
|
+
conftest.c:13:57: error: use of undeclared identifier 'PQsslAttribute'
|
853
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsslAttribute; return !p; }
|
854
|
+
^
|
855
|
+
1 error generated.
|
856
|
+
checked program was:
|
857
|
+
/* begin */
|
858
|
+
1: #include "ruby.h"
|
859
|
+
2:
|
860
|
+
3: /*top*/
|
861
|
+
4: extern int t(void);
|
862
|
+
5: int main(int argc, char **argv)
|
863
|
+
6: {
|
864
|
+
7: if (argc > 1000000) {
|
865
|
+
8: printf("%p", &t);
|
866
|
+
9: }
|
867
|
+
10:
|
868
|
+
11: return 0;
|
869
|
+
12: }
|
870
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))PQsslAttribute; return !p; }
|
871
|
+
/* end */
|
872
|
+
|
873
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
874
|
+
checked program was:
|
875
|
+
/* begin */
|
876
|
+
1: #include "ruby.h"
|
877
|
+
2:
|
878
|
+
3: /*top*/
|
879
|
+
4: extern int t(void);
|
880
|
+
5: int main(int argc, char **argv)
|
881
|
+
6: {
|
882
|
+
7: if (argc > 1000000) {
|
883
|
+
8: printf("%p", &t);
|
884
|
+
9: }
|
885
|
+
10:
|
886
|
+
11: return 0;
|
887
|
+
12: }
|
888
|
+
13: extern void PQsslAttribute();
|
889
|
+
14: int t(void) { PQsslAttribute(); return 0; }
|
890
|
+
/* end */
|
891
|
+
|
892
|
+
--------------------
|
893
|
+
|
894
|
+
have_func: checking for rb_encdb_alias()... -------------------- yes
|
895
|
+
|
896
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
897
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_encdb_alias'
|
898
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_encdb_alias; return !p; }
|
899
|
+
^
|
900
|
+
1 error generated.
|
901
|
+
checked program was:
|
902
|
+
/* begin */
|
903
|
+
1: #include "ruby.h"
|
904
|
+
2:
|
905
|
+
3: /*top*/
|
906
|
+
4: extern int t(void);
|
907
|
+
5: int main(int argc, char **argv)
|
908
|
+
6: {
|
909
|
+
7: if (argc > 1000000) {
|
910
|
+
8: printf("%p", &t);
|
911
|
+
9: }
|
912
|
+
10:
|
913
|
+
11: return 0;
|
914
|
+
12: }
|
915
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_encdb_alias; return !p; }
|
916
|
+
/* end */
|
917
|
+
|
918
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
919
|
+
checked program was:
|
920
|
+
/* begin */
|
921
|
+
1: #include "ruby.h"
|
922
|
+
2:
|
923
|
+
3: /*top*/
|
924
|
+
4: extern int t(void);
|
925
|
+
5: int main(int argc, char **argv)
|
926
|
+
6: {
|
927
|
+
7: if (argc > 1000000) {
|
928
|
+
8: printf("%p", &t);
|
929
|
+
9: }
|
930
|
+
10:
|
931
|
+
11: return 0;
|
932
|
+
12: }
|
933
|
+
13: extern void rb_encdb_alias();
|
934
|
+
14: int t(void) { rb_encdb_alias(); return 0; }
|
935
|
+
/* end */
|
936
|
+
|
937
|
+
--------------------
|
938
|
+
|
939
|
+
have_func: checking for rb_enc_alias()... -------------------- yes
|
940
|
+
|
941
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
942
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_enc_alias'
|
943
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_alias; return !p; }
|
944
|
+
^
|
945
|
+
1 error generated.
|
946
|
+
checked program was:
|
947
|
+
/* begin */
|
948
|
+
1: #include "ruby.h"
|
949
|
+
2:
|
950
|
+
3: /*top*/
|
951
|
+
4: extern int t(void);
|
952
|
+
5: int main(int argc, char **argv)
|
953
|
+
6: {
|
954
|
+
7: if (argc > 1000000) {
|
955
|
+
8: printf("%p", &t);
|
956
|
+
9: }
|
957
|
+
10:
|
958
|
+
11: return 0;
|
959
|
+
12: }
|
960
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_alias; return !p; }
|
961
|
+
/* end */
|
962
|
+
|
963
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
964
|
+
checked program was:
|
965
|
+
/* begin */
|
966
|
+
1: #include "ruby.h"
|
967
|
+
2:
|
968
|
+
3: /*top*/
|
969
|
+
4: extern int t(void);
|
970
|
+
5: int main(int argc, char **argv)
|
971
|
+
6: {
|
972
|
+
7: if (argc > 1000000) {
|
973
|
+
8: printf("%p", &t);
|
974
|
+
9: }
|
975
|
+
10:
|
976
|
+
11: return 0;
|
977
|
+
12: }
|
978
|
+
13: extern void rb_enc_alias();
|
979
|
+
14: int t(void) { rb_enc_alias(); return 0; }
|
980
|
+
/* end */
|
981
|
+
|
982
|
+
--------------------
|
983
|
+
|
984
|
+
have_func: checking for rb_thread_call_without_gvl()... -------------------- yes
|
985
|
+
|
986
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
987
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_without_gvl'
|
988
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; }
|
989
|
+
^
|
990
|
+
1 error generated.
|
991
|
+
checked program was:
|
992
|
+
/* begin */
|
993
|
+
1: #include "ruby.h"
|
994
|
+
2:
|
995
|
+
3: /*top*/
|
996
|
+
4: extern int t(void);
|
997
|
+
5: int main(int argc, char **argv)
|
998
|
+
6: {
|
999
|
+
7: if (argc > 1000000) {
|
1000
|
+
8: printf("%p", &t);
|
1001
|
+
9: }
|
1002
|
+
10:
|
1003
|
+
11: return 0;
|
1004
|
+
12: }
|
1005
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_without_gvl; return !p; }
|
1006
|
+
/* end */
|
1007
|
+
|
1008
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1009
|
+
checked program was:
|
1010
|
+
/* begin */
|
1011
|
+
1: #include "ruby.h"
|
1012
|
+
2:
|
1013
|
+
3: /*top*/
|
1014
|
+
4: extern int t(void);
|
1015
|
+
5: int main(int argc, char **argv)
|
1016
|
+
6: {
|
1017
|
+
7: if (argc > 1000000) {
|
1018
|
+
8: printf("%p", &t);
|
1019
|
+
9: }
|
1020
|
+
10:
|
1021
|
+
11: return 0;
|
1022
|
+
12: }
|
1023
|
+
13: extern void rb_thread_call_without_gvl();
|
1024
|
+
14: int t(void) { rb_thread_call_without_gvl(); return 0; }
|
1025
|
+
/* end */
|
1026
|
+
|
1027
|
+
--------------------
|
1028
|
+
|
1029
|
+
have_func: checking for rb_thread_call_with_gvl()... -------------------- yes
|
1030
|
+
|
1031
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1032
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_thread_call_with_gvl'
|
1033
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return !p; }
|
1034
|
+
^
|
1035
|
+
1 error generated.
|
1036
|
+
checked program was:
|
1037
|
+
/* begin */
|
1038
|
+
1: #include "ruby.h"
|
1039
|
+
2:
|
1040
|
+
3: /*top*/
|
1041
|
+
4: extern int t(void);
|
1042
|
+
5: int main(int argc, char **argv)
|
1043
|
+
6: {
|
1044
|
+
7: if (argc > 1000000) {
|
1045
|
+
8: printf("%p", &t);
|
1046
|
+
9: }
|
1047
|
+
10:
|
1048
|
+
11: return 0;
|
1049
|
+
12: }
|
1050
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_call_with_gvl; return !p; }
|
1051
|
+
/* end */
|
1052
|
+
|
1053
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1054
|
+
checked program was:
|
1055
|
+
/* begin */
|
1056
|
+
1: #include "ruby.h"
|
1057
|
+
2:
|
1058
|
+
3: /*top*/
|
1059
|
+
4: extern int t(void);
|
1060
|
+
5: int main(int argc, char **argv)
|
1061
|
+
6: {
|
1062
|
+
7: if (argc > 1000000) {
|
1063
|
+
8: printf("%p", &t);
|
1064
|
+
9: }
|
1065
|
+
10:
|
1066
|
+
11: return 0;
|
1067
|
+
12: }
|
1068
|
+
13: extern void rb_thread_call_with_gvl();
|
1069
|
+
14: int t(void) { rb_thread_call_with_gvl(); return 0; }
|
1070
|
+
/* end */
|
1071
|
+
|
1072
|
+
--------------------
|
1073
|
+
|
1074
|
+
have_func: checking for rb_thread_fd_select()... -------------------- yes
|
1075
|
+
|
1076
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1077
|
+
checked program was:
|
1078
|
+
/* begin */
|
1079
|
+
1: #include "ruby.h"
|
1080
|
+
2:
|
1081
|
+
3: /*top*/
|
1082
|
+
4: extern int t(void);
|
1083
|
+
5: int main(int argc, char **argv)
|
1084
|
+
6: {
|
1085
|
+
7: if (argc > 1000000) {
|
1086
|
+
8: printf("%p", &t);
|
1087
|
+
9: }
|
1088
|
+
10:
|
1089
|
+
11: return 0;
|
1090
|
+
12: }
|
1091
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_fd_select; return !p; }
|
1092
|
+
/* end */
|
1093
|
+
|
1094
|
+
--------------------
|
1095
|
+
|
1096
|
+
have_func: checking for rb_w32_wrap_io_handle()... -------------------- no
|
1097
|
+
|
1098
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1099
|
+
conftest.c:13:57: error: use of undeclared identifier 'rb_w32_wrap_io_handle'
|
1100
|
+
int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_w32_wrap_io_handle; return !p; }
|
1101
|
+
^
|
1102
|
+
1 error generated.
|
1103
|
+
checked program was:
|
1104
|
+
/* begin */
|
1105
|
+
1: #include "ruby.h"
|
1106
|
+
2:
|
1107
|
+
3: /*top*/
|
1108
|
+
4: extern int t(void);
|
1109
|
+
5: int main(int argc, char **argv)
|
1110
|
+
6: {
|
1111
|
+
7: if (argc > 1000000) {
|
1112
|
+
8: printf("%p", &t);
|
1113
|
+
9: }
|
1114
|
+
10:
|
1115
|
+
11: return 0;
|
1116
|
+
12: }
|
1117
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_w32_wrap_io_handle; return !p; }
|
1118
|
+
/* end */
|
1119
|
+
|
1120
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1121
|
+
Undefined symbols for architecture x86_64:
|
1122
|
+
"_rb_w32_wrap_io_handle", referenced from:
|
1123
|
+
_t in conftest-e67fc5.o
|
1124
|
+
ld: symbol(s) not found for architecture x86_64
|
1125
|
+
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
1126
|
+
checked program was:
|
1127
|
+
/* begin */
|
1128
|
+
1: #include "ruby.h"
|
1129
|
+
2:
|
1130
|
+
3: /*top*/
|
1131
|
+
4: extern int t(void);
|
1132
|
+
5: int main(int argc, char **argv)
|
1133
|
+
6: {
|
1134
|
+
7: if (argc > 1000000) {
|
1135
|
+
8: printf("%p", &t);
|
1136
|
+
9: }
|
1137
|
+
10:
|
1138
|
+
11: return 0;
|
1139
|
+
12: }
|
1140
|
+
13: extern void rb_w32_wrap_io_handle();
|
1141
|
+
14: int t(void) { rb_w32_wrap_io_handle(); return 0; }
|
1142
|
+
/* end */
|
1143
|
+
|
1144
|
+
--------------------
|
1145
|
+
|
1146
|
+
have_func: checking for rb_str_modify_expand()... -------------------- yes
|
1147
|
+
|
1148
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1149
|
+
checked program was:
|
1150
|
+
/* begin */
|
1151
|
+
1: #include "ruby.h"
|
1152
|
+
2:
|
1153
|
+
3: /*top*/
|
1154
|
+
4: extern int t(void);
|
1155
|
+
5: int main(int argc, char **argv)
|
1156
|
+
6: {
|
1157
|
+
7: if (argc > 1000000) {
|
1158
|
+
8: printf("%p", &t);
|
1159
|
+
9: }
|
1160
|
+
10:
|
1161
|
+
11: return 0;
|
1162
|
+
12: }
|
1163
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_str_modify_expand; return !p; }
|
1164
|
+
/* end */
|
1165
|
+
|
1166
|
+
--------------------
|
1167
|
+
|
1168
|
+
have_func: checking for rb_hash_dup()... -------------------- yes
|
1169
|
+
|
1170
|
+
"clang -o conftest -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -L/usr/local/lib -L. -L/Users/takahashiseiji/.rbenv/versions/2.3.0/lib -fstack-protector -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lpq -lruby-static -framework CoreFoundation -lpq -lpthread -ldl -lobjc "
|
1171
|
+
checked program was:
|
1172
|
+
/* begin */
|
1173
|
+
1: #include "ruby.h"
|
1174
|
+
2:
|
1175
|
+
3: /*top*/
|
1176
|
+
4: extern int t(void);
|
1177
|
+
5: int main(int argc, char **argv)
|
1178
|
+
6: {
|
1179
|
+
7: if (argc > 1000000) {
|
1180
|
+
8: printf("%p", &t);
|
1181
|
+
9: }
|
1182
|
+
10:
|
1183
|
+
11: return 0;
|
1184
|
+
12: }
|
1185
|
+
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_dup; return !p; }
|
1186
|
+
/* end */
|
1187
|
+
|
1188
|
+
--------------------
|
1189
|
+
|
1190
|
+
have_const: checking for PGRES_COPY_BOTH in libpq-fe.h... -------------------- yes
|
1191
|
+
|
1192
|
+
"clang -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c"
|
1193
|
+
checked program was:
|
1194
|
+
/* begin */
|
1195
|
+
1: #include "ruby.h"
|
1196
|
+
2:
|
1197
|
+
3: #include <libpq-fe.h>
|
1198
|
+
4:
|
1199
|
+
5: /*top*/
|
1200
|
+
6: typedef int conftest_type;
|
1201
|
+
7: conftest_type conftestval = (int)PGRES_COPY_BOTH;
|
1202
|
+
/* end */
|
1203
|
+
|
1204
|
+
--------------------
|
1205
|
+
|
1206
|
+
have_const: checking for PGRES_SINGLE_TUPLE in libpq-fe.h... -------------------- yes
|
1207
|
+
|
1208
|
+
"clang -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c"
|
1209
|
+
checked program was:
|
1210
|
+
/* begin */
|
1211
|
+
1: #include "ruby.h"
|
1212
|
+
2:
|
1213
|
+
3: #include <libpq-fe.h>
|
1214
|
+
4:
|
1215
|
+
5: /*top*/
|
1216
|
+
6: typedef int conftest_type;
|
1217
|
+
7: conftest_type conftestval = (int)PGRES_SINGLE_TUPLE;
|
1218
|
+
/* end */
|
1219
|
+
|
1220
|
+
--------------------
|
1221
|
+
|
1222
|
+
have_const: checking for PG_DIAG_TABLE_NAME in libpq-fe.h... -------------------- yes
|
1223
|
+
|
1224
|
+
"clang -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c"
|
1225
|
+
checked program was:
|
1226
|
+
/* begin */
|
1227
|
+
1: #include "ruby.h"
|
1228
|
+
2:
|
1229
|
+
3: #include <libpq-fe.h>
|
1230
|
+
4:
|
1231
|
+
5: /*top*/
|
1232
|
+
6: typedef int conftest_type;
|
1233
|
+
7: conftest_type conftestval = (int)PG_DIAG_TABLE_NAME;
|
1234
|
+
/* end */
|
1235
|
+
|
1236
|
+
--------------------
|
1237
|
+
|
1238
|
+
have_struct_member: checking for struct pgNotify.extra in libpq-fe.h... -------------------- yes
|
1239
|
+
|
1240
|
+
"clang -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c"
|
1241
|
+
checked program was:
|
1242
|
+
/* begin */
|
1243
|
+
1: #include "ruby.h"
|
1244
|
+
2:
|
1245
|
+
3: #include <libpq-fe.h>
|
1246
|
+
4:
|
1247
|
+
5: /*top*/
|
1248
|
+
6: int s = (char *)&((struct pgNotify*)0)->extra - (char *)0;
|
1249
|
+
7: int main(int argc, char **argv)
|
1250
|
+
8: {
|
1251
|
+
9: return 0;
|
1252
|
+
10: }
|
1253
|
+
/* end */
|
1254
|
+
|
1255
|
+
--------------------
|
1256
|
+
|
1257
|
+
have_header: checking for unistd.h... -------------------- yes
|
1258
|
+
|
1259
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
1260
|
+
checked program was:
|
1261
|
+
/* begin */
|
1262
|
+
1: #include "ruby.h"
|
1263
|
+
2:
|
1264
|
+
3: #include <unistd.h>
|
1265
|
+
/* end */
|
1266
|
+
|
1267
|
+
--------------------
|
1268
|
+
|
1269
|
+
have_header: checking for inttypes.h... -------------------- yes
|
1270
|
+
|
1271
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
1272
|
+
checked program was:
|
1273
|
+
/* begin */
|
1274
|
+
1: #include "ruby.h"
|
1275
|
+
2:
|
1276
|
+
3: #include <inttypes.h>
|
1277
|
+
/* end */
|
1278
|
+
|
1279
|
+
--------------------
|
1280
|
+
|
1281
|
+
have_header: checking for ruby/st.h... -------------------- yes
|
1282
|
+
|
1283
|
+
"clang -E -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe conftest.c -o conftest.i"
|
1284
|
+
checked program was:
|
1285
|
+
/* begin */
|
1286
|
+
1: #include "ruby.h"
|
1287
|
+
2:
|
1288
|
+
3: #include <ruby/st.h>
|
1289
|
+
/* end */
|
1290
|
+
|
1291
|
+
--------------------
|
1292
|
+
|
1293
|
+
checking for C99 variable length arrays... -------------------- yes
|
1294
|
+
|
1295
|
+
"clang -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/x86_64-darwin15 -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0/ruby/backward -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include/ruby-2.3.0 -I. -I/usr/local/Cellar/postgresql/9.5.4/include -I/Users/takahashiseiji/.rbenv/versions/2.3.0/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -Wno-error=shorten-64-to-32 -pipe -c conftest.c"
|
1296
|
+
checked program was:
|
1297
|
+
/* begin */
|
1298
|
+
1: #include "ruby.h"
|
1299
|
+
2:
|
1300
|
+
3: void test_vla(int l){ int vla[l]; }
|
1301
|
+
/* end */
|
1302
|
+
|
1303
|
+
--------------------
|
1304
|
+
|
1305
|
+
extconf.h is:
|
1306
|
+
/* begin */
|
1307
|
+
1: #ifndef EXTCONF_H
|
1308
|
+
2: #define EXTCONF_H
|
1309
|
+
3: #define HAVE_PQCONNECTIONUSEDPASSWORD 1
|
1310
|
+
4: #define HAVE_PQISTHREADSAFE 1
|
1311
|
+
5: #define HAVE_PQPREPARE 1
|
1312
|
+
6: #define HAVE_PQEXECPARAMS 1
|
1313
|
+
7: #define HAVE_PQESCAPESTRING 1
|
1314
|
+
8: #define HAVE_PQESCAPESTRINGCONN 1
|
1315
|
+
9: #define HAVE_PQESCAPELITERAL 1
|
1316
|
+
10: #define HAVE_PQESCAPEIDENTIFIER 1
|
1317
|
+
11: #define HAVE_PQGETCANCEL 1
|
1318
|
+
12: #define HAVE_LO_CREATE 1
|
1319
|
+
13: #define HAVE_PG_ENCODING_TO_CHAR 1
|
1320
|
+
14: #define HAVE_PG_CHAR_TO_ENCODING 1
|
1321
|
+
15: #define HAVE_PQSETCLIENTENCODING 1
|
1322
|
+
16: #define HAVE_PQLIBVERSION 1
|
1323
|
+
17: #define HAVE_PQPING 1
|
1324
|
+
18: #define HAVE_PQSETSINGLEROWMODE 1
|
1325
|
+
19: #define HAVE_PQCONNINFO 1
|
1326
|
+
20: #define HAVE_PQSSLATTRIBUTE 1
|
1327
|
+
21: #define HAVE_RB_ENCDB_ALIAS 1
|
1328
|
+
22: #define HAVE_RB_ENC_ALIAS 1
|
1329
|
+
23: #define HAVE_RB_THREAD_CALL_WITHOUT_GVL 1
|
1330
|
+
24: #define HAVE_RB_THREAD_CALL_WITH_GVL 1
|
1331
|
+
25: #define HAVE_RB_THREAD_FD_SELECT 1
|
1332
|
+
26: #define HAVE_RB_STR_MODIFY_EXPAND 1
|
1333
|
+
27: #define HAVE_RB_HASH_DUP 1
|
1334
|
+
28: #define HAVE_CONST_PGRES_COPY_BOTH 1
|
1335
|
+
29: #define HAVE_CONST_PGRES_SINGLE_TUPLE 1
|
1336
|
+
30: #define HAVE_CONST_PG_DIAG_TABLE_NAME 1
|
1337
|
+
31: #define HAVE_STRUCT_PGNOTIFY_EXTRA 1
|
1338
|
+
32: #define HAVE_ST_EXTRA 1
|
1339
|
+
33: #define HAVE_ST_NOTIFY_EXTRA 1
|
1340
|
+
34: #define HAVE_UNISTD_H 1
|
1341
|
+
35: #define HAVE_INTTYPES_H 1
|
1342
|
+
36: #define HAVE_RUBY_ST_H 1
|
1343
|
+
37: #define HAVE_VARIABLE_LENGTH_ARRAYS 1
|
1344
|
+
38: #endif
|
1345
|
+
/* end */
|
1346
|
+
|