[MacPorts] #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon

MacPorts noreply at macports.org
Mon Feb 22 17:57:43 UTC 2021


#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+--------------------------
  Reporter:  dfleck        |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+--------------------------

Comment (by kencu):

 We're in the right section, for sure. I guess we need an {{{arm}}} section
 for this patch:
 {{{
 --- Source/WTF/wtf/FastMalloc.cpp
 +++ Source/WTF/wtf/FastMalloc.cpp
 @@ -628,7 +628,11 @@
  // sense.  In particular, if kMaxSize increases, you may have to
  // increase kNumClasses as well.
  #if OS(DARWIN)
 -#    define K_PAGE_SHIFT PAGE_SHIFT
 +#    if CPU(X86_64)
 +#        define K_PAGE_SHIFT I386_PGSHIFT
 +#    else
 +#        define K_PAGE_SHIFT PAGE_SHIFT
 +#    endif
  #    if (K_PAGE_SHIFT == 12)
  #        define K_NUM_CLASSES 68
  #    elif (K_PAGE_SHIFT == 14)

 }}}

 but -- I feel we have been down this exact road before in some port or
 ticket.... maybe not.

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


More information about the macports-tickets mailing list