[LLVMbugs] [Bug 2424] libprofile_rt.so installed correctly, but libprofile_rt.a not
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 17 02:03:12 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2424
Holger Schurig <hs4233 at mail.mn-solutions.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Holger Schurig <hs4233 at mail.mn-solutions.de> 2008-06-17 04:03:10 ---
Your trick would paper over the fault, but I'm not sure if it is the right fix.
Makefile.rules defines in line 308:
CFERuntimeLibDir := $(LLVMGCCDIR)/lib
So either this define is wrong, or my LLVMGCCDIR is wrong. I checked for the
latter and added a
install::
echo "LLVMGGCCDIR $(LLVMGCCDIR)"
near the top of runtime/Makefile. And indeed, strangely llvmgccdir was empty. I
don't have the slightest idea, because I run configure that way:
/usr/src/llvm/svn.llvm/configure --prefix=/usr/src/llvm/dist
--with-llvmgccdir=/usr/src/llvm/dist --enable-optimized --disable-debug
It's just that the last run of ./configure was ages ago. I re-run, LLVMGCCDIR
got populated and "make -C runtime install" worked. I'm going to close this
bug. However, it might still be buggy somehow, because at the top of
runtime/Makefile there is a check if LLVMGCCDIR is bogus or not. This check
didn't trigger, so maybe the check is buggy.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list