rpath argument change in GCC / LD
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:
> Hmmm, quite right.
> Then perhaps what you are now seeing are the changes
> 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.
> 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