hy2
(hy2)
1
hy list,
i would report a possible bug in mkmf lib.
tested with :
alea# gcc --version
gcc (GCC) 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2,
pie-8.7.6)
alea# gcc --version
gcc (GCC) 3.3.3
------------[1.8.1
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 dmyext.o
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -I. -I. -c
main.c
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -rdynamic
main.o dmyext.o libruby-static.a -ldl -lcrypt -lm -o miniruby
: [BUG] unknown node type 0
ruby 1.8.1 (2003-12-25) [i686-linux]
···
------------
------------[1.8.2
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 sign
al.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o
dmyext.o
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -I. -I. -c
main.c
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -rdynamic
main.o dmyext.o libruby-static.a -ldl -lcrypt -lm -o miniruby
/usr/src/skp/ruby-1.8.2/lib/mkmf.rb:322: [BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i686-linux]
------------
if it's not yet fixed i'm at your complete disposition for any
investigation.
regards.
--
here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.
Hi,
At Sat, 23 Oct 2004 19:17:59 +0900,
hy2 wrote in [ruby-talk:117432]:
------------[1.8.1
: [BUG] unknown node type 0
ruby 1.8.1 (2003-12-25) [i686-linux]
------------
------------[1.8.2
/usr/src/skp/ruby-1.8.2/lib/mkmf.rb:322: [BUG] Segmentation fault
ruby 1.8.2 (2004-07-29) [i686-linux]
------------
It isn't a bug in mkmf.rb but in ruby core. Can you try more
recent version?
···
--
Nobu Nakada
hy2
(hy2)
3
this is with the last stable snap*:
···
----
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -I. -I. -c
main.c
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -rdynamic
main.o dmyext.o libruby-static.a -ldl -lcrypt -lm -o miniruby
: [BUG] unknown node type 0
ruby 1.8.2 (2004-10-22) [i686-linux]
----
can the problem depend from CFLAGS?
*i was unable to download the tarball form the official ftp, is it ok?.
--
here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.
ts1
(ts)
4
gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -I. -I. -c
can the problem depend from CFLAGS?
yes, try to remove -fomit-frame-pointer and if it's still crash give a
backtrace
Guy Decoux
hy2
(hy2)
5
without -fomit-frame-pointer all right.
···
On 231004, 20:56, ts wrote:
> gcc -O3 -march=pentium3 -fomit-frame-pointer -s -pipe -I. -I. -c
> can the problem depend from CFLAGS?
yes, try to remove -fomit-frame-pointer and if it's still crash give a
backtrace
Guy Decoux
--
here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.
ts1
(ts)
6
without -fomit-frame-pointer all right.
Just a curiosity can you try it with --disable-frame-address, i.e.
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer" ./configure --disable-frame-address
Guy Decoux