rpath argument change in GCC / LD
Michael Dickens
michaelld at macports.org
Mon Feb 4 16:45:52 UTC 2019
Ken and I are discussing off-list too :)
gfortran is interpreting the '-Wl,-rpath' flag provided to it. In our testing both "-Wl,-rpath,PATH" and "-Wl,-rpath -Wl,PATH" work, but "-Wl,-rpath=PATH" does not work. Doesn't seem to matter if PATH or "PATH" (quoted or not).
It could be that gfortran8 behaves differently than gfortran[4-7] or gfortran9 ... I don't know yet, but I'm testing on older OSX to try to figure out the pattern.
I'm not sure why my current NumPy patch to tweak the rpath here isn't working, since it -should- produce '-Wl,-rpath -Wl,"PATH"' ... I'll keep bashing on it ... - MLD
On Mon, Feb 4, 2019, at 11:39 AM, Chris Jones wrote:
> Hi,
>
> Hmmm, quite right.
>
> Then perhaps what you are now seeing are the changes
>
> <https://github.com/macports/macports-ports/commit/5698d9483b44984a826d0f41154a4381b7957223#diff-853d965c334d38035ad973a33b412b69>
>
> That is from July last year though - There have been no significant
> changes since then. I don't know why Michael would only seem this now ?
>
> Anyway, note the above does mean there is a difference in behaviour
> depending on Xcode version.
>
> Chris
>
> On 04/02/2019 4:02 pm, Ken Cunningham wrote:
> >> If the port is using the as version from cctools
> >
> > Hey, Chris — all that applies to the assembler, but Michael is trying to
> > beat the linker into submission.
> >
> > K
> >
More information about the macports-dev
mailing list