Bug#655432: clang unusable on armel and armhf, link failures

Stanley Pinchak stanley.pinchak at gmail.com
Thu Feb 9 15:42:09 UTC 2012


Package: clang
Version: 3.0-1
Followup-For: Bug #655432

Dear Maintainer,

     It appears that this bug first appears in 3.0-1 on the armel platform.
The changelog notes the removal of some debian specific patches which related
to debian multi-arch search paths.  It seems likely that the upstream patches
which replaced the debian ones differed slightly from the debian clang 2.9-16
patches in some manner significant for the armel architecture.  Please let me
know if I can be of further assistance in squashing this bug. 

     Trying to compile the test.c file fails at linking in a manner similar
to that reported above for clang 3.0-5.

me at mybox:/temp$ dpkg -l | grep llvm
ii  libllvm3.0                           3.0-1                     Low-Level Virtual Machine (LLVM), runtime library

stanley at mml-home-nas:/temp$ clang -v test.c
Debian clang version 3.0-1 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: arm-unknown-linux-gnueabi
Thread model: posix
 "/usr/bin/clang" -cc1 -triple armv4t-unknown-linux-gnueabi -S -disable-free -disable-llvm-verifier -main-file-name test.c -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-abi aapcs-linux -target-cpu arm7tdmi -mfloat-abi soft -target-feature +soft-float-abi -target-linker-version 2.21.90.20111025 -momit-leaf-frame-pointer -v -resource-dir /usr/bin/../lib/clang/3.0 -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/arm-linux-gnueabi -internal-externc-isystem /usr/include -ferror-limit 19 -fmessage-length 80 -fno-signed-char -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/test-xKivDt.s -x c test.c
clang -cc1 version 3.0 based upon llvm 3.0 hosted on arm-unknown-linux-gnueabi
ignoring nonexistent directory "/usr/bin/../lib/clang/3.0/include"
ignoring nonexistent directory "/usr/bin/../lib/clang/3.0/include"
ignoring duplicate directory "/usr/local/include"
ignoring duplicate directory "/usr/include/arm-linux-gnueabi"
ignoring duplicate directory "/usr/include/arm-linux-gnueabi"
ignoring duplicate directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/include/arm-linux-gnueabi
 /usr/include
 /usr/lib/gcc/arm-linux-gnueabi/4.6/include/
 /usr/lib/gcc/arm-linux-gnueabi/4.6/include-fixed/
End of search list.
 "/usr/bin/as" -o /tmp/test-g08sZM.o /tmp/test-xKivDt.s
 "/usr/bin/ld" -X --hash-style=both --build-id --eh-frame-hdr -m armelf_linux_eabi -dynamic-linker /lib/ld-linux.so.3 -o a.out crt1.o crti.o /usr/lib/gcc/arm-linux-gnueabi/4.6/crtbegin.o -L/usr/lib/gcc/arm-linux-gnueabi/4.6 -L/usr/lib/gcc/arm-linux-gnueabi/4.6/../../.. -L/lib -L/usr/lib /tmp/test-g08sZM.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/arm-linux-gnueabi/4.6/crtend.o crtn.o
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-1-orion5x
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  libc6               2.13-26
ii  libffi5             3.0.10-3
ii  libgcc1             1:4.6.2-12
ii  libllvm3.0          3.0-1
ii  libstdc++6          4.6.2-12
ii  libstdc++6-4.6-dev  4.6.2-12

Versions of packages clang recommends:
ii  llvm-3.0-dev  <none>
ii  python        2.7.2-10

clang suggests no packages.

-- no debconf information
-------------- next part --------------
execve("/usr/bin/clang", ["clang", "test.c", "2"], [/* 19 vars */]) = 0
brk(0)                                  = 0xb6b000
uname({sys="Linux", node="mybox", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f9d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=24970, ...}) = 0
mmap2(NULL, 24970, PROT_READ, MAP_PRIVATE, 10, 0) = 0xb6f73000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/libLLVM-3.0.so.1", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270G'\0004\0\0\0"..., 512) = 512
lseek(10, 17706308, SEEK_SET)           = 17706308
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1080) = 1080
lseek(10, 17706024, SEEK_SET)           = 17706024
read(10, "A1\0\0\0aeabi\0\1'\0\0\0\5ARM9TDMI\0\6\2\10\1\t\1"..., 50) = 50
fstat64(10, {st_mode=S_IFREG|0644, st_size=17707388, ...}) = 0
mmap2(NULL, 17753400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5e84000
mmap2(0xb6d94000, 1912832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xf10) = 0xb6d94000
mmap2(0xb6f67000, 46392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f67000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libpthread.so.0", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0DE\0\0004\0\0\0"..., 512) = 512
lseek(10, 86800, SEEK_SET)              = 86800
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1400) = 1400
lseek(10, 86404, SEEK_SET)              = 86404
read(10, "A)\0\0\0aeabi\0\1\37\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 42) = 42
fstat64(10, {st_mode=S_IFREG|0755, st_size=119869, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f9c000
mmap2(NULL, 127508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5e64000
mprotect(0xb5e79000, 28672, PROT_NONE)  = 0
mmap2(0xb5e80000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x14) = 0xb5e80000
mmap2(0xb5e82000, 4628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5e82000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/libffi.so.5", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 \25\0\0004\0\0\0"..., 512) = 512
lseek(10, 48784, SEEK_SET)              = 48784
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1120) = 1120
lseek(10, 48464, SEEK_SET)              = 48464
read(10, "A1\0\0\0aeabi\0\1'\0\0\0\5ARM9TDMI\0\6\2\10\1\t\1"..., 50) = 50
fstat64(10, {st_mode=S_IFREG|0644, st_size=49904, ...}) = 0
mmap2(NULL, 81804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5e50000
mprotect(0xb5e5c000, 28672, PROT_NONE)  = 0
mmap2(0xb5e63000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xb) = 0xb5e63000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libdl.so.2", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0$\t\0\0004\0\0\0"..., 512) = 512
lseek(10, 8644, SEEK_SET)               = 8644
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1160) = 1160
lseek(10, 8320, SEEK_SET)               = 8320
read(10, "A+\0\0\0aeabi\0\1!\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 44) = 44
fstat64(10, {st_mode=S_IFREG|0644, st_size=9804, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5e45000
mprotect(0xb5e47000, 28672, PROT_NONE)  = 0
mmap2(0xb5e4e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x1) = 0xb5e4e000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabi/libstdc++.so.6", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270\252\4\0004\0\0\0"..., 512) = 512
lseek(10, 783152, SEEK_SET)             = 783152
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1200) = 1200
lseek(10, 782844, SEEK_SET)             = 782844
read(10, "A+\0\0\0aeabi\0\1!\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 44) = 44
fstat64(10, {st_mode=S_IFREG|0644, st_size=784352, ...}) = 0
mmap2(NULL, 843144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5d77000
mprotect(0xb5e32000, 32768, PROT_NONE)  = 0
mmap2(0xb5e3a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xbb) = 0xb5e3a000
mmap2(0xb5e3f000, 23944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5e3f000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libm.so.6", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0002\0\0004\0\0\0"..., 512) = 512
lseek(10, 655844, SEEK_SET)             = 655844
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1160) = 1160
lseek(10, 655520, SEEK_SET)             = 655520
read(10, "A)\0\0\0aeabi\0\1\37\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 42) = 42
fstat64(10, {st_mode=S_IFREG|0644, st_size=657004, ...}) = 0
mmap2(NULL, 688296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5cce000
mprotect(0xb5d6e000, 28672, PROT_NONE)  = 0
mmap2(0xb5d75000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x9f) = 0xb5d75000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libgcc_s.so.1", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0T-\0\0004\0\0\0"..., 512) = 512
lseek(10, 44760, SEEK_SET)              = 44760
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1160) = 1160
lseek(10, 44436, SEEK_SET)              = 44436
read(10, "A+\0\0\0aeabi\0\1!\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 44) = 44
fstat64(10, {st_mode=S_IFREG|0644, st_size=45920, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f9b000
mmap2(NULL, 77260, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5cbb000
mprotect(0xb5cc6000, 28672, PROT_NONE)  = 0
mmap2(0xb5ccd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0xa) = 0xb5ccd000
close(10)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabi/libc.so.6", O_RDONLY) = 10
read(10, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0,X\1\0004\0\0\0"..., 512) = 512
lseek(10, 1211156, SEEK_SET)            = 1211156
read(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1400) = 1400
lseek(10, 1210716, SEEK_SET)            = 1210716
read(10, "A'\0\0\0aeabi\0\1\35\0\0\0\0054T\0\6\2\10\1\t\1\22\4\24\1\25\1"..., 40) = 40
fstat64(10, {st_mode=S_IFREG|0755, st_size=1212556, ...}) = 0
mmap2(NULL, 1254672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 10, 0) = 0xb5b88000
mprotect(0xb5cad000, 32768, PROT_NONE)  = 0
mmap2(0xb5cb5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 10, 0x125) = 0xb5cb5000
mmap2(0xb5cb8000, 9488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5cb8000
close(10)                               = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f9a000
set_tls(0xb6f9a6d0, 0xb6f9adb7, 0xb6f9adb8, 0xb6f9a6d0, 0xb6f9f000) = 0
mprotect(0xb5cb5000, 8192, PROT_READ)   = 0
mprotect(0xb5d75000, 4096, PROT_READ)   = 0
mprotect(0xb5e3a000, 12288, PROT_READ)  = 0
mprotect(0xb5e4e000, 4096, PROT_READ)   = 0
mprotect(0xb5e80000, 4096, PROT_READ)   = 0
mprotect(0xb6f9e000, 4096, PROT_READ)   = 0
munmap(0xb6f73000, 24970)               = 0
set_tid_address(0xb6f9a278)             = 6671
set_robust_list(0xb6f9a280, 0xc)        = 0
futex(0xbed482d4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b5e81000) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb5e6844c, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb5e682ec, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0xb6b000
brk(0xb8c000)                           = 0xb8c000
rt_sigaction(SIGHUP, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR1, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0xb6a87244, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
readlink("/proc/self/exe", "/usr/bin/clang", 4096) = 14
lseek(2, 0, SEEK_CUR)                   = 10708
access("/usr/local/bin/clang", R_OK|X_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/clang", R_OK|X_OK)     = 0
stat64("/usr/bin/clang", {st_mode=S_IFREG|0755, st_size=10451376, ...}) = 0
getcwd("/temp", 4096)                   = 6
stat64("/usr/bin", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
access("/usr/bin/arm-unknown-linux-gnueabi-ld", R_OK|X_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/ld", R_OK|X_OK)        = 0
stat64("/usr/bin/ld", {st_mode=S_IFREG|0755, st_size=472324, ...}) = 0
open("/etc/lsb-release", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/etc/redhat-release", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/etc/debian_version", O_RDONLY)   = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=11, ...}) = 0
lseek(10, 0, SEEK_SET)                  = 0
read(10, "wheezy/sid\n", 11)            = 11
close(10)                               = 0
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/64", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-unknown-linux-gnueabi/lib/../lib64", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../lib64", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib/../lib64", 0xbed47050)     = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/../lib64", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-unknown-linux-gnueabi/../../lib64", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-unknown-linux-gnueabi/lib", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../..", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
stat64("/lib/arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
stat64("/usr/lib/arm-unknown-linux-gnueabi", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
stat64("test.c", {st_mode=S_IFREG|0644, st_size=61, ...}) = 0
stat64("2", 0xbed473f0)                 = -1 ENOENT (No such file or directory)
write(2, "clang", 5clang)                    = 5
write(2, ": ", 2: )                       = 2
write(2, "error: ", 7error: )                  = 7
write(2, "no such file or directory: '2'", 30no such file or directory: '2') = 30
write(2, "\n", 1
)                       = 1
stat64("/tmp/test", 0xbed46eb8)         = -1 ENOENT (No such file or directory)
gettimeofday({1328802077, 272778}, NULL) = 0
open("/tmp/test-mfCsNu", O_RDWR|O_CREAT|O_EXCL, 0600) = 10
close(10)                               = 0
umask(0777)                             = 022
umask(022)                              = 0777
stat64("/tmp/test-mfCsNu", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
chmod("/tmp/test-mfCsNu", 0100644)      = 0
stat64("/tmp/test-mfCsNu", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
unlink("/tmp/test-mfCsNu")              = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbed46adc) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbed46adc) = -1 ENOTTY (Inappropriate ioctl for device)
stat64("/tmp/test", 0xbed46fd0)         = -1 ENOENT (No such file or directory)
gettimeofday({1328802077, 299522}, NULL) = 0
open("/tmp/test-SAJgBR", O_RDWR|O_CREAT|O_EXCL, 0600) = 10
close(10)                               = 0
umask(0777)                             = 022
umask(022)                              = 0777
stat64("/tmp/test-SAJgBR", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
chmod("/tmp/test-SAJgBR", 0100644)      = 0
stat64("/tmp/test-SAJgBR", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
unlink("/tmp/test-SAJgBR")              = 0
access("/usr/bin/arm-unknown-linux-gnueabi-as", R_OK|X_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/as", R_OK|X_OK)        = 0
stat64("/usr/bin/as", {st_mode=S_IFREG|0755, st_size=491488, ...}) = 0
stat64("/usr/bin/../lib/clang/3.0/crt1.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crt1.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crt1.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib/crt1.o", 0xbed47050)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crt1.o", 0xbed47050)   = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib/clang/3.0/crti.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crti.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crti.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib/crti.o", 0xbed47050)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crti.o", 0xbed47050)   = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib/clang/3.0/crtbegin.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crtbegin.o", {st_mode=S_IFREG|0644, st_size=1664, ...}) = 0
stat64("/usr/bin/../lib/clang/3.0/crtend.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crtend.o", {st_mode=S_IFREG|0644, st_size=981, ...}) = 0
stat64("/usr/bin/../lib/clang/3.0/crtn.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crtn.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crtn.o", 0xbed47050) = -1 ENOENT (No such file or directory)
stat64("/lib/crtn.o", 0xbed47050)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crtn.o", 0xbed47050)   = -1 ENOENT (No such file or directory)
exit_group(1)                           = ?


More information about the Pkg-llvm-team mailing list