clang doesn't know about multiarch
Bug #764870 reported by
Krzysztof Klimonda
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LLVM |
Fix Released
|
Medium
|
|||
clang (Ubuntu) |
Fix Released
|
High
|
Sylvestre Ledru |
Bug Description
Binary package hint: clang
clang hasn't been updated to deal with multiarch and fails to include headers that has been moved to $arch-linux-gnu subfolder.
For example:
kklimonda@
In file included from curl.c:1:
In file included from /usr/include/
In file included from /usr/include/
In file included from /usr/include/
/usr/include/
#include <asm/socket.h>
^
1 error generated.
kklimonda@
#include <curl/curl.h>
int main() {}
Changed in clang (Ubuntu): | |
importance: | Undecided → High |
Changed in llvm: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in clang (Ubuntu): | |
assignee: | nobody → Sylvestre Ledru (sylvestre) |
Changed in llvm: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
On my Debian 64bit system, some architecture depenent headers live in /usr/include/ x86_64- linux-gnu/ . While gcc picks those up by default (no "-I"-flag needed), clang doesn't and it would be super nice if it did…
Cheers
Niels