Re: ruby 1.8.3 preview1
From:
Daniel Berger <djberge@...>
Date:
2005-05-13 19:45:59 UTC
List:
ruby-core #4973
Yukihiro Matsumoto wrote: > Hi, > > I finnally published the first preview to the 1.8.3. > > ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.3-preview1.tar.gz > md5sum: a5ae008de3332dc831244ac63289b761 > > Can you try to find any problem before the final release? Solaris 10 gcc 3.4.3 configured with "--prefix=/opt --enable-pthread" built with "-Wall -m64 -mcpu=ultrasparc" gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c variable.c gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c version.c gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c ./missing/flock.c gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c ./missing/isinf.c gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c dmyext.c ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o flock.o isinf.o dmyext.o gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -I. -I. -c main.c gcc -Wall -m64 -mcpu=ultrasparc main.o libruby-static.a -lrt -lpthread -ldl -lcrypt -lm -ominiruby -g -O2 rbconfig.rb updated *** Error code 134 The following command caused the error: ./miniruby ./ext/extmk.rb --dest-dir="" --make="make" --mflags="" --make-flags="" --extout=".ext" --extension --extstatic -- >make test make: Warning: Illegal dependency list for target `.DEFAULT' gcc -Wall -m64 -mcpu=ultrasparc -g -O2 -L. main.o -lruby-static -lrt -lpthread -ldl -lcrypt -lm -oruby ./sample/test.rb:172: [BUG] Bus Error ruby 1.8.3 (2005-05-12) [sparc-solaris2.10] test failed *** Error code 1 The following command caused the error: ./miniruby ./rubytest.rb make: Fatal error: Command failed for target `test' More gcc info: >gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Attached are the Makefile and config.log files. Any ideas? Regards, Dan
Attachments (2)
config.log
(226 KB, text/x-log)
Makefile
(12.6 KB, text/plain)
SHELL = /bin/sh
#### Start of system configuration section. ####
srcdir = .
VPATH = $(srcdir)/missing
CC = gcc -Wall -m64 -mcpu=ultrasparc
YACC = bison -y
PURIFY =
AUTOCONF = autoconf
MKFILES = Makefile
prefix = /opt
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
arch = sparc-solaris2.10
sitearch = sparc-solaris2.10
sitedir = ${prefix}/lib/ruby/site_ruby
TESTUI = console
TESTS =
RDOCTARGET =
EXTOUT = .ext
RIDATADIR = $(DESTDIR)$(datadir)/ri/$(MAJOR).$(MINOR)/system
OUTFLAG = -o
CFLAGS = -g -O2
CPPFLAGS = -I. -I$(srcdir)
LDFLAGS = $(CFLAGS)
EXTLDFLAGS =
XLDFLAGS = -L. $(EXTLDFLAGS)
EXTLIBS =
LIBS = -lrt -lpthread -ldl -lcrypt -lm $(EXTLIBS)
MISSING = flock$U.o isinf$U.o
LDSHARED = $(CC) -Wl,-G
DLDFLAGS = $(EXTLDFLAGS)
SOLIBS =
MAINLIBS =
RUBY_INSTALL_NAME=ruby
RUBY_SO_NAME=$(RUBY_INSTALL_NAME)
EXEEXT =
PROGRAM=$(RUBY_INSTALL_NAME)$(EXEEXT)
RUBY = $(RUBY_INSTALL_NAME)
MINIRUBY = ./miniruby$(EXEEXT)
RUNRUBY = $(MINIRUBY) $(srcdir)/runruby.rb --extout=$(EXTOUT) --
#### End of system configuration section. ####
MAJOR= 1
MINOR= 8
TEENY= 3
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
LIBRUBY_SO = lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)
LIBRUBY_ALIASES= lib$(RUBY_SO_NAME).so
LIBRUBY = $(LIBRUBY_A)
LIBRUBYARG = $(LIBRUBYARG_STATIC)
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -L.
PREP = miniruby$(EXEEXT)
ARCHFILE =
SETUP =
EXTSTATIC =
RM = rm -f
NM =
AR = ar
ARFLAGS = rcu
RANLIB = ranlib
OBJEXT = o
EXTOBJS =
DLDOBJS = $(DMYEXT)
MAINOBJ = main.$(OBJEXT)
MANTYPE = man
#### End of variables
all:
.DEFAULT: all
# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT:
miniruby$(EXEEXT):
@$(RM) $@
$(PURIFY) $(CC) $(MAINOBJ) $(MINIOBJS) $(LIBRUBY_A) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(MAINLIBS)
$(PROGRAM):
@$(RM) $@
$(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) $(OUTFLAG)$@
# We must `rm' the library each time this rule is invoked because "updating" a
# MAB library on Apple/NeXT (see --enable-fat-binary in configure) is not
# supported.
$(LIBRUBY_A):
@$(RM) $@
$(AR) $(ARFLAGS) $@ $(OBJS) $(DMYEXT)
@-$(RANLIB) $@ 2> /dev/null || true
$(LIBRUBY_SO):
$(LDSHARED) $(DLDFLAGS) $(OBJS) $(DLDOBJS) $(SOLIBS) $(OUTFLAG)$@
@-$(MINIRUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
File.symlink "$(LIBRUBY_SO)", link}' \
$(LIBRUBY_ALIASES) || true
fake.rb: Makefile
@echo ' \
class Object; \
CROSS_COMPILING = RUBY_PLATFORM; \
remove_const :RUBY_PLATFORM; \
remove_const :RUBY_VERSION; \
RUBY_PLATFORM = "sparc-solaris2.10"; \
RUBY_VERSION = "1.8.3"; \
end; \
if RUBY_PLATFORM =~ /mswin|bccwin|mingw/; \
class File; \
remove_const :ALT_SEPARATOR; \
ALT_SEPARATOR = "\\"; \
end; \
end; \
' > $@
Makefile: $(srcdir)/Makefile.in
$(MKFILES): config.status $(srcdir)/common.mk
MAKE=$(MAKE) $(SHELL) ./config.status
@{ \
echo "all:; -@rm -f conftest.mk"; \
echo "conftest.mk: .force; @echo AUTO_REMAKE"; \
echo ".force:"; \
} > conftest.mk || exit 1; \
$(MAKE) -f conftest.mk | grep '^AUTO_REMAKE$$' >/dev/null 2>&1 || \
{ echo "Makefile updated, restart."; exit 1; }
config.status: $(srcdir)/configure
MINIRUBY="$(MINIRUBY)" $(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in
cd $(srcdir) && $(AUTOCONF)
lex.c: keywords
@-$(RM) $@
gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \
cp "$(srcdir)/$@" .
.y.c:
$(YACC) $<
sed '/^#/s|y\.tab\.c|$@|' y.tab.c > $@
rm -f y.tab.c
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
clean-local::
@$(RM) ext/extinit.c ext/extinit.$(OBJEXT)
distclean-local::
@$(RM) ext/config.cache $(RBCONFIG)
ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP)
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -o$@ -c ext/extinit.c
bin: $(PROGRAM) $(WPROGRAM)
lib: $(LIBRUBY);
dll: $(LIBRUBY_SO);
RUBYOPT =
EXTCONF = extconf.rb
RBCONFIG = ./.rbconfig.time
DMYEXT = dmyext.$(OBJEXT)
MAINOBJ = main.$(OBJEXT)
OBJS = array.$(OBJEXT) \
bignum.$(OBJEXT) \
class.$(OBJEXT) \
compar.$(OBJEXT) \
dir.$(OBJEXT) \
dln.$(OBJEXT) \
enum.$(OBJEXT) \
error.$(OBJEXT) \
eval.$(OBJEXT) \
file.$(OBJEXT) \
gc.$(OBJEXT) \
hash.$(OBJEXT) \
inits.$(OBJEXT) \
io.$(OBJEXT) \
marshal.$(OBJEXT) \
math.$(OBJEXT) \
numeric.$(OBJEXT) \
object.$(OBJEXT) \
pack.$(OBJEXT) \
parse.$(OBJEXT) \
process.$(OBJEXT) \
prec.$(OBJEXT) \
random.$(OBJEXT) \
range.$(OBJEXT) \
re.$(OBJEXT) \
regex.$(OBJEXT) \
ruby.$(OBJEXT) \
signal.$(OBJEXT) \
sprintf.$(OBJEXT) \
st.$(OBJEXT) \
string.$(OBJEXT) \
struct.$(OBJEXT) \
time.$(OBJEXT) \
util.$(OBJEXT) \
variable.$(OBJEXT) \
version.$(OBJEXT) \
$(MISSING)
SCRIPT_ARGS = --dest-dir="$(DESTDIR)" \
--make="$(MAKE)" \
--mflags="$(MFLAGS)" \
--make-flags="$(MAKEFLAGS)"
EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
@$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)
prog: $(PROGRAM) $(WPROGRAM)
miniruby$(EXEEXT): config.status $(LIBRUBY_A) $(MAINOBJ) $(MINIOBJS) $(OBJS) $(DMYEXT)
$(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
$(LIBRUBY_A): $(OBJS) $(DMYEXT)
$(LIBRUBY_SO): $(OBJS) $(DLDOBJS) $(LIBRUBY_A) $(PREP) $(ARCHFILE)
static-ruby: $(MAINOBJ) $(EXTOBJS) $(LIBRUBY_A)
@$(RM) $@
$(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINLIBS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBY_A) $(LIBS) $(OUTFLAG)$@
ruby.imp: $(LIBRUBY_A)
@$(NM) -Pgp $(LIBRUBY_A) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
install: install-nodoc $(RDOCTARGET)
install-all: install-nodoc install-doc
install-nodoc: install-local install-ext
install-local: pre-install-local do-install-local post-install-local
install-ext: pre-install-ext do-install-ext post-install-ext
do-install-local: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
do-install-ext: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) install
install-bin: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=bin
install-lib: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=lib
install-man: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/instruby.rb $(SCRIPT_ARGS) --install=man --mantype="$(MANTYPE)"
what-where-all no-install-all: no-install no-install-doc
what-where no-install: no-install-local no-install-ext
what-where-local: no-install-local
no-install-local: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/instruby.rb -n $(SCRIPT_ARGS) --mantype="$(MANTYPE)"
what-where-ext: no-install-ext
no-install-ext: $(RBCONFIG)
$(MINIRUBY) $(srcdir)/ext/extmk.rb -n $(EXTMK_ARGS) install
install-doc: pre-install-doc do-install-doc post-install-doc
do-install-doc: $(PROGRAM)
@echo Generating RDoc documentation
$(RUNRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RIDATADIR)" "$(srcdir)"
pre-install: pre-install-local pre-install-ext
pre-install-local:: PHONY
pre-install-ext:: PHONY
pre-install-doc:: PHONY
post-install: post-install-local post-install-ext
post-install-local:: PHONY
post-install-ext:: PHONY
post-install-doc:: PHONY
clean: clean-ext clean-local
clean-local::
@$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES)
@$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE)
clean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean
distclean: distclean-ext distclean-local
distclean-local:: clean-local
@$(RM) $(MKFILES) config.h rbconfig.rb
@$(RM) config.cache config.log config.status
@$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP)
distclean-ext:
@-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean
realclean:: distclean
@$(RM) parse.c lex.c
check: test test-all
test: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY
@$(MINIRUBY) $(srcdir)/rubytest.rb
test-all:
$(RUNRUBY) -C "$(srcdir)/test" runner.rb --runner=$(TESTUI) $(TESTS)
extconf:
$(MINIRUBY) -I$(srcdir)/lib -run -e mkdir -- -p "$(EXTCONFDIR)"
$(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS)
$(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
@$(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \
-install_name=$(RUBY_INSTALL_NAME) \
-so_name=$(RUBY_SO_NAME) rbconfig.rb
.PRECIOUS: $(MKFILES)
.PHONY: test install install-nodoc install-doc
PHONY:
parse.c: parse.y
acosh.$(OBJEXT): acosh.c
alloca.$(OBJEXT): alloca.c
crypt.$(OBJEXT): crypt.c
dup2.$(OBJEXT): dup2.c
erf.$(OBJEXT): erf.c
finite.$(OBJEXT): finite.c
flock.$(OBJEXT): flock.c
memcmp.$(OBJEXT): memcmp.c
memmove.$(OBJEXT): memmove.c
mkdir.$(OBJEXT): mkdir.c
vsnprintf.$(OBJEXT): vsnprintf.c
strcasecmp.$(OBJEXT): strcasecmp.c
strncasecmp.$(OBJEXT): strncasecmp.c
strchr.$(OBJEXT): strchr.c
strdup.$(OBJEXT): strdup.c
strerror.$(OBJEXT): strerror.c
strftime.$(OBJEXT): strftime.c
strstr.$(OBJEXT): strstr.c
strtod.$(OBJEXT): strtod.c
strtol.$(OBJEXT): strtol.c
strtoul.$(OBJEXT): strtoul.c
nt.$(OBJEXT): nt.c
x68.$(OBJEXT): x68.c
os2.$(OBJEXT): os2.c
dl_os2.$(OBJEXT): dl_os2.c
# when I use -I., there is confliction at "OpenFile"
# so, set . into environment varible "include"
win32.$(OBJEXT): win32.c
###
array.$(OBJEXT): array.c ruby.h config.h \
defines.h intern.h missing.h \
util.h st.h
bignum.$(OBJEXT): bignum.c ruby.h config.h \
defines.h intern.h missing.h
class.$(OBJEXT): class.c ruby.h config.h \
defines.h intern.h missing.h \
rubysig.h node.h st.h
compar.$(OBJEXT): compar.c ruby.h config.h \
defines.h intern.h missing.h
dir.$(OBJEXT): dir.c ruby.h config.h \
defines.h intern.h missing.h \
util.h
dln.$(OBJEXT): dln.c ruby.h config.h \
defines.h intern.h missing.h \
dln.h
dmydln.$(OBJEXT): dmydln.c dln.c ruby.h \
config.h defines.h intern.h missing.h \
dln.h
dmyext.$(OBJEXT): dmyext.c
enum.$(OBJEXT): enum.c ruby.h config.h \
defines.h intern.h missing.h \
node.h util.h
error.$(OBJEXT): error.c ruby.h config.h \
defines.h intern.h missing.h \
env.h st.h
eval.$(OBJEXT): eval.c ruby.h config.h \
defines.h intern.h missing.h \
node.h env.h util.h \
rubysig.h st.h dln.h
file.$(OBJEXT): file.c ruby.h config.h \
defines.h intern.h missing.h \
rubyio.h rubysig.h util.h \
dln.h
gc.$(OBJEXT): gc.c ruby.h config.h \
defines.h intern.h missing.h \
rubysig.h st.h node.h \
env.h re.h regex.h
hash.$(OBJEXT): hash.c ruby.h config.h \
defines.h intern.h missing.h \
st.h util.h rubysig.h
inits.$(OBJEXT): inits.c ruby.h config.h \
defines.h intern.h missing.h
io.$(OBJEXT): io.c ruby.h config.h \
defines.h intern.h missing.h \
rubyio.h rubysig.h util.h
main.$(OBJEXT): main.c ruby.h config.h \
defines.h intern.h missing.h
marshal.$(OBJEXT): marshal.c ruby.h config.h \
defines.h intern.h missing.h \
rubyio.h st.h util.h
math.$(OBJEXT): math.c ruby.h config.h \
defines.h intern.h missing.h
numeric.$(OBJEXT): numeric.c ruby.h config.h \
env.h defines.h intern.h \
missing.h
object.$(OBJEXT): object.c ruby.h config.h \
defines.h intern.h missing.h \
st.h util.h
pack.$(OBJEXT): pack.c ruby.h config.h \
defines.h intern.h missing.h
parse.$(OBJEXT): parse.c ruby.h config.h \
defines.h intern.h missing.h \
env.h node.h st.h \
regex.h util.h lex.c
prec.$(OBJEXT): prec.c ruby.h config.h \
defines.h intern.h missing.h
process.$(OBJEXT): process.c ruby.h config.h \
defines.h intern.h missing.h \
rubysig.h st.h
random.$(OBJEXT): random.c ruby.h config.h \
defines.h intern.h missing.h
range.$(OBJEXT): range.c ruby.h config.h \
defines.h intern.h missing.h
re.$(OBJEXT): re.c ruby.h config.h \
defines.h intern.h missing.h \
re.h regex.h
regex.$(OBJEXT): regex.c config.h regex.h
ruby.$(OBJEXT): ruby.c ruby.h config.h \
defines.h intern.h missing.h \
dln.h node.h util.h
signal.$(OBJEXT): signal.c ruby.h config.h \
defines.h intern.h missing.h \
rubysig.h
sprintf.$(OBJEXT): sprintf.c ruby.h config.h \
defines.h intern.h missing.h
st.$(OBJEXT): st.c config.h st.h
string.$(OBJEXT): string.c ruby.h config.h \
defines.h intern.h missing.h \
re.h regex.h
struct.$(OBJEXT): struct.c ruby.h config.h \
defines.h intern.h missing.h
time.$(OBJEXT): time.c ruby.h config.h \
defines.h intern.h missing.h
util.$(OBJEXT): util.c ruby.h config.h \
defines.h intern.h missing.h \
util.h
variable.$(OBJEXT): variable.c ruby.h config.h \
defines.h intern.h missing.h \
env.h node.h st.h util.h
version.$(OBJEXT): version.c ruby.h config.h \
defines.h intern.h missing.h \
version.h