[LLVMbugs] [Bug 289] NEW: shell scripts output by gccld don't work if you change PATH

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 12 09:47:16 PST 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=289

           Summary: shell scripts output by gccld don't work if you change
                    PATH
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gccld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gaeke+bugs at uiuc.edu


gccld outputs shell scripts that try to start lli without specifying a full path name.  The problem with 
this is that if you change your path so that it doesn't have lli in it, you suddenly can't run "binaries" that 
llvm-gcc outputs.

The workaround is to edit the script so that it specifies the full path name of lli, or to use the CBE or 
LLC instead.

I ran across this when playing with the test suite for GNU ed-0.2; it resets the PATH before running any 
tests.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list