[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnucobol-3.1-rc1 and multiple failures on OS X
From: |
Jeffrey Walton |
Subject: |
Re: gnucobol-3.1-rc1 and multiple failures on OS X |
Date: |
Sun, 12 Jul 2020 22:34:08 -0400 |
> I'm seeing multiple failures on a Mac-Mini. The triplet is
> x86_64-apple-darwin16.7.0.
The OS X failures look like the problem discussed at
https://lists.lysator.liu.se/pipermail/nettle-bugs/2020/008860.html.
The short of it is, when System Integrity Protection (SIP) is in
effect, SIP sanitizes some of the environment when calling system
programs. When you set LD_LIBRARY_PATH or DYLD_LIBRARY_PATH, and then
call a system program like /bin/make or /bin/sh, then SIP unsets the
variables.
To work around it, don't call system programs in your driver script.
That is, do something like this:
#!/usr/bin/env bash
DYLD_LIBRARY_PATH=".lib:$DYLD_LIBRARY_PATH"
./test-0019
Since the script did not enlist a system program, the value of
DYLD_LIBRARY_PATH will stay in tact.
Jeff
On Sun, Jul 12, 2020 at 7:57 PM Jeffrey Walton <noloader@gmail.com> wrote:
>
> Hi Everyone,
>
> I'm seeing multiple failures on a Mac-Mini. The triplet is
> x86_64-apple-darwin16.7.0.
>
> Attached are the logs.
>
> Jeff