[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 2725] New: The configure script ignores the
From:       bugzilla-daemon () cs ! uiuc ! edu
Date:       2008-08-27 15:27:33
Message-ID: bug-2725-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

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@nondot.org
        ReportedBy: robert.a.zeh@gmail.com
                CC: llvmbugs@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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic