hard to be succinct: I am building a process with about 15 static libraries. If i make a change to one of them then relink, the link is unpredictable. Sometimes it links the previous version of the file. Today it was all day trying to convince the linker lldb 6 that this file is NEW use the NEW one not the OLD one which isn't even on the file system.
I am baffled. After I took a two hour dinner break the file showed up with the changes compiled in and linked and ran as expected. So do I need to take a two hour break after each build so the file system ufs can commit?
I have been manually executing sync and sudo sync after each build. Whats up? I must be missing something.
The appearance is that the old file is lurking in memory and the linker is linking to the old image. Why is that? Is that by design?