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

Stanley Pinchak stanley.pinchak at gmail.com
Mon Feb 6 16:52:17 UTC 2012


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

Trying to attach that strace log again.
-------------- next part --------------
execve("/usr/bin/clang", ["clang", "test.c"], [/* 19 vars */]) = 0
brk(0)                                  = 0x29fb000
uname({sys="Linux", node="mml-home-nas", ...}) = 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) = 0xb6f4b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=24970, ...}) = 0
mmap2(NULL, 24970, PROT_READ, MAP_PRIVATE, 7, 0) = 0xb6f21000
close(7)                                = 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) = 7
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\260J'\0004\0\0\0"..., 512) = 512
lseek(7, 17737372, SEEK_SET)            = 17737372
read(7, "\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(7, 17737088, SEEK_SET)            = 17737088
read(7, "A1\0\0\0aeabi\0\1'\0\0\0\5ARM9TDMI\0\6\2\10\1\t\1"..., 50) = 50
fstat64(7, {st_mode=S_IFREG|0644, st_size=17738452, ...}) = 0
mmap2(NULL, 17817232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5e23000
mprotect(0xb6d3b000, 28672, PROT_NONE)  = 0
mmap2(0xb6d42000, 1916928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xf17) = 0xb6d42000
mmap2(0xb6f16000, 44688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6f16000
close(7)                                = 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) = 7
read(7, "\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(7, 86800, SEEK_SET)               = 86800
read(7, "\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(7, 86404, SEEK_SET)               = 86404
read(7, "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(7, {st_mode=S_IFREG|0755, st_size=119869, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f4a000
mmap2(NULL, 127508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5e03000
mprotect(0xb5e18000, 28672, PROT_NONE)  = 0
mmap2(0xb5e1f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x14) = 0xb5e1f000
mmap2(0xb5e21000, 4628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5e21000
close(7)                                = 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) = 7
read(7, "\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(7, 48784, SEEK_SET)               = 48784
read(7, "\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(7, 48464, SEEK_SET)               = 48464
read(7, "A1\0\0\0aeabi\0\1'\0\0\0\5ARM9TDMI\0\6\2\10\1\t\1"..., 50) = 50
fstat64(7, {st_mode=S_IFREG|0644, st_size=49904, ...}) = 0
mmap2(NULL, 81804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5def000
mprotect(0xb5dfb000, 28672, PROT_NONE)  = 0
mmap2(0xb5e02000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xb) = 0xb5e02000
close(7)                                = 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) = 7
read(7, "\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(7, 8644, SEEK_SET)                = 8644
read(7, "\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(7, 8320, SEEK_SET)                = 8320
read(7, "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(7, {st_mode=S_IFREG|0644, st_size=9804, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5de4000
mprotect(0xb5de6000, 28672, PROT_NONE)  = 0
mmap2(0xb5ded000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x1) = 0xb5ded000
close(7)                                = 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) = 7
read(7, "\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(7, 783152, SEEK_SET)              = 783152
read(7, "\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(7, 782844, SEEK_SET)              = 782844
read(7, "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(7, {st_mode=S_IFREG|0644, st_size=784352, ...}) = 0
mmap2(NULL, 843144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5d16000
mprotect(0xb5dd1000, 32768, PROT_NONE)  = 0
mmap2(0xb5dd9000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xbb) = 0xb5dd9000
mmap2(0xb5dde000, 23944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5dde000
close(7)                                = 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) = 7
read(7, "\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(7, 655844, SEEK_SET)              = 655844
read(7, "\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(7, 655520, SEEK_SET)              = 655520
read(7, "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(7, {st_mode=S_IFREG|0644, st_size=657004, ...}) = 0
mmap2(NULL, 688296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5c6d000
mprotect(0xb5d0d000, 28672, PROT_NONE)  = 0
mmap2(0xb5d14000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x9f) = 0xb5d14000
close(7)                                = 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) = 7
read(7, "\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(7, 44760, SEEK_SET)               = 44760
read(7, "\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(7, 44436, SEEK_SET)               = 44436
read(7, "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(7, {st_mode=S_IFREG|0644, st_size=45920, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f49000
mmap2(NULL, 77260, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5c5a000
mprotect(0xb5c65000, 28672, PROT_NONE)  = 0
mmap2(0xb5c6c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xa) = 0xb5c6c000
close(7)                                = 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) = 7
read(7, "\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(7, 1211156, SEEK_SET)             = 1211156
read(7, "\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(7, 1210716, SEEK_SET)             = 1210716
read(7, "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(7, {st_mode=S_IFREG|0755, st_size=1212556, ...}) = 0
mmap2(NULL, 1254672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0xb5b27000
mprotect(0xb5c4c000, 32768, PROT_NONE)  = 0
mmap2(0xb5c54000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x125) = 0xb5c54000
mmap2(0xb5c57000, 9488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb5c57000
close(7)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f48000
set_tls(0xb6f486d0, 0xb6f48db7, 0xb6f48db8, 0xb6f486d0, 0xb6f4d000) = 0
mprotect(0xb5c54000, 8192, PROT_READ)   = 0
mprotect(0xb5d14000, 4096, PROT_READ)   = 0
mprotect(0xb5dd9000, 12288, PROT_READ)  = 0
mprotect(0xb5ded000, 4096, PROT_READ)   = 0
mprotect(0xb5e1f000, 4096, PROT_READ)   = 0
mprotect(0xb6f4c000, 4096, PROT_READ)   = 0
munmap(0xb6f21000, 24970)               = 0
set_tid_address(0xb6f48278)             = 22453
set_robust_list(0xb6f48280, 0xc)        = 0
futex(0xbeaf32c4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b5e20000) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb5e0744c, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb5e072ec, [], 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)                                  = 0x29fb000
brk(0x2a1c000)                          = 0x2a1c000
rt_sigaction(SIGHUP, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR1, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0xb6a2b520, [], SA_NODEFER|SA_RESETHAND|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
readlink("/proc/self/exe", "/usr/bin/clang", 4096) = 14
lseek(2, 0, SEEK_CUR)                   = 10692
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=10490016, ...}) = 0
getcwd("/tmp", 4096)                    = 5
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)   = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=11, ...}) = 0
lseek(7, 0, SEEK_SET)                   = 0
read(7, "wheezy/sid\n", 11)             = 11
close(7)                                = 0
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/64", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-unknown-linux-gnueabi/lib/../lib64", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-unknown-linux-gnueabi", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../lib64", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-unknown-linux-gnueabi", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/lib/../lib64", 0xbeaf2028)     = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-unknown-linux-gnueabi", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/../lib64", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/arm-unknown-linux-gnueabi/../../lib64", 0xbeaf2028) = -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", 0xbeaf2028) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-unknown-linux-gnueabi", 0xbeaf2028) = -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", 0xbeaf2028) = -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", 0xbeaf2028) = -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("/tmp/test", 0xbeaf1ea8)         = -1 ENOENT (No such file or directory)
gettimeofday({1328546929, 780357}, NULL) = 0
open("/tmp/test-CuaCN2", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
close(7)                                = 0
umask(0777)                             = 022
umask(022)                              = 0777
stat64("/tmp/test-CuaCN2", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
chmod("/tmp/test-CuaCN2", 0100644)      = 0
stat64("/tmp/test-CuaCN2", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
unlink("/tmp/test-CuaCN2")              = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeaf1ab4) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbeaf1ab4) = -1 ENOTTY (Inappropriate ioctl for device)
stat64("/tmp/test", 0xbeaf1fc0)         = -1 ENOENT (No such file or directory)
gettimeofday({1328546929, 792874}, NULL) = 0
open("/tmp/test-iqmmDY", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
close(7)                                = 0
umask(0777)                             = 022
umask(022)                              = 0777
stat64("/tmp/test-iqmmDY", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
chmod("/tmp/test-iqmmDY", 0100644)      = 0
stat64("/tmp/test-iqmmDY", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
unlink("/tmp/test-iqmmDY")              = 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", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crt1.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crt1.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/lib/crt1.o", 0xbeaf2040)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crt1.o", 0xbeaf2040)   = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib/clang/3.0/crti.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crti.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crti.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/lib/crti.o", 0xbeaf2040)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crti.o", 0xbeaf2040)   = -1 ENOENT (No such file or directory)
stat64("/usr/bin/../lib/clang/3.0/crtbegin.o", 0xbeaf2040) = -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", 0xbeaf2040) = -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", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/crtn.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../crtn.o", 0xbeaf2040) = -1 ENOENT (No such file or directory)
stat64("/lib/crtn.o", 0xbeaf2040)       = -1 ENOENT (No such file or directory)
stat64("/usr/lib/crtn.o", 0xbeaf2040)   = -1 ENOENT (No such file or directory)
vfork()                                 = 22454
wait4(22454, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22454
--- SIGCHLD (Child exited) @ 0 (0) ---
vfork()                                 = 22455
wait4(22455, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 22455
--- SIGCHLD (Child exited) @ 0 (0) ---
vfork()                                 = 22456
wait4(22456, /usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 22456
--- SIGCHLD (Child exited) @ 0 (0) ---
access("/tmp/test-CuaCN2.s", W_OK)      = 0
stat64("/tmp/test-CuaCN2.s", {st_mode=S_IFREG|0644, st_size=575, ...}) = 0
unlink("/tmp/test-CuaCN2.s")            = 0
access("/tmp/test-iqmmDY.o", W_OK)      = 0
stat64("/tmp/test-iqmmDY.o", {st_mode=S_IFREG|0644, st_size=864, ...}) = 0
unlink("/tmp/test-iqmmDY.o")            = 0
access("a.out", W_OK)                   = -1 ENOENT (No such file or directory)
write(2, "clang", 5clang)                    = 5
write(2, ": ", 2: )                       = 2
write(2, "error: ", 7error: )                  = 7
write(2, "linker command failed with exit "..., 65linker command failed with exit code 1 (use -v to see invocation)) = 65
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?


More information about the Pkg-llvm-team mailing list