|
CC = ccache clang
|
|
LD = ld
|
|
LDSHARED = ccache clang -shared
|
|
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Werror=extra-tokens -std=gnu99 -fPIC
|
|
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
|
|
CPPFLAGS = -DRUBY_DEBUG_ENV -DARRAY_DEBUG -I. -I.ext/include/x86_64-linux -I../include -I..
|
|
DLDFLAGS = -Wl,-soname,libruby.so.2.4 -fstack-protector
|
|
SOLIBS = -lpthread -ldl -lcrypt -lm
|
|
Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
|
|
Target: x86_64-pc-linux-gnu
|
|
Thread model: posix
|
|
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
|
|
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
|
|
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
|
|
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
|
|
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
|
|
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
|
|
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
|
|
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
|
|
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
|
|
Candidate multilib: .;@m64
|
|
Selected multilib: .;@m64
|
|
Run options: "--ruby=./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=../test/excludes --name=!/memory_leak/
|
|
|
|
# Running tests:
|
|
|
|
|
|
1) Failure:
|
|
TestMkmf::TestConvertible#test_typeof_builtin [/home/vagrant/ruby/test/mkmf/test_convertible.rb:9]:
|
|
convertible_int: checking for convertible type of short... -------------------- short
|
|
|
|
--------------------
|
|
|
|
convertible_int: checking for convertible type of int... -------------------- int
|
|
|
|
--------------------
|
|
|
|
convertible_int: checking for convertible type of long... -------------------- long
|
|
|
|
--------------------
|
|
|
|
convertible_int: checking for convertible type of signed short... -------------------- failed
|
|
|
|
"ccache clang -o conftest -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC conftest.c -L. -L/home/vagrant/ruby/build -Wl,-R/home/vagrant/ruby/build -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/vagrant/.anyenv/envs/rbenv/versions/git/lib -L/home/vagrant/.anyenv/envs/rbenv/versions/git/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: int main(int argc, char **argv)
|
|
4: {
|
|
5: return 0;
|
|
6: }
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -c conftest.c"
|
|
clang: warning: argument unused during compilation: '-I .'
|
|
clang: warning: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: warning: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: warning: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: typedef signed short rbcv_typedef_;
|
|
4:
|
|
5: /*top*/
|
|
6: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: typedef signed short rbcv_typedef_;
|
|
4:
|
|
5: extern rbcv_typedef_ foo();
|
|
6: extern int foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: typedef signed short rbcv_typedef_;
|
|
4:
|
|
5: extern rbcv_typedef_ foo();
|
|
6: extern short foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: typedef signed short rbcv_typedef_;
|
|
4:
|
|
5: extern rbcv_typedef_ foo();
|
|
6: extern long foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: typedef signed short rbcv_typedef_;
|
|
4:
|
|
5: extern rbcv_typedef_ foo();
|
|
6: extern long long foo();
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
.
|
|
<"short"> expected but was
|
|
<nil>.
|
|
|
|
2) Failure:
|
|
TestMkmf::TestConvertible#test_typeof_typedef [/home/vagrant/ruby/test/mkmf/test_convertible.rb:22]:
|
|
convertible_int: checking for convertible type of test1_t... -------------------- failed
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -c conftest.c"
|
|
clang: warning: argument unused during compilation: '-I .'
|
|
clang: warning: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: warning: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: warning: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <confdefs.h>
|
|
4: typedef test1_t rbcv_typedef_;
|
|
5:
|
|
6: /*top*/
|
|
7: int conftest_const[((rbcv_typedef_)-1 < 0) ? 1 : -1];
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <confdefs.h>
|
|
4:
|
|
5: typedef test1_t rbcv_typedef_;
|
|
6:
|
|
7: extern rbcv_typedef_ foo();
|
|
8: extern int foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <confdefs.h>
|
|
4:
|
|
5: typedef test1_t rbcv_typedef_;
|
|
6:
|
|
7: extern rbcv_typedef_ foo();
|
|
8: extern short foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <confdefs.h>
|
|
4:
|
|
5: typedef test1_t rbcv_typedef_;
|
|
6:
|
|
7: extern rbcv_typedef_ foo();
|
|
8: extern long foo();
|
|
/* end */
|
|
|
|
"ccache clang -I. -I/home/vagrant/ruby/build/.ext/include/x86_64-linux -I/home/vagrant/ruby/include -I../test -DRUBY_DEBUG_ENV -DARRAY_DEBUG -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fPIC -Werror -c conftest.c"
|
|
clang: error: argument unused during compilation: '-I .'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/build/.ext/include/x86_64-linux'
|
|
clang: error: argument unused during compilation: '-I /home/vagrant/ruby/include'
|
|
clang: error: argument unused during compilation: '-I ../test'
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: #include <confdefs.h>
|
|
4:
|
|
5: typedef test1_t rbcv_typedef_;
|
|
6:
|
|
7: extern rbcv_typedef_ foo();
|
|
8: extern long long foo();
|
|
/* end */
|
|
|
|
--------------------
|
|
|
|
.
|
|
<"short"> expected but was
|
|
<nil>.
|
|
|
|
Finished tests in 0.478270s, 4.1817 tests/s, 22.9995 assertions/s.
|
|
2 tests, 11 assertions, 2 failures, 0 errors, 0 skips
|
|
|
|
ruby -v: ruby 2.4.0dev (2016-05-20 trunk 55084) [x86_64-linux]
|
|
uncommon.mk:607: recipe for target 'yes-test-all' failed
|
|
make: *** [yes-test-all] Error 2
|