freenode/#clasp - IRC Chatlog
Search
12:23:09
DVSSA
Does clasp need to be built everytime there is a change or just for some types of changes?
13:21:22
Bike
drmeister: with cst inliningn i get "Mismatch in store function vs target function - you are attempting to store a value in a target where the store instruction is in a different LLVM function from the target value"
14:38:41
Bike
it checks whether the instance being allocated is a class in two different ways, and fuck that, for a start
21:42:43
kpoeck
Question: some of the things I note as bugs are in code borrowed from ecl, but obviously fixed in ecl after the code was cloned
21:44:27
Bike
We have enough different code now that you can't usually paste things from one to the other without at least a little modification.
21:46:58
Bike
that's probably the way to go. i see the problem with cons specifically, that's pretty bad. if missing an else branch.
21:47:48
kpoeck
I think the else branch for (and (consp args) (consp (cdr args))) should be (values 'list '* t)
21:47:51
Bike
but if you compare ecl's and clasp's closest-sequence-type they've been rewritten in different ways.
21:55:06
kpoeck
I have not analyzed about 50% of pfdietz ansi-test suite for clasp, lets see what the other 50% will bring
21:56:24
drmeister
This? " with cst inliningn i get "Mismatch in store function vs target function - you are attempting to store a value in a target where the store instruction is in a different LLVM function from the target value"
21:58:00
drmeister
Somehow a store instruction is being generated in one function that is storing into an alloca in another function.
21:58:13
drmeister
Either the store instruction is out of place or the destination alloca is out of place.
22:02:38
drmeister
I'm not sure - I compiled clasp+cando and when it hit clasp/extensions/cando/src/lisp/leap/fortran.lisp (defconstant %format "format") the compiler stopped with an error. I was in a hurry so I changed it to defvar and restarted the build - then it crashed for another reason.
22:03:50
Bike
but when i did it just for clasp there were a bunch of places that did redefinitions, and then on top of that there's the way build works running through everything several times.
22:04:03
Bike
there was even one in CLOS where it defines a constant and then deliberately writes into the constant...
22:04:08
drmeister
Ok - I'm trying a rebuild with the DEFVAR and if that works I'll set it back to DEFCONSTANT and try again and see if I can reproduce it.
22:36:02
Bicyclidine
one thing is that if you compile file a defconstant and then load the fasl, that's a redefinition