Search
Tuesday, 22nd of June 2021, 23:18:34 UTC
23:18:51
Bike
um, i think it doesn't create a new exception object
23:19:10
Bike
"In a catch clause, when the argument is of the same type (ignoring cv-qualification) as the exception object thrown, the copy of the exception object is omitted and the body of the catch clause accesses the exception object directly, as if caught by reference (there cannot be a move from the exception object because it is always an lvalue). This is disabled if such copy elision would change the observable
23:19:16
Bike
behavior of the program for any reason other than skipping the copy constructor and the destructor of the catch clause argument (for example, if the catch clause argument is modified, and the exception object is rethrown with throw). "
23:19:39
Bike
well, i guess t he catch clause is written to get a reference to the exception anyway
23:21:44
drmeister
I think it is creating a new ReturnFrom object. I'm in the ReturnFrom constructor - I don't know if it's a copy constructor or what.
23:21:57
Bike
maybe the move constructor?
23:22:46
Bike
what's the build command to get the interpreter with aclasp loaded but not compiled into it? rboehm?
23:23:12
drmeister
Are you on hermes at the moment?
23:25:44
drmeister
Do you have time to do some pair programming?
23:26:09
Bike
do you want me to do the... i forget what the command was, to get a named session
23:26:28
drmeister
This time you share my emacs.
23:26:41
drmeister
Do you have sudo access on this machine?
23:26:58
drmeister
Just assume my identity and tmux a
23:27:17
drmeister
I'll get it figured out between accounts - this is pretty useful.
23:27:30
drmeister
Tell me if you have trouble
23:28:46
drmeister
I'm going to call you.
0:01:15
drmeister
Bike: There's also an clang compiler command line option --unwindlib=libunwind and -rtlib=compiler-rt
0:03:00
drmeister
I just found a post that libcxx is the better place to post...
0:03:09
drmeister
https://usercontent.irccloud-cdn.com/file/8OYtq8pu/image.png
0:04:34
Bike
yeah, i tried the --unwindlib=compiler-rt and it didn't seem to help
0:05:44
drmeister
Here's a couple of posts on that...
0:05:45
drmeister
https://usercontent.irccloud-cdn.com/file/FLBQ7VI7/image.png
0:06:09
drmeister
--unwindlib=xxx and --rtlib=yyy need to coordinate?
0:07:01
drmeister
I'm going to add compiler-rt to the deploy llvm projects
0:16:59
drmeister
https://usercontent.irccloud-cdn.com/file/T7SZyUvo/image.png
1:53:56
drmeister
Ok, linking the llvm libunwind takes me back to this...
1:53:58
drmeister
https://www.irccloud.com/pastebin/58Uev7uP/
1:54:17
drmeister
It is linking the /opt/clasp/lib/libunwind
1:55:26
drmeister
Those are not the symbols we are looking for...
1:55:28
drmeister
https://www.irccloud.com/pastebin/ishcIrEk/
1:55:41
drmeister
Checking header file.
2:11:29
drmeister
We are getting this header...
2:11:45
drmeister
"/usr/include/x86_64-linux-gnu/libunwind.h"
2:27:27
drmeister
I think the llvm unwind header is here? /opt/clasp/lib/clang/13.0.0/include/unwind.h
2:27:40
Bike
unwind.h is a different header, because nothing is simple
2:28:03
drmeister
It's not the one we want?
2:28:13
drmeister
There is no /opt/clasp/**/libunwind.h
2:28:15
Bike
No, it has the itanium exception handling abi, iirc
2:28:31
Bike
yeah, i don't know why that doesn't exist, because that file is in the repo
2:28:39
Bike
https://github.com/llvm/llvm-project/blob/main/libunwind/include/libunwind.h
2:29:12
drmeister
Damn it?!? What the shnoz?
2:32:13
drmeister
What do you recommend?
2:32:26
Bike
Well I have no idea why the header doesn't show up in /opt/clasp
2:32:32
Bike
it's just a file, it doesn't have to be built or anything
2:32:55
Bike
I don't think I installed /opt/clasp on hermes
2:49:14
Bike
drmeister: specifying LD_LIBRARY_PATH as di bella suggested lets me run the interpreter, at least
2:49:20
Bike
not sure how to get the actual build to go from there
2:52:24
Bike
i guess i can just throw it in the wscript
2:53:07
drmeister
How about I put the header file into clasp's source tree for now. clasp/include/external/llvm-libunwind/libunwind.h
2:56:57
Bike
i put -L/opt/clasp/lib in but that didn't help. I guess I need to add it to ldconfig or whatever
3:05:09
beach
Good morning everyone!
5:41:45
drmeister
::notify Bike How did you get it to build? I can't get it to build.
5:41:45
Colleen
drmeister: Got it. I'll let Bike know as soon as possible.
Wednesday, 23rd of June 2021, 11:18:34 UTC