[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
Sun Mar 4 15:09:07 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 ballapete):
Replying to [comment:1 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 builds of ports need `configure.ldflags-
append -Wl,-read_only_relocs,suppress`
Gtk3 built with `configure.compiler=macports-gcc-6`. I did not need to add
he `configure.ldflags-append -Wl,-read_only_relocs,suppress`.
--
Ticket URL: <https://trac.macports.org/ticket/55922#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list