1.9.2, 1.9.2-head, and 1.9.3-head are installing without optimizations by default (OS X 10.6) #1418

Closed
brianhempel opened this Issue Jan 1, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@brianhempel

Others are installing fine. RVM 1.17.6 (stable).

These were all clean installs after running rvm remove --gems --archive "ruby-version"

rvm install --reconfigure  1.9.2

# ruby-1.9.2-p320/make.log
[2013-01-01 15:55:52] make
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o main.o -c main.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dln.o -c dln.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmydln.o -c dmydln.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmyencoding.o -c dmyencoding.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o version.o -c version.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmyversion.o -c dmyversion.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o miniprelude.o -c miniprelude.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o array.o -c array.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o bignum.o -c bignum.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o class.o -c class.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o compar.o -c compar.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o complex.o -c complex.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dir.o -c dir.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dln_find.o -c dln_find.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o enum.o -c enum.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o enumerator.o -c enumerator.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o error.o -c error.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o eval.o -c eval.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o load.o -c load.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o proc.o -c proc.c
# ...etc... a search for "-O" returns no results
rvm install --reconfigure  1.9.2-head

# ruby-1.9.2-head/make.log
[2013-01-01 16:00:49] make
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o main.o -c main.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dln.o -c dln.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmydln.o -c dmydln.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmyencoding.o -c dmyencoding.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o version.o -c version.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dmyversion.o -c dmyversion.c
/Users/brian/.rvm/wrappers/ruby-1.8.7-head/ruby -I. ./tool/compile_prelude.rb ./prelude.rb miniprelude.c
bison -d  -o y.tab.c parse.y
sed -f ./tool/ytab.sed -e "/^#/s!y\.tab\.c!parse.c!" y.tab.c > parse.c.new
sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > parse.h.new
parse.h updated
/Users/brian/.rvm/wrappers/ruby-1.8.7-head/ruby ./tool/generic_erb.rb --output=id.h \
        ./template/id.h.tmpl --vpath=.ext/include/x86_64-darwin10.8.0/ruby:./include/ruby:./enc:./missing parse.h
id.h updated
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o miniprelude.o -c miniprelude.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o array.o -c array.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o bignum.o -c bignum.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o class.o -c class.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o compar.o -c compar.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o complex.o -c complex.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dir.o -c dir.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o dln_find.o -c dln_find.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o enum.o -c enum.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o enumerator.o -c enumerator.c
/Users/brian/.rvm/wrappers/ruby-1.8.7-head/ruby ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
known_errors.inc updated
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o error.o -c error.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o eval.o -c eval.c
gcc-4.2 -I/Users/brian/.rvm/usr/include -fno-common -pipe -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o load.o -c load.c
# ...etc... a search for "-O" returns no results
rvm install  1.9.3-head

# ruby-1.9.3-head/make.log
[2013-01-01 18:15:57] make
    CC = gcc-4.2
    LD = ld
    LDSHARED = gcc-4.2 -dynamiclib
    CFLAGS = -I/Users/brian/.rvm/usr/include -fno-common -pipe 
    XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
    CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -I. -I.ext/include/x86_64-darwin10.8.0 -I./include -I.
    DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/brian/.rvm/rubies/ruby-1.9.3-head/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1  -Wl,-u,_objc_msgSend   
    SOLIBS = 

The --reconfigure argument does not appear to be part of the problem, based on the 1.9.3-head install above.

If you need any more information, please let me know.

@brianhempel

This comment has been minimized.

Show comment Hide comment
@brianhempel

brianhempel Jan 2, 2013

Confirmed as a bug on RVM head as well as stable.

Confirmed as a bug on RVM head as well as stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment