[MacPorts] #47069: How to build webkit-gtk3-2.0 @2.0.4_4 on a 10.5.8 PPC ?

MacPorts noreply at macports.org
Wed Jul 3 00:41:20 UTC 2024


#47069: How to build webkit-gtk3-2.0 @2.0.4_4 on a 10.5.8 PPC ?
------------------------------+----------------------
  Reporter:  udbraumann       |      Owner:  jeremyhu
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:  wontfix          |   Keywords:  ppc
      Port:  webkit-gtk3-2.0  |
------------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:3 udbraumann]:
 > However, after issuing
 >
 > {{{
 > $ sudo port install webkit-gtk3-2.0 configure.compiler=macports-gcc-4.9
 > }}}
 >
 > and compiling, after a while I had to surrender, since {{{webkit-
 gtk3-2.0}}} contains code which is not supporting PPC:
 >
 > {{{
 > ...
 > :info:build /opt/local/bin/g++-mp-4.9 -DHAVE_CONFIG_H -I.  -Wall -W
 -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security
 -Wno-format-y2k -Wundef -Wmissing-format-
 > attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-
 parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__
 -I./Source -I./Source/JavaScriptCore -I./Sour
 > ce/JavaScriptCore/API -I./Source/JavaScriptCore/assembler
 -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler
 -I./Source/JavaScriptCore/dfg -I./Source/JavaScri
 > ptCore/disassembler -I./Source/JavaScriptCore/heap
 -I./Source/JavaScriptCore/debugger
 -I./Source/JavaScriptCore/ForwardingHeaders
 -I./Source/JavaScriptCore/interpreter -I./Source/Ja
 > vaScriptCore/jit -I./Source/JavaScriptCore/jit
 -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser
 -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime
 > -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr
 -I./DerivedSources/JavaScriptCore -I./Source/WTF
 -DGTEST_USE_OWN_TR1_TUPLE=1 -D__MAC_OS_X_VERSION_MAX_ALLOWED=1050  -O
 > s -m32 -Wno-c++11-compat -O2 -MT Source/JavaScriptCore/llint
 /Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o -MD -MP -MF
 Source/JavaScriptCore/llint/.deps/Programs_LLIntOffse
 > tsExtractor-LLIntOffsetsExtractor.Tpo -c -o Source/JavaScriptCore/llint
 /Programs_LLIntOffsetsExtractor-LLIntOffsetsExtractor.o `test -f
 'Source/JavaScriptCore/llint/LLIntOffsetsExtr
 > actor.cpp' || echo
 './'`Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp
 > :info:build In file included from
 ./Source/JavaScriptCore/bytecode/ValueRecovery.h:31:0,
 > :info:build                  from
 ./Source/JavaScriptCore/bytecode/CodeOrigin.h:31,
 > :info:build                  from
 ./Source/JavaScriptCore/bytecode/CodeBlock.h:39,
 > :info:build                  from
 Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:29:
 > :info:build ./Source/JavaScriptCore/assembler/MacroAssembler.h:62:2:
 error: #error "The MacroAssembler is not supported on this platform."
 > :info:build  #error "The MacroAssembler is not supported on this
 platform."
 > ...
 > }}}
 >
 > To summarize, {{{webkit-gtk3-2.0}}} unfortunately cannot be built on
 10.5.8 PPC, but not because of existing {{{clang}}} deficiencies, just
 since {{{Macroassembler}}} only supports ARM, ARMv7, MIPS, x86, x86_64,
 and SH4.

 There is a macro there `#if ENABLE(ASSEMBLER)`.
 Perhaps use can refrain from enabling it.

-- 
Ticket URL: <https://trac.macports.org/ticket/47069#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list