[MacPorts] #55922: gtk3 @3.22.28 fails to build on PPC Leopard, Mac OS X 10.5.8, because of "ld: illegal text-relocation to cstring in deprecated/.libs/libgdk_3_la-gdkcolor.o from _gdk_color_copy in deprecated/.libs/libgdk_3_la-gdkcolor.o for architecture ppc"
MacPorts
noreply at macports.org
Thu Mar 1 18:15:48 UTC 2018
#55922: gtk3 @3.22.28 fails to build on PPC Leopard, Mac OS X 10.5.8, because of
"ld: illegal text-relocation to cstring in deprecated/.libs/libgdk_3_la-
gdkcolor.o from _gdk_color_copy in deprecated/.libs/libgdk_3_la-gdkcolor.o
for architecture ppc"
------------------------+---------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: leopard
Port: gtk3 |
------------------------+---------------------
Comment (by kencu):
SIgh -- I have got to push that commit to fix the compiler selection on
PPC. I had posted up what I thought was the fix, but it didn't get much
attention. But I think I'd better go ahead and shove that on through.
- clang-3.4 is useless on PPC. If the default compiler is blacklisted,
need to fallback to gcc6
- many (most, maybe all) 32 bit ports need `configure.ldflags-append
-Wl,-read_only_relocs,suppress`
those two changes will solve many of the PPC build issues. IMHO they
should be in base.
The issues that still persist after that are trickier.
--
Ticket URL: <https://trac.macports.org/ticket/55922#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list