[MacPorts] #60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with illegal loader switch '-Wl, -rpath, @loader_path/'
MacPorts
noreply at macports.org
Tue Oct 20 08:46:45 UTC 2020
#60165: meson @0.53.2 produces on PPC Mac OS X 10.4.11, Tiger, faulty files with
illegal loader switch '-Wl,-rpath, at loader_path/'
------------------------+-------------------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: tiger powerpc legacy-os
Port: meson |
------------------------+-------------------------------------
Comment (by ballapete):
Replying to [comment:21 ballapete]:
> Replying to [comment:20 kencu]:
>
> Yes, it's not a `Meson` issue, it's consequence of using Apple's
`gnutar` and it only appears when performing `env CC='/opt/local/bin/gcc-
apple-4.2' ./run_tests.py` – possibly the environment needs some more help
than just setting `CC`.
`Portfile` has a whole section on performing the tests which also sets the
environment right:
{{{
test.env CXX=${configure.cxx} \
"CXXFLAGS=${configure.cxxflags}
[get_canonical_archflags cxx]" \
CC=${configure.cc} \
"CFLAGS=${configure.cflags} [get_canonical_archflags
cc]" \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags
ld]" \
PREFIX=${prefix}
test.cmd ./run_tests.py
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60165#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list