-
Notifications
You must be signed in to change notification settings - Fork 192
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
Crash trying to install nimble on OSX #62
Comments
Same issue here. Using latest nimrod from devel, commit: 0f260400743967031fd2cea2e3e8443dc7fcaaa7 Running: clang -c -w -O3 -I/Users/julien/Documents/projects/nimrod/lib -o /Users/julien/Documents/projects/nimble/src/nimcache/compat.o /Users/julien/Documents/projects/nimble/src/nimcache/compat.c $ clang -v OSX Yosemite 10.10 |
Same issue here. |
This looks like a compiler bug. Can either of you guys show me the output with |
here is output with --parallelBuild:1
|
So it does compile when you compile it yourself? It only fails when doing |
I'm having the same issue on OS X. Here's the tail of the relevant output:
Command was |
It compiles for me on Mac OS X 10.7. Perhaps newer clang doesn't like the code Nim generates? |
OSX 10.9.5 here, I ran:
And got no error, but when I ran:
I got:
|
To add to my previous comment, this is the stdlib_cpuinfo.c file that's throwing the error:
looks like maybe something is not adding newlines appropriately? |
Does it work with 0.10? |
Mentions OSX users can't use 0.9.6 compiler. Refs #62.
seems to have installed without throwing the same error -- but it installed into ~/.babel/ instead of ~/.nimrod Not sure if that's intentional? In any case, I moved it to ~/.nimble and am now hitting the same error as #68 |
I think nimble installs into .babel when it doesn't find the nim compiler in your path. This would mean that there is some compiler installation conflict. It happened to me long ago too, I had the new See this installation log excerpt using
On top of saying that it found a deprecated directory the giveaway is that the stable 0.9.6 compiler doesn't show "CC: xxxx" lines. Could you try reproducing your steps on a new user account (could be the guest osx account) to see if that makes a difference? I can't reproduce the problems. |
Latest Nimble shouldn't try putting anything in |
Hey guys, I stumbled upon this thread as I am getting the same error right now.
nim compiler version is 0.11.2 |
Your packages.json is likely empty. Can you try |
Submitted an issue in
|
Trying to install nimble on OSX tonight resulted in a crash.
If I comment out the command at
nimble.nim:424
then the install works fine. However the command it's trying to executenimrod c -d:release --noBabelPath "/usr/local/src/nimble/src/nimble.nim"
shouldn't crash.Here are my install steps:
git clone https://github.com/nimrod-code/nimble.git
cd nimble
nimrod c -r src/nimble install
Software
Nimrod Compiler Version 0.9.6 (2014-10-21) [MacOSX: amd64]
built from 'devel' branch sourceApple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
OSX Yosemite Version 10.10
The text was updated successfully, but these errors were encountered: