Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlopt.opt SEGV on alpha #3822

Closed
vicuna opened this issue Oct 25, 2005 · 2 comments
Closed

ocamlopt.opt SEGV on alpha #3822

vicuna opened this issue Oct 25, 2005 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 25, 2005

Original bug ID: 3822
Reporter: administrator
Status: closed (set by @xavierleroy on 2011-12-17T11:34:28Z)
Resolution: not fixable
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @glondu jaap smimram jcristau

Bug description

Full_Name: Julien Cristau
Version: 3.08.3
OS: Debian Linux
Submission from: morse.liafa.jussieu.fr (132.227.81.80)

Hi,

ocamlopt.opt segfaults on alpha on any input.
This was reported as Debian bug#335578 (see http://bugs.debian.org/335578), and
seems to be toolchain-related (works with binutils 2.15 - gcc 3.3, and fails
with binutils 2.16 - gcc 4.0).
The gdb output is (with an empty file test.ml):
Starting program:
/tmp/ocaml-3.08.3/debian/ocaml-native-compilers/usr/bin/ocamlopt.opt test.ml

Program received signal SIGSEGV, Segmentation fault.
0x00000001200028dc in caml_startup__code_begin ()
(gdb) where
#0 0x00000001200028dc in caml_startup__code_begin ()
#1 0x0000000120171f54 in caml_start_program ()
Cannot access memory at address 0x0

Please ask if you need additional information/testing.

Cheers,
Julien Cristau

@vicuna
Copy link
Author

vicuna commented Oct 28, 2005

Comment author: administrator

Hi,

as mentionned in the Debian bug log, of two consecutive builds of the
package, with no source changes between them, one was successful and
the other built a broken ocamlopt.opt, so I really think it was caused
by a toolchain change :/
Changes in gcc are an update from 20050806 to 20050821 from the
gcc-4_0-branch, and relevant changes in binutils are an update from
upstream 2.16.1 to CVS 20050902. I don't know if there were
alpha-specific changes in these two packages (at least there don't seem
to be debian-specific ones).

Cheers,
Julien Cristau

@vicuna
Copy link
Author

vicuna commented Dec 17, 2011

Comment author: @xavierleroy

The Alpha architecture is now really dead (it will be missed), and the next major release of OCaml will no longer offer an Alpha native-code generator. I am therefore closing this PR.

@vicuna vicuna closed this as completed Dec 17, 2011
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant