Skip to content

Instantly share code, notes, and snippets.

@bradoc
Last active October 9, 2017 06:08
Show Gist options
  • Save bradoc/ed0708f1d33e2ed097535624d7112d44 to your computer and use it in GitHub Desktop.
Save bradoc/ed0708f1d33e2ed097535624d7112d44 to your computer and use it in GitHub Desktop.
rvm installation make.log
[2017-10-09 14:45:23] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/bradoc/.rvm/src/ruby-2.3.3
GEM_HOME=/home/bradoc/.rvm/gems/ruby-2.4.0
GEM_PATH=/home/bradoc/.rvm/gems/ruby-2.4.0:/home/bradoc/.rvm/gems/ruby-2.4.0@global
PATH=/home/bradoc/.rvm/gems/ruby-2.4.0/bin:/home/bradoc/.rvm/gems/ruby-2.4.0@global/bin:/home/bradoc/.rvm/rubies/ruby-2.4.0/bin:/home/bradoc/.rvm/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/FileMaker/FileMaker Server/Web Publishing/publishing-engine/php:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Ruby192/bin:/cygdrive/c/Program Files/instantclient_11_2:/cygdrive/c/Ruby192/bin:/cygdrive/c/Program Files/Cygwin
command(2): __rvm_make -j1
++ make -j1
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/i386-cygwin -I./include -I.
DLDFLAGS = -Wl,--enable-auto-image-base,--enable-auto-import -Wl,--out-implib=libruby230.dll.a cygruby230.def -fstack-protector -Wl,--stack,0x00200000,--enable-auto-import
SOLIBS = cygruby230.res.o -lpthread -ldl -lcrypt
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/6.4.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-6.4.0-1.i686/src/gcc-6.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-6.4.0-1.i686/src/gcc-6.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 6.4.0 (GCC)
copying dummy probes.h
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
file.c: In function ‘rb_file_readable_p’:
file.c:1549:9: warning: implicit declaration of function ‘eaccess’ [-Wimplicit-function-declaration]
if (eaccess(StringValueCStr(fname), R_OK) < 0) return Qfalse;
^~~~~~~
At top level:
file.c:2924:19: warning: ‘file_alt_separator’ defined but not used [-Wunused-const-variable=]
static const char file_alt_separator[] = {FILE_ALT_SEPARATOR, '\0'};
^~~~~~~~~~~~~~~~~~
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
ruby.c: In function ‘dladdr_path’:
ruby.c:404:5: error: unknown type name ‘Dl_info’
Dl_info dli;
^~~~~~~
ruby.c:407:10: warning: implicit declaration of function ‘dladdr’ [-Wimplicit-function-declaration]
if (!dladdr(addr, &dli)) {
^~~~~~
In file included from ./include/ruby/ruby.h:1988:0,
from ./include/ruby.h:33,
from internal.h:15,
from ruby.c:18:
ruby.c:417:29: error: request for member ‘dli_fname’ in something not a structure or union
fname = rb_str_new_cstr(dli.dli_fname);
^
./include/ruby/intern.h:806:27: note: in definition of macro ‘rb_str_new_cstr’
(__builtin_constant_p(str)) ? \
^~~
ruby.c:417:29: error: request for member ‘dli_fname’ in something not a structure or union
fname = rb_str_new_cstr(dli.dli_fname);
^
./include/ruby/intern.h:807:21: note: in definition of macro ‘rb_str_new_cstr’
rb_str_new_static((str), (long)strlen(str)) : \
^~~
ruby.c:417:29: error: request for member ‘dli_fname’ in something not a structure or union
fname = rb_str_new_cstr(dli.dli_fname);
^
./include/ruby/intern.h:807:40: note: in definition of macro ‘rb_str_new_cstr’
rb_str_new_static((str), (long)strlen(str)) : \
^~~
ruby.c:417:29: error: request for member ‘dli_fname’ in something not a structure or union
fname = rb_str_new_cstr(dli.dli_fname);
^
./include/ruby/intern.h:808:18: note: in definition of macro ‘rb_str_new_cstr’
rb_str_new_cstr(str); \
^~~
At top level:
ruby.c:402:1: warning: ‘dladdr_path’ defined but not used [-Wunused-function]
dladdr_path(const void* addr)
^~~~~~~~~~~
make: *** [Makefile:376: ruby.o] Error 1
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment