Erlang/OTP R10B-8 has been released
Michael McDaniel
elrang@REDACTED
Thu Oct 27 20:56:37 CEST 2005
On Thu, Oct 27, 2005 at 03:01:57PM +0200, Mikael Pettersson wrote:
> Claes Wikstrom writes:
> >
> > Bugreport:
> >
> > # uname -a
> > Linux harr 2.6.11-gentoo-r5 #2 Wed Apr 27 00:08:44 CEST 2005 i686 Intel(R) Celeron(R) CPU 2.40GHz GenuineIntel GNU/Linux
> > # cat /proc/cpuinfo
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 15
> > model : 3
> > model name : Intel(R) Celeron(R) CPU 2.40GHz
> > .........
> >
> > Plain configure, no extra flags
> >
> > I get:
> >
> > # erlgdb
> >
> > ....
> >
> > (gdb) bt
> > #0 0xb7e0ac06 in __pthread_sighandler () from /lib/libpthread.so.0
> > #1 <signal handler called>
> > #2 0xb7f03671 in fts_children () from /lib/libc.so.6
> > #3 0x080ecac7 in check_io (do_wait=1) at sys/unix/sys.c:2506
> > #4 0x080ed57b in erl_sys_schedule (runnable=0) at sys/unix/sys.c:3366
> > #5 0x0809cb8a in schedule (p=0x0, calls=0) at beam/erl_process.c:477
> > #6 0x080d3f47 in process_main () at beam/beam_emu.c:1148
> > #7 0x0807639f in erl_start (argc=4, argv=0x0) at beam/erl_init.c:902
> > #8 0x08065d8b in main (argc=-4, argv=0xfffffffc) at sys/unix/erl_main.c:28
> > (gdb) quit
> >
> >
> >
> > where the debug script is:
> >
> >
> > # cat ~/bin/erlgdb
> > #!/bin/sh
> >
> > BREAK_POINT=main
> >
> > gdb_exec=/tmp/erlgdb.$$
> >
> > export ROOTDIR=/usr/local/src/otp_src_R10B-8
> > export BINDIR=${ROOTDIR}/bin/i686-pc-linux-gnu
> > # to find inet_gethost
> > export PATH=${BINDIR}:${PATH}
> >
> > echo "echo ERLGDB RUNNING\\n" > $gdb_exec
> > echo "break $BREAK_POINT" >> $gdb_exec
> > echo "directory $ROOTDIR/erts/emulator/beam" >> $gdb_exec
> > echo "run -- -root $ROOTDIR" >> $gdb_exec
> > gdb -x $gdb_exec ${BINDIR}/beam
> > rm $gdb_exec
> >
> >
> > Rebuilding with:
> >
> > # ./configure --disable-hipe
> >
> > Fixes the problem (or ehhum, doesn't coredump)
> > What the exact problem is, I have no idea.
>
> Here we go again. There have been some reports from Gentoo and Ubuntu
> users that a HiPE-enabled system on x86 breaks for them. However:
> 1) There's no breakage on RedHat/Fedora-based systems. I just tried
> your gdb thing on FC4/x86 and everything works just fine.
> 2) We (the HiPE group) don't run Gentoo/Ubuntu/${random distro} so we
> can't debug issues on them.
> 3) So far no Gentoo/Ubuntu user has volunteered to debug their systems.
>
> So I'm getting to the point where I'm considering changing erts/configure.in
> to not auto-enable HiPE/x86 except on Fedora and Solaris.
>
> For the record, the problem is most likely in HiPE/x86' code to
> override certain libc signal setup procedures in order to enforce
> the use of SIGALTSTACK. This is very delicate libc-dependent code.
> See erts/emulator/hipe/hipe_x86_signal.c for details.
>
> /Mikael
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oh, dear. My "Ubuntu release 5.10" is not breaking, so I do not know
what I could do to help. Let me know, though, if there is something
I can do to help.
*Because*, my new "desktop of choice" is Ubuntu distro (as you may know,
based on Debian), and I would like to have it be a "first class" Erlang
platform because I am now doing all my development on the new laptop.
I have been using SuSE for years and just switched to Ubuntu because
I was concerned what Novell might do with SuSE. The Ubuntu installed
easily and "everything" just works on my Dell 700m. (except movies;
I keep getting "codec not installed" for whatever movie format I try
and since watching vids is *so* far down on my list, I haven't
seriously done troubleshooting for that issue).
Erlang R10B-8 seems to be working just fine on my installation.
Here is my Ubuntu release 5.10 information ...
$ uname -a
Linux delora 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.60GHz
stepping : 6
cpu MHz : 598.161
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 1185.79
$ ./configure --with-odbc --x-includes=/usr/local/include \
--x-libraries=/usr/lib --with-ssl
=== ===
=== message here about no java ===
=== ===
$ make
$ sudo make install ; echo "remember to untar the new docs"
$
$ erl
Erlang (BEAM) emulator version 5.4.10 [source] [hipe]
Eshell V5.4.10 (abort with ^G)
1> q()
ok
2>
$
$
~~Michael
More information about the erlang-questions
mailing list