[MacPorts] #62139: qt5-qtwebkit: Multiple errors in FastMalloc.cpp
MacPorts
noreply at macports.org
Sun Jan 24 20:13:46 UTC 2021
#62139: qt5-qtwebkit: Multiple errors in FastMalloc.cpp
-------------------------+---------------------------------
Reporter: Schamschula | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qt5-qtwebkit
-------------------------+---------------------------------
While building qt5-qtwebkit on a arm64 machine, running Big Sur 11.1, I
get the following errors:
{{{
/Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
-stdlib=libc++ -fno-strict-aliasing -Os -fPIC -std=gnu++11 -arch arm64
-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
version-min=11.1 -fvisibility=hidden -fvisibility-inlines-hidden -fno-
exceptions -MD -DQT_NO_LINKED_LIST
-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DBUILDING_QT__=1
-DNDEBUG -DENABLE_3D_RENDERING=1 -DENABLE_ACCELERATED_2D_CANVAS=1
-DENABLE_BLOB=1 -DENABLE_CANVAS_PATH=1 -DENABLE_CHANNEL_MESSAGING=1
-DENABLE_CSS_BOX_DECORATION_BREAK=1 -DENABLE_CSS_COMPOSITING=1
-DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_FILTERS=1 -DENABLE_CSS_IMAGE_SET=1
-DENABLE_CSS_REGIONS=1 -DENABLE_CSS_SHAPES=1
-DENABLE_CSS_STICKY_POSITION=1
-DENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED=1
-DENABLE_DATALIST_ELEMENT=1 -DENABLE_DETAILS_ELEMENT=1
-DENABLE_DEVICE_ORIENTATION=1 -DENABLE_DOWNLOAD_ATTRIBUTE=1
-DENABLE_FAST_MOBILE_SCROLLING=1 -DENABLE_FILTERS=1 -DENABLE_FTPDIR=1
-DENABLE_FULLSCREEN_API=1 -DENABLE_GEOLOCATION=1 -DENABLE_GESTURE_EVENTS=1
-DENABLE_ICONDATABASE=1 -DENABLE_IFRAME_SEAMLESS=1
-DENABLE_INDEXED_DATABASE=1 -DENABLE_INPUT_TYPE_COLOR=1
-DENABLE_INSPECTOR=1 -DENABLE_INSPECTOR_SERVER=1
-DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_LEGACY_NOTIFICATIONS=1
-DENABLE_LEGACY_VIEWPORT_ADAPTION=1 -DENABLE_LEGACY_VENDOR_PREFIXES=1
-DENABLE_LEGACY_WEB_AUDIO=1 -DENABLE_LINK_PREFETCH=1
-DENABLE_METER_ELEMENT=1 -DENABLE_MHTML=1 -DENABLE_NOTIFICATIONS=1
-DENABLE_ORIENTATION_EVENTS=1 -DENABLE_PAGE_VISIBILITY_API=1
-DENABLE_PROGRESS_ELEMENT=1 -DENABLE_RESOLUTION_MEDIA_QUERY=1
-DENABLE_REQUEST_ANIMATION_FRAME=1 -DENABLE_SHARED_WORKERS=1
-DENABLE_SMOOTH_SCROLLING=1 -DENABLE_SQL_DATABASE=1
-DENABLE_SUBPIXEL_LAYOUT=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1
-DENABLE_TOUCH_ADJUSTMENT=1 -DENABLE_TOUCH_EVENTS=1
-DENABLE_TOUCH_SLIDER=1 -DENABLE_VIDEO_TRACK=1
-DENABLE_VIEW_MODE_CSS_MEDIA=1 -DENABLE_WEB_SOCKETS=1
-DENABLE_WEB_TIMING=1 -DENABLE_WORKERS=1 -DENABLE_XHR_TIMEOUT=1
-DWTF_USE_TILED_BACKING_STORE=1 -DWTF_USE_CROSS_PLATFORM_CONTEXT_MENUS=1
-DHAVE_QTQUICK=1 -DHAVE_QTPRINTSUPPORT=1 -DHAVE_QSTYLE=1
-DHAVE_QTTESTLIB=1 -DHAVE_QTPOSITIONING=1 -DHAVE_QTSENSORS=1
-DWTF_USE_LIBXML2=1 -DENABLE_XSLT=1 -DWTF_USE_ZLIB=1 -DWTF_USE_WEBP=1
-DWTF_USE_SYSTEM_LEVELDB=1 -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1
-DENABLE_NETSCAPE_PLUGIN_API=1 -DPLUGIN_ARCHITECTURE_UNSUPPORTED=1
-DWTF_USE_3D_GRAPHICS=1 -DENABLE_WEBGL=1 -DENABLE_VIDEO=1
-DWTF_USE_QT_MULTIMEDIA=1 -DHAVE_SQLITE3=1 -DWTF_USE_GRAPHICS_SURFACE=1
-DWTF_USE_LEVELDB=1 -DENABLE_BATTERY_STATUS=0 -DENABLE_CANVAS_PROXY=0
-DENABLE_CSP_NEXT=0 -DENABLE_CSS_GRID_LAYOUT=0 -DENABLE_CSS_HIERARCHIES=0
-DENABLE_CSS_IMAGE_ORIENTATION=0 -DENABLE_CSS_IMAGE_RESOLUTION=0
-DENABLE_CSS_SHADERS=0 -DENABLE_CSS_VARIABLES=0
-DENABLE_CSS3_CONDITIONAL_RULES=0 -DENABLE_CSS3_TEXT=0
-DENABLE_CSS3_TEXT_LINE_BREAK=0 -DENABLE_DASHBOARD_SUPPORT=0
-DENABLE_DATAGRID=0 -DENABLE_DATA_TRANSFER_ITEMS=0
-DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE_SYSTEM=0
-DENABLE_FONT_LOAD_EVENTS=0 -DENABLE_GAMEPAD=0 -DENABLE_HIGH_DPI_CANVAS=0
-DENABLE_INPUT_SPEECH=0 -DENABLE_INPUT_TYPE_DATE=0
-DENABLE_INPUT_TYPE_DATETIME_INCOMPLETE=0
-DENABLE_INPUT_TYPE_DATETIMELOCAL=0 -DENABLE_INPUT_TYPE_MONTH=0
-DENABLE_INPUT_TYPE_TIME=0 -DENABLE_INPUT_TYPE_WEEK=0
-DENABLE_LEGACY_CSS_VENDOR_PREFIXES=0 -DENABLE_MATHML=0
-DENABLE_MEDIA_SOURCE=0 -DENABLE_MEDIA_STATISTICS=0
-DENABLE_MEDIA_STREAM=0 -DENABLE_MICRODATA=0 -DENABLE_MOUSE_CURSOR_SCALE=0
-DENABLE_NAVIGATOR_CONTENT_UTILS=0 -DENABLE_NETWORK_INFO=0
-DENABLE_NOSNIFF=0 -DENABLE_PROXIMITY_EVENTS=0 -DENABLE_QUOTA=0
-DENABLE_RESOURCE_TIMING=0 -DENABLE_SCRIPTED_SPEECH=0
-DENABLE_SECCOMP_FILTERS=0 -DENABLE_SHADOW_DOM=0 -DENABLE_STYLE_SCOPED=0
-DENABLE_TEMPLATE_ELEMENT=0 -DENABLE_TEXT_AUTOSIZING=0
-DENABLE_THREADED_HTML_PARSER=0 -DENABLE_TOUCH_ICON_LOADING=0
-DENABLE_USER_TIMING=0 -DENABLE_VIBRATION=0 -DENABLE_WEB_AUDIO=0
-DBUILDING_WTF -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_CORE_LIB -I. -I. -Iwtf -I../../Source
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebkit/work
/qtwebkit-opensource-src-5.9.2/Source/include -I/opt/local/include
-I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I.moc
-I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib
-o .obj/wtf/gobject/GRefPtr.o wtf/gobject/GRefPtr.cpp
wtf/FastMalloc.cpp:641:10: error: "Unsupported PAGE_SHIFT amount"
# error "Unsupported PAGE_SHIFT amount"
^
wtf/FastMalloc.cpp:652:35: error: use of undeclared identifier
'K_NUM_CLASSES'
static const size_t kNumClasses = K_NUM_CLASSES;
^
wtf/FastMalloc.cpp:1441:11: error: fields must have a constant size:
'variable length array in structure' extension will never be supported
TCEntry tc_slots_[kNumTransferEntries];
^
wtf/FastMalloc.cpp:1619:29: error: non-type template argument is not a
constant expression
typedef TCMalloc_PageMap3<64 - kPageShift - kBitsUnusedOn64Bit> Type;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wtf/FastMalloc.cpp:1619:34: note: initializer of 'kPageShift' is not a
constant expression
typedef TCMalloc_PageMap3<64 - kPageShift - kBitsUnusedOn64Bit> Type;
^
wtf/FastMalloc.cpp:647:21: note: declared here
static const size_t kPageShift = K_PAGE_SHIFT;
^
wtf/FastMalloc.cpp:1627:29: error: non-type template argument is not a
constant expression
typedef TCMalloc_PageMap2<32 - kPageShift> Type;
^~~~~~~~~~~~~~~
wtf/FastMalloc.cpp:1627:34: note: initializer of 'kPageShift' is not a
constant expression
typedef TCMalloc_PageMap2<32 - kPageShift> Type;
^
wtf/FastMalloc.cpp:647:21: note: declared here
static const size_t kPageShift = K_PAGE_SHIFT;
^
wtf/FastMalloc.cpp:1628:23: error: non-type template argument is not a
constant expression
typedef PackedCache<32 - kPageShift, uint16_t> CacheType;
^~~~~~~~~~~~~~~
wtf/FastMalloc.cpp:1628:28: note: initializer of 'kPageShift' is not a
constant expression
typedef PackedCache<32 - kPageShift, uint16_t> CacheType;
^
wtf/FastMalloc.cpp:647:21: note: declared here
static const size_t kPageShift = K_PAGE_SHIFT;
^
wtf/FastMalloc.cpp:1764:12: error: fields must have a constant size:
'variable length array in structure' extension will never be supported
SpanList free_[kMaxPages];
^
wtf/FastMalloc.cpp:1702:44: error: member reference base type 'const
WTF::TCMalloc_PageHeap::PageMap' (aka 'const int') is not a structure or
union
return reinterpret_cast<Span*>(pagemap_.get(p));
~~~~~~~~^~~~
wtf/FastMalloc.cpp:1708:15: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.Ensure(p, 1);
~~~~~~~~^~~~~~~
wtf/FastMalloc.cpp:1796:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:1798:15: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start + span->length - 1, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:1860:11: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.init(MetaDataAlloc);
~~~~~~~~^~~~~
wtf/FastMalloc.cpp:2169:11: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start + n - 1, span); // Update map from pageid to
span
~~~~~~~~^~~~
wtf/FastMalloc.cpp:2206:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start + n - 1, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:2257:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:2273:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start + span->length - 1, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:2370:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.set(span->start+i, span);
~~~~~~~~^~~~
wtf/FastMalloc.cpp:2483:13: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
pagemap_.PreallocateMoreMemory();
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
wtf/FastMalloc.cpp:2489:15: error: member reference base type
'WTF::TCMalloc_PageHeap::PageMap' (aka 'int') is not a structure or union
if (pagemap_.Ensure(p-1, ask+2)) {
~~~~~~~~^~~~~~~
2 warnings generated.
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62139>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list