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

erts: two FP exception fixes #707

Closed
wants to merge 1 commit into from

Conversation

mikpe
Copy link
Contributor

@mikpe mikpe commented May 3, 2015

  • Change erts/configure.in to force-disable FP exceptions if
    the VM is compiled by clang/llvm. clang/llvm generates FP
    code which does not work with FP exceptions (whether unmasked
    as used in the Erlang VM, or masked followed by tests of
    which are signalled). This is a known long-standing problem.
  • Increase buffer size in erts_fp_check_init_error().
    The current size is too small for 64-bit machines, causing
    messages to be truncated and making debugging more difficult.

- Change erts/configure.in to force-disable FP exceptions if
  the VM is compiled by clang/llvm.  clang/llvm generates FP
  code which does not work with FP exceptions (whether unmasked
  as used in the Erlang VM, or masked followed by tests of
  which are signalled).  This is a known long-standing problem.
- Increase buffer size in erts_fp_check_init_error().
  The current size is too small for 64-bit machines, causing
  messages to be truncated and making debugging more difficult.
@OTP-Maintainer
Copy link

Patch has passed first testings and has been assigned to be reviewed


I am a script, I am not human


@sverker
Copy link
Contributor

sverker commented May 6, 2015

Don't bother, I'll do the split.

@sverker
Copy link
Contributor

sverker commented May 8, 2015

Merged to master at 0a3dbbc.

@sverker sverker closed this May 8, 2015
@mikpe mikpe deleted the erts-fp-exception-fixes branch March 15, 2020 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants