hi all -

i was able to build my own 1.9.1 with no problems (except it does not
support rails)

$ ruby -v ;
ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]


but i tried to build 1.9.2 and during make, i got the error:

*** glibc detected *** malloc(): memory corruption: 0x09c3f2b8 ***
make: *** [.rbconfig.time] Aborted

(more detail below)

suggestions? thanks!


$ uname -a ;
Linux edwardsmark.com 2.6.9-89.35.1.ELsmp #1 SMP Tue Jan 4 22:30:58 EST
2011 i686 i686 i386 GNU/Linux

$ ldd  --version
ldd (GNU libc) 2.3.4

$ rails -v ;

    Rails 3 doesn't officially support Ruby 1.9.1 since recent stable
    releases have segfaulted the test suite. Please upgrade to Ruby
1.9.2.

    You're running
      ruby 1.9.1p429 (2010-07-02 revision 28523) [i686-linux]

Rails 3.1.0



==error:

$ make ;
blah
blah
blah
gcc -O3 -ggdb -Wall -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-long-long -I.
-I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o strlcat.o -c
./missing/strlcat.c

gcc -O3 -ggdb -Wall -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-long-long -I.
-I.ext/include/i686-linux -I./include -I. -DRUBY_EXPORT -o dmyext.o -c
dmyext.c

gcc -O3 -ggdb -Wall -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-long-long -L. -rdynamic
-Wl,-export-dynamic main.o dmydln.o dmyencoding.o dmyversion.o
miniprelude.o array.o bign um.o class.o compar.o complex.o dir.o
dln_find.o enum.o enumerator.o error.o eval.o load.o proc.o file.o g c.o
hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o pack.o
parse.o process.o random.o range .o rational.o re.o regcomp.o regenc.o
regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o s
printf.o st.o strftime.o string.o struct.o time.o transcode.o util.o
variable.o compile.o debug.o iseq.o v m.o vm_dump.o thread.o cont.o
ascii.o us_ascii.o unicode.o utf_8.o newline.o strlcpy.o strlcat.o
dmyext.o -lpthread -lrt -ldl -lcrypt -lm -o miniruby
*** glibc detected *** malloc(): memory corruption: 0x09c3f2b8 ***
make: *** [.rbconfig.time] Aborted

-- 
Posted via http://www.ruby-forum.com/.