[LLVMbugs] [Bug 108] New: gccld -Lfoo -lfoo fails to find ./foo/libfoo.a
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Mon Nov 10 14:54:47 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=108
Summary: gccld -Lfoo -lfoo fails to find ./foo/libfoo.a
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: gccld
AssignedTo: gaeke+bugs at uiuc.edu
ReportedBy: gaeke+bugs at uiuc.edu
gccld -Lfoo -lfoo ... will not find a library named ./foo/libfoo.a,
because gccld only looks at whether a directory entry exists, not
whether it is a readable file. This means it thinks that "./foo" is a
bytecode file, and tries to read it in, whereas it is actually a directory.
Workaround: specify full path to library on command line.
------- 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