[LLVMbugs] [Bug 10854] New: slow upstart of binaries in clang+llvm-2.9-x86_64-linux.tar, due to /home/duncan in search path

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 4 05:16:46 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10854

           Summary: slow upstart of binaries in
                    clang+llvm-2.9-x86_64-linux.tar, due to /home/duncan
                    in search path
           Product: new-bugs
           Version: 2.9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: patrik.h.hagglund at ericsson.com
                CC: llvmbugs at cs.uiuc.edu


The binaries in
http://llvm.org/releases/2.9/clang+llvm-2.9-x86_64-linux.tar.bz2, contains
/home/duncan/... in the search path for dynamic libraries.

On our Linux servers, this means a start-up penalty of about 1 second:

> strace -T clang+llvm-2.9-x86_64-linux.tar/bin/clang --version
[...]
open("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/tls/x86_64/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory) <0.131968>
stat("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/tls/x86_64",
0x7fffbd5d2310) = -1 ENOENT (No such file or directory) <0.131093>
open("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/tls/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory) <0.088312>
stat("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/tls",
0x7fffbd5d2310) = -1 ENOENT (No such file or directory) <0.134553>
open("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/x86_64/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory) <0.132172>
stat("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/x86_64",
0x7fffbd5d2310) = -1 ENOENT (No such file or directory) <0.130809>
open("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin/libpthread.so.0",
O_RDONLY) = -1 ENOENT (No such file or directory) <0.132083>
stat("/home/duncan/llvm-2.9/64/Phase2/Release/llvmCore-2.9-release.obj/Release/bin",
0x7fffbd5d2310) = -1 ENOENT (No such file or directory) <0.133924>

(Maybe due to a huge number of /home directories, and therefore a slow response
from the automounter?)

Please remove the search path /home/duncan/... from binaries (in future
releases).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list