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

             Bug #: 12517
           Summary: RPATH should not contain build directory for tools
           Product: Build scripts
           Version: 3.0
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8366
  --> http://llvm.org/bugs/attachment.cgi?id=8366
simple patch, may need refinement

Makefile.rules does an ifdef TOOLNAME and adds either ExmplDir or ToolDir to
RPATH. This is wrong on two levels: it leaves a reference to the build tree,
and RPATH elements aren't required for directories containing executables.

The build doesn't fail, but the tools we use for porting with illumos correctly
identify the content to be packaged as incorrectly built. I've attached a
simple patch for this issue. This can be collapsed further, as no branching is
required to distinguish directories.

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