Bug#674588: /usr/lib/llvm-3.1/bin/llvm-config: llvm-config reports bogus prefix in chroot

Michal Suchanek michal.suchanek at ruk.cuni.cz
Wed Sep 19 11:44:52 UTC 2012


Excerpts from Sylvestre Ledru's message of Tue Sep 18 12:27:02 +0200 2012:
> 
> > Strace reveals
> > readlink("/proc/self/exe", "/usr/lib/llvm-3.1/bin/llvm-config", 4096)
> > 
> > Which is a no-go in the chroot.
> Just to make sure I understand what you are saying, it is a no-go
> because /proc/self/exe does not exist in a chroot ?

Yes, it does not exist.

It is in no way standard so will probably fail completely on other archs
regardless of chroot.

Thanks

Michal



More information about the Pkg-llvm-team mailing list