tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing $ORGIN RPATHs - at least some of them



On Tue, Nov 07, 2017 at 06:58:13PM +0100, Kamil Rytarowski wrote:
> Some software (for example in LLVM) require to return the exact executed
> program, not a random executable based on an inode value. Right now LLVM
> is guessing program exec name on NetBSD reading argv[0], as the
> sysctl(2) version wasn't reliable.

You are confusing something. The correct behavior for programs is using
argv[0]. It has always been the correct way. Depending on name
resolution was never correct.

Joerg


Home | Main Index | Thread Index | Old Index