Bug#633739: clang is not fully multiarch

Jean-Louis Dupond jean-louis at dupond.be
Wed Jul 13 11:02:30 UTC 2011


Package: clang
Version: 2.9-7
Severity: normal

Some package ftbfs in Ubuntu because clang can't find headers in 
multiarch dirs.

For example:
make[3]: Entering directory `/build/buildd/libdispatch-0~svn197/src'
/bin/bash ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H 
-I. -I../config -I.. -I..    -Wall  -fblocks -I/usr/include/kqueue   -g 
-O2 -c -o libdispatch_la-apply.lo `test -f 'apply.c' || echo './'`apply.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -Wall 
-fblocks -I/usr/include/kqueue -g -O2 -c apply.c  -fPIC -DPIC -o 
.libs/libdispatch_la-apply.o
In file included from apply.c:20:
In file included from ./internal.h:119:
In file included from /usr/include/sys/mount.h:26:
In file included from /usr/include/sys/ioctl.h:27:
/usr/include/bits/ioctls.h:24:10: fatal error: 'asm/ioctls.h' file not found
#include <asm/ioctls.h>

https://launchpadlibrarian.net/75058147/buildlog_ubuntu-oneiric-i386.libdispatch_0~svn197-3_FAILEDTOBUILD.txt.gz

Would it be possible to make clang completely multiarch?
Cause now i386 dirs doesn't get included.


Thx
Jean-Louis







More information about the Pkg-llvm-team mailing list