[LLVMbugs] [Bug 451] Libtool does not create libNAME.$(SHLIBEXT) files when building dynamic libs

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 12 17:58:23 PDT 2004


rspencer at x10sys.com changed:

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

------- Additional Comments From rspencer at x10sys.com  2004-10-12 19:58 -------
The difficulty I had turned out to be the name of "mklib" instead of "libtool".
The Makefiles use "mklib" but I was constantly regenerating libtool under
various circumstances. The real problem was our version of ltmain.sh which
didn't match our version of libtool.m4. Both these files have been committed as
well as changes to the AutoRegen.sh script. Commits are here:


Bug resolved.


When upgrading the version of libtool, you must do the following:

1. configure/build/install libtool with --prefix=<PFX>
2. Copy <PFX>/share/aclocal/libtool.m4 to llvm/autoconf/m4/libtool.m4
3. Copy <PFX>/share/libtool/ltmain.sh to llvm/autoconf/ltmain.sh
4. Adjust the llvm/autoconf/m4/libtool.m4 file to ensure that the variable
   default_ofile is set to "mklib" instead of "libtool"
5. Possibly adjust llvm/autoconf/m4/libtool.m4 to get rid of autoconf 
   warnings related to obsolete autconf features (e.g. AC_TRY_LINK)

------- 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