freenode/#clasp - IRC Chatlog
Search
12:14:26
rustyv
hi Kevslinger, I hope it's ok to come here and ask some questions pertaining to clasp.. I'm running into some issues that I don't know how to solve
12:16:04
rustyv
I'm trying to get the hello-world interop demo to work and am getting an error when I run 'make test'
12:17:48
rustyv
yes, the build works, but when I run the test, I receive an error stating 'fatal error in llvm: program used external function '_ZTH9my_thread' which could not be resolved'
12:18:42
rustyv
I am fully willing to suggest that it's issues on my end. I am rather fresh to the C++ world, and have no formal CS / programming background...
12:18:57
drmeister
Ok - can you provide some context? What branch of clasp were you building, what OS are you on - what version of the OS?
12:20:49
drmeister
Can you paste a log of what you are doing and seeing? Use gist.github.com to paste the log and paste the URL here.
12:36:56
rustyv
oh, additional bit of context: I am using a Digital Ocean VPS to run CLASP. Perhaps that is a factor, though I wouldn't know?
13:04:58
drmeister
rustyv: Could you try starting clasp in the hello-world directory and evaluate each line of hello-world.lisp one at a time to see which one fails?
13:08:23
drmeister
It may be messed up on Ubuntu - in which case it will take me a while to test it out. I'm a bit busy with preparing for things next week.
13:13:21
rustyv
I will keep looking into things on my own, thank you. Is there perhaps something I should look into next? Might it be some issue with llvm versions or clang versions?
13:16:55
drmeister
echo __ZTH9my_thread | c++filt --> thread-local initialization routine for my_thread
13:18:09
drmeister
It's the clang compiler that is supposed to generate that symbol - it suggests an OS dependent change in how thread-local memory is handled.
13:18:39
drmeister
Thread local memory is handled differently on different operating systems and it isn't as worked out as other aspects of the compiler.
13:20:14
rustyv
drmeister, that is certainly no issue. Thanks for your help so far! For what it's worth, I can spin up different VMs with different OSes and test things out that way