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

passing -gs to ldmd2 does not work #502

Closed
Ingrater opened this issue Oct 9, 2013 · 1 comment · Fixed by #509
Closed

passing -gs to ldmd2 does not work #502

Ingrater opened this issue Oct 9, 2013 · 1 comment · Fixed by #509

Comments

@Ingrater
Copy link

Ingrater commented Oct 9, 2013

Passing -gs to ldmd2 will cause the following error:

ldc2.exe: Unknown command line argument '-disable-fp-elim'. Try: 'F:/ldc/bin/ldc2.exe -help'
ldc2.exe: Did you mean '-disable-asserts'?

@dnadlinger
Copy link
Member

The -disable-fp-elim flag is gone from the LLVM sources files we use. We need to duplicate it in our code. Should be a simple fix, but can't do that before tomorrow (read in createTargetMachine and set TargetOptions::NoFramePointerElim accordingly).

dnadlinger added a commit to dnadlinger/ldc that referenced this issue Oct 13, 2013
It was moved to llvm/CodeGen/CommandLineFlags.h.

GitHub: Fixes ldc-developers#502.
redstar pushed a commit that referenced this issue Sep 27, 2014
Add Linux/PPC64 values to core.sys.posix.fcntl.
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 a pull request may close this issue.

2 participants