[LLVMbugs] [Bug 4342] New: llvm-gcc frontend passes non-absolute path to gold plugin
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jun 6 16:54:43 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4342
Summary: llvm-gcc frontend passes non-absolute path to gold
plugin
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: rafael.espindola at gmail.com, llvmbugs at cs.uiuc.edu
If I run "llvm-gcc -use-gold-plugin -flto -O2 hello.c -o hello" then llvm-gcc
will run collect2 with "-plugin-opt=gcc=llvm-gcc" which doesn't work. It's
expecting a full path (in my case /usr/local/bin/llvm-gcc).
Can we fix this in the gcc frontend (so it always passes the absolute path to
itself)? Or do we need to make libLTO willing to do a PATH lookup?
--
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