[LLVMbugs] [Bug 458] NEW: lib/Linker Makefile not copied over to objdir

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 15 14:58:59 PST 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=458

           Summary: lib/Linker Makefile not copied over to objdir
           Product: Build scripts
           Version: cvs
          Platform: Sun
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: tonic at nondot.org


I'm building on a sun box, with objdir != srdir. I did an update from cvs using
utils/cvsupdate. I then went to my objdir and started to compile the updates.

I got the following error:
llvm[2]: Linking Debug executable llvm-link
/mounts/kain/disks/1/tbrethou/llvm/tools/llvm-link/Debug/llvm-link.o(.text+0x778)
function `main':
/home/vadve/tbrethou/llvm/tools/llvm-link/llvm-link.cpp:102: undefined reference
llvm::LinkModules(llvm::Module*, llvm::Module const*, std::basic_string<char,
std ar_traits<char>, std::allocator<char> >*)'
collect2: ld returned 1 exit status
gmake[2]: *** [/mounts/kain/disks/1/tbrethou/llvm/tools/Debug/llvm-link] Error 1
gmake[2]: Leaving directory `/mounts/kain/disks/1/tbrethou/llvm/tools/llvm-link'

Doing a "make VERBOSE=1" in tools/llvm-link produced the following:
[kain llvm-link]$ make VERBOSE=1
gmake: *** No rule to make target
`/mounts/kain/disks/1/tbrethou/llvm/lib/Debug/libLLVMLinker.a', needed by
`/mounts/kain/disks/1/tbrethou/llvm/tools/Debug/llvm-link'. Stop.

I then went to lib/ in my objdir and there was NO Linker directory. The
lib/Makefile did have a listing in its DIRS for Linker though.

I verified that I had a lib/Linker directory in my srcdir.



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