<farleyknight>
Part of me thinks it might be a good idea to try and compile some other LLVM language and see if I get any issues..
<waj>
mm… probably we're doing something wrong
<waj>
I'm starting a trusty vm
<farleyknight>
Maybe try an older version?
<waj>
it should work fine in precise
<waj>
the release script runs on precise and it's been working fine
<waj>
are you even able to run the binary crystal that we distribute in trusty?
<waj>
it's missing libunwind.so.7 but now libunwind8 is distributed
<farleyknight>
I've been able to run the binaries I get from ./bin/crystal --setup
<CraigBuchek>
@farleyknight did you remember to try bin/crystal —setup before make?
<farleyknight>
Are those built on trusty?
<farleyknight>
CraigBuchek, Yea, I did add that step
<CraigBuchek>
Not remebering to do that gets me almost every time I update master.
<farleyknight>
waj, I do believe I had to backport an install of libunwind.so.7 after I upgraded to 14.04
<farleyknight>
So maybe that's part of it? Not sure...
<waj>
yup, trusty-backports doesn't have it. How did you install it?
<waj>
from source?
<farleyknight>
I believe so
<farleyknight>
Err.. wait, I may have dpkg -i some precise package
<farleyknight>
Let me check
<waj>
yup, that works
<waj>
mm.. I am able to build the compiler just fine
<waj>
did you get the latest sources and did a bin/crystal —update ?
<farleyknight>
Didn't know about --update! Running it now
<farleyknight>
Eh.. no such luck. I may try getting my laptop up and running 12.04 and work with that until I can fix this issue. But definitely thanks for the help!
<farleyknight>
If I manage to figure out what it was, I'll try to report back with that.
<waj>
ok, that's really strange
<waj>
I did a clean checkout and run bin/crystal —setup
<waj>
do you have libstdc++-4.8-dev ?
<farleyknight>
I'll start from a clean checkout, but I do have that package.
<waj>
do you have local changes? what version are you on? (git describe)
<waj>
if I comment the lib StdCpp at the top of lib_llvm.cr I get the same error as you. Seems like it's not linking with stdc++
<farleyknight>
Huh.. Okay, that definitely helps!
<farleyknight>
I'll try a reinstall of that package.
<farleyknight>
Nah, still not quite doing it. At least I know what the problem is now!
<waj>
if you run with —verbose you'll see the executed commands