[LLVMbugs] [Bug 2725] New: The configure script ignores the --libdir parameter, which is used by llvm.spec

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 27 08:27:33 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2725

           Summary: The configure script ignores the --libdir parameter,
                    which is used by llvm.spec
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: robert.a.zeh at gmail.com
                CC: llvmbugs at cs.uiuc.edu


The --libdir parameter does not control where make installs the LLVM libraries. 

If I run:
   ./configure --libdir=/tmp/foo

And then look at where the libraries would be installed:

   $:/usr/local/src/llvm-54641$ make -n install | grep LLVMDebugg
echo llvm[2]: Installing Debug Archive Library /usr/local/lib/libLLVMDebugger.a
/usr/local/src/llvm-54641/mklib --tag=CXX --tag=disable-shared --silent
--mode=install /usr/bin/install -c 
/usr/local/src/llvm-54641/Debug/lib/libLLVMDebugger.a
/usr/local/lib/libLLVMDebugger.a


I expected make to install libLLVMDebugger.a into /tmp/foo

This is a problem for x86_64 RPMs because rpmbuild becomes unhappy when LLVM
attempts to install 64 bit libraries in /usr/lib.  The llvm.spec runs configure
with --libdir=/usr/lib64, but since libdir is ignored you eventually get a
failure from rpmbuild.


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