libera/#clasp - IRC Chatlog
Search
18:37:14
drmeister
I'm currently working on speeding up startup. I more or less figured out how to use multiple cores to link at startup.
18:37:41
drmeister
Of course what I need isn't supported by llvm13 - but it will be in llvm13.0.1 (sigh).
18:38:59
drmeister
I'm going to put it aside though for a few days. I need to refactor how we deal with code so that we aren't allocating huge amounts of memory for code.
18:40:55
drmeister
The parallel JIT doesn't let me store anything in thread-local storage. I have to do everything in global variables.
19:12:29
yitzi
How can the API change from 13.0.0 to 13.0.1? Are they not using semantic versioning over there?
19:28:13
phantomics
If anyone can help I'm having some trouble compiling Clasp, is a specific gcc version required? I'm getting a long list of error messages like /usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/fs_path.h:380: error: undefined reference to 'std::filesystem::__cxx11::path::has_root_directory() const' when building build/boehm/iclasp-boehm
19:29:30
phantomics
I'm using llvm, have llvm 13, not sure why it's looking in a /usr/lib/gcc folder
19:32:29
drmeister
phantomics: Copy the wscript.config.template to wscript.config and edit this line:
19:33:07
drmeister
It's the path to the llvm-config executable - it tells clasp where everything llvm/clang are
19:33:28
phantomics
Got it, thanks, I tried entering llvm-config in the CLI and it doesn't seem to be present on the system
19:34:18
drmeister
Yeah - they changed a bunch of function calls that impact us. The DIBuilder::createFunction and a few others got an extra argument called "Annotations".
19:34:44
phantomics
Yes, have llvm-13 installed, the compilation of Clasp gets to about file 196/205 before it hits the error
19:40:24
drmeister
phantomics: Once you edit wscript.config you need to rerun ./waf distclean configure
19:40:58
drmeister
::notify kpoeck When I run ./waf build_cboehm and then (ROOM) with the product it hangs. Investigating...
19:55:29
phantomics
Note the part in the output where it says "Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8"
19:56:58
drmeister
If that's the only problem kpoeck is seeing I'll just have (ROOM) print a message when it's not running in boehmprecise.
19:59:29
phantomics
I installed llvm13 using the debian repo at http://apt.llvm.org/buster/, I'm running MX Linux 19.1
20:07:03
Colleen
kpoeck: drmeister said at 2021.11.24 03:34:18: I wasn't able to reproduce the crash with ROOM on macOS. The regression tests work fine. https://www.irccloud.com/pastebin/dtWL1O6R/
20:07:03
Colleen
kpoeck: drmeister said 26 minutes, 5 seconds ago: When I run ./waf build_cboehm and then (ROOM) with the product it hangs. Investigating...
20:10:38
drmeister
Hi kpoeck - I see why ROOM is failing with boehm - I can't walk objects in memory unless I have boehmprecise.
20:11:08
drmeister
If I have ROOM say something to that effect when you run it under boehm - would that fix the regression tests? Are they all due to ROOM going boom?