[LLVMbugs] [Bug 12517] New: RPATH should not contain build directory for tools

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 10 02:23:56 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: buffer.g.overflow at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list