http://llvm.org/bugs/show_bug.cgi?id=21360
Bug ID: 21360
Summary: -print-multi-directory prints several instead of one
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
The purpose of -print-multi-directory is to determine which one of the multilib
subdirs the particular set of other flags will cause to be searched. It's
useless if it doesn't select the right one. Clang just prints all the
possibilities, separate by newlines. This completely defeats the whole purpose
of the flag, and breaks all scripts that use it.
clang version 3.6.0 (218707)
Target: x86_64-unknown-linux-gnu
$ gcc -print-multi-directory
.
$ gcc -m64 -print-multi-directory
.
$ gcc -m32 -print-multi-directory
32
$ gcc -mx32 -print-multi-directory
x32
$ clang -print-multi-directory
.
32
x32
$ clang -m64 -print-multi-directory
.
32
x32
$ clang -m32 -print-multi-directory
.
32
x32
$ clang -mx32 -print-multi-directory
.
32
x32
$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs