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

           Summary: Debian sid installs crt{1,i,n}.o in multi-arch lib
                    directory
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6711)
 --> (http://llvm.org/bugs/attachment.cgi?id=6711)
Search crt{1,i,n}.o in mutli-arch library directory on Debian

A recent updated of the eglibc package in Debian sid now installs the
crt{1,i,n}.o files in a multi-arch directory under /usr/lib
(/usr/lib/i386-linux-gnu and /usr/lib/x86_64-linux-gnu for i386 and amd64,
respectively). Attached patch teaches tools/Driver/ToolChains.cpp to look there
if compiling natively.

I'm not quite happy with the patch, because on a i386 install, the GccTriple is
i486-linux-gnu, but the multi-arch triple in the installation path is
i386-linux-gnu, so this needs a bit of hackery...

-- 
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
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to