freenode/#clasp - IRC Chatlog
Search
15:52:59
Colleen
drmeister: frgo said 5 hours, 15 minutes ago: What build command are you using for building LLVM?
16:03:22
drmeister
building llvm12 with ninja is: (1) mkdir build (2) run the command above for macos (3) cd build (4) ninja
17:10:09
drmeister
I don't know - I don't use lldb from this build so it doesn't matter? Maybe it makes the build a little faster?
17:13:09
drmeister
And gdb and udb. The python extensions are designed to work with all of them. No small feat and still highly experimental.
17:13:56
drmeister
There's a customized compatibility class for each of the debuggers and the extension works with the compatibility class.
17:19:33
drmeister
A really annoying thing about the debugger python extensions is that I can't seem to reload them when I'm in a debugging session. I have to shut the whole debugging session down and start over to load changes.
17:20:41
drmeister
@"__clasp_gcroots_in_module*9" = internal global { i64, i8*, i64, i64, i8**, i64 } zeroinitializer
17:21:33
drmeister
If all the fields are zero or NULL then it changes the initializer to 'zeroinitializer'. That probably means I can initialize large arrays with zero without expanding the size of bitcode files.
18:06:56
drmeister
I've changed the name of CONTAB to __clasp_literals to reflect its purpose better.
18:45:29
frgo
drmeister: Sorry to bother you again. I have llvm12 now built and installed. Now I am fighting with waf configure. LLVM_CONFIG_BINARY points to the correct binary. I still get Exception: You must have clang/llvm version 12 installed - you have 1 ...
18:47:33
frgo
I do exactly what drmeister does. Installed as same target in path /opt/llvm-project-tot.
18:51:06
cracauer
I also had to set LD_LIBRARY_PATH to include the llvm lib dir, but that is a different error message.
19:00:37
frgo
Found my issue. LLVM_VERSION_OVERRIDE needs to be set to True for llvm12. Otherwise wscript's version check fails.
19:03:59
drmeister
That's just short hand for "I mess around a lot on my system and forget to keep track of what I'm doing".
19:06:01
drmeister
frgo: Can you post the entire message that started with: "I still get Exception: You must have clang/llvm version 12 installed - you have 1 ..."
19:08:30
drmeister
raise Exception("You must have clang/llvm version %d installed - you have %s" % (LLVM_VERSION, cur_clang_version.split('.')[0]) )
19:12:32
drmeister
And if I change LLVM_VERSION to 12 ./waf configure works fine. And I suspect it won't work fine for you.
19:13:22
drmeister
Ok, now maybe that is the correct behavior and I have the wrong version of llvm - let me check that.
19:14:26
drmeister
See, there is what llvm I built in my development directory and then there is the llvm installed in /opt/llvm-project-tot
19:14:43
drmeister
What do you get with /opt/llvm-project-tot/bin/llvm-config --version??? I get 12.0.0git
19:16:10
drmeister
They must have changed the version of llvm in just the last few hours and I didn't install it in /opt/llvm-project-tot yet - so I didn't hit it.
19:16:41
drmeister
frgo: This is my bad - but it happened because llvm has been updating in the last couple of days and I didn't keep up.
19:18:00
frgo
I have been away for several months from all this. The f•cking Russian hackers almost stopped my dayjob company and I had to fight to get our data back.
19:20:46
drmeister
Because this is going to track the latest 12.x features that in the next couple of weeks should gain the JITLink/linux fixes