[LLVMbugs] [Bug 13992] New: -Wl strips empty options
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 2 06:19:08 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13992
Bug #: 13992
Summary: -Wl strips empty options
Product: clang
Version: 3.1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: l.lunak at suse.cz
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When using e.g. 'clang++ -Wl,rpath,' , the empty option at the end is skipped
and not passed to the linker, unlike with gcc, which does pass the option.
The difference can be observed e.g. by running 'strace -f -e execve -s 100
clang++ -Wl,-rpath,' and checking the options passed to ld.
--
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