-
Notifications
You must be signed in to change notification settings - Fork 4
Missing dependency between .cmx and .o files #65
Comments
Something is strange. Here's some additional observation: On the second invocation of
AFAICT, the only things being done are:
where the 2nd step fails. However, running these commands manually succeeds:
So the build is doing something extra that messes things up. I don't know what. |
This is really twisted... But it gets worse. Look at this slight modification of the commands you describe:
It does seem that the second call to |
I made a recursive diff on the whole directory between the state just after editing
where the only problem IMO is that one should not use the cached version of |
Ok, got it. Your example is wrong, here's what you should be doing:
So the "extra thing that messes things up" that |
I wasn't compiling the changed file! Ugh... sorry for wasting your time. Okay investigating further. |
You can make compilation succeed by re-compiling |
I don't think this is true for native compilation of packed libraries, and the error message is a hint of that IMO. Maybe we can have a look at the original compilation rules in |
Couldn't find a clue in the manual but this quote gives a hint:
|
The problem here is analogous to #21, that is a (probable) missing dep between
cmx
ando
files. I have just pushed anative-compilation-missing-dep
branch to show the problem (see the commit message for instructions on how to reproduce).The text was updated successfully, but these errors were encountered: