Displaying 1 result from an estimated 1 matches for "sample_strace".
2016 Feb 08
3
strace clang refers files from lib/tls/x86_64 multiple times
...char **argv)
{
int myLocal=0xAA;
return 0;
}
Command: clang t.c -o a.o -c
With above simple program we are observing that clang is stat-ing and trying to open various files from lib/tls location. Eventually all calls to "lib/tls" leads to ENOENT (No such file or directory)!
<sample_strace>
open("path/lib/tls/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
...
open("path/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
...
</sample_strace>
The same behavior is not observed with GCC. With...