[LLVMbugs] [Bug 441] running make on an alredy built tree causes targets to be rebuilt

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 22 18:03:36 PDT 2004


rspencer at x10sys.com changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From rspencer at x10sys.com  2004-09-22 20:03 -------
The problem was the rules in llvm/Makefile.rules. There were three problems:

1. The makefile assumed that libtool made libXYZ.so where it actually makes the
   file libXYZ.la. This caused the incorrect dependency and rebuild.
2. The makefile did not do the "mklib --finish $(installdir)" operation to tell
   the operating system that the directory had libraries in it that needed to be
   mapped. Some OS's (like linux) require this so the OS can map the symbols for
   faster linking.
3. The makefile used the wrong make variable syntax for the library it built. It
   tried $*.la instead of $@. $* is the basename of the dependency, not the name
   of the file being rebuilt. Passing $*.la to the libtool "-o" option meant
   that libtool received ".la" for its output file name which is invalid.

In any event, all these problems are fixed in:



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list