<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244751</bug_id>
          
          <creation_ts>2022-09-02 19:52:02 -0700</creation_ts>
          <short_desc>build-jsc CMake build fails with linker errors (shouldAllowMiniMode, _initializeLibraryPathDiagnostics)</short_desc>
          <delta_ts>2022-09-06 12:23:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>bmalloc</component>
          <version>WebKit Local Build</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bigsean123</reporter>
          <assigned_to name="Ben Nham">nham</assigned_to>
          <cc>david_quesada</cc>
    
    <cc>ggaren</cc>
    
    <cc>nham</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1895969</commentid>
    <comment_count>0</comment_count>
    <who name="">bigsean123</who>
    <bug_when>2022-09-02 19:52:02 -0700</bug_when>
    <thetext>This is my output :
./Tools/Scripts/build-jsc --jsc-only --debug --cmakeargs=&quot;-DENABLE_STATIC_JSC=ON -DCMAKE_CXX_FLAGS=&apos;-fsanitize-coverage=trace-pc-guard -O3&apos;&quot;
+  cmake -DPORT=&quot;JSCOnly&quot; -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -G Ninja -DDEVELOPER_MODE=ON -DENABLE_STATIC_JSC=ON -DCMAKE_CXX_FLAGS=&apos;-fsanitize-coverage=trace-pc-guard -O3&apos;  -DENABLE_FTL_JIT=ON &quot;/Users/bootywarrior/Downloads/Webkit/latest/WebKit&quot;
-- The C compiler identification is AppleClang 13.1.6.13160021
-- The CXX compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Debug
-- Found Perl: /usr/bin/perl (found suitable version &quot;5.30.3&quot;, minimum required is &quot;5.10.0&quot;) 
-- Found PerlModules: TRUE  found components: English FindBin JSON::PP 
-- Found Python: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8 (found version &quot;3.8.9&quot;) found components: Interpreter 
-- Found Ruby: /usr/bin/ruby (found suitable version &quot;2.6.8&quot;, minimum required is &quot;1.9&quot;) 
-- Enabling ccache: Setting ccache prefix for compiler.
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-pipe
-- Performing Test C_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMICS_ARE_BUILTIN
-- Performing Test ATOMICS_ARE_BUILTIN - Success
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success
-- Linker variant in use: UNKNOWN 
--   Linker supports thin archives - FALSE
--   Linker supports split debug info - FALSE
--   Linker supports --gdb-index - FALSE
--   Linker supports --disable-new-dtags - FALSE
-- Archiver variant in use: 
--   Archiver supports thin archives - FALSE
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF - Success
-- Looking for features.h
-- Looking for features.h - not found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - not found
-- Looking for strnstr
-- Looking for strnstr - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for MAP_ALIGNED
-- Looking for MAP_ALIGNED - not found
-- Looking for SHM_ANON
-- Looking for SHM_ANON - not found
-- Looking for timingsafe_bcmp
-- Looking for timingsafe_bcmp - found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Success
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found ICU: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libicucore.tbd
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/bmalloc/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align - Success
-- Using platform-specific CMakeLists: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/WTF/wtf/PlatformJSCOnly.cmake
-- Copying generate-unified-source-bundles.rb to: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/WTF/Scripts
-- Using platform-specific CMakeLists: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/JavaScriptCore/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Success
-- Using source list file: Sources.txt
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds - Success
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/JavaScriptCore/shell/PlatformJSCOnly.cmake
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/ThirdParty/gtest/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Failed
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/PlatformJSCOnly.cmake
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Tools/PlatformJSCOnly.cmake
-- Using platform-specific CMakeLists: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Tools/TestWebKitAPI/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/PerformanceTests/MallocBench/MallocBench/PlatformJSCOnly.cmake
-- Platform-specific CMakeLists not found: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/PerformanceTests/PlatformJSCOnly.cmake
-- Enabled features:
--  ENABLE_STATIC_JSC ............................. ON
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug
+  cmake --build FuzzBuildnew/Debug --config Debug -- jsc testb3 testair testapi testmasm testdfg -j8
[463/2265] Building CXX object Source/...as/src/libpas/pas_heap_config_kind.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[509/2265] Building CXX object Source/...loc.dir/libpas/src/libpas/jit_heap.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[659/2265] Building CXX object Source/...libpas/pas_bitfit_page_config_kind.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[679/2265] Building CXX object Source/...as/pas_segregated_page_config_kind.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[701/2265] Building CXX object Source/...pas/src/libpas/bmalloc_heap_config.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[1072/2265] Building CXX object Source...dir/libpas/src/libpas/bmalloc_heap.c.o
clang: warning: treating &apos;c&apos; input as &apos;c++&apos; when in C++ mode, this behavior is deprecated [-Wdeprecated]
[1428/2265] Building CXX object Source...sources/UnifiedSource-3a3c4ec0-2.cpp.o
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-2.cpp:4:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/JavaScriptCore/jit/ExecutableAllocator.cpp:47:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/jit_heap_config.h:35:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_heap_config_utils.h:32:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_config_utils.h:31:
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page.h:82:12: warning: cast from &apos;char *&apos; to &apos;unsigned int *&apos; increases required alignment from 1 to 4 [-Wcast-align]
    return (unsigned*)(
           ^~~~~~~~~~~~
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page.h:146:12: warning: cast from &apos;pas_page_base *&apos; to &apos;pas_bitfit_page *&apos; increases required alignment from 1 to 8 [-Wcast-align]
    return (pas_bitfit_page*)pas_page_base_for_boundary(boundary, page_config.base);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-2.cpp:4:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/JavaScriptCore/jit/ExecutableAllocator.cpp:47:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/jit_heap_config.h:35:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_heap_config_utils.h:32:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_config_utils.h:33:
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:282:18: warning: cast from &apos;unsigned int *&apos; to &apos;uint64_t *&apos; (aka &apos;unsigned long long *&apos;) increases required alignment from 4 to 8 [-Wcast-align]
    free_words = (uint64_t*)pas_bitfit_page_free_bits(page);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:283:24: warning: cast from &apos;unsigned int *&apos; to &apos;uint64_t *&apos; (aka &apos;unsigned long long *&apos;) increases required alignment from 4 to 8 [-Wcast-align]
    object_end_words = (uint64_t*)pas_bitfit_page_object_end_bits(page, page_config);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:623:18: warning: cast from &apos;unsigned int *&apos; to &apos;uint64_t *&apos; (aka &apos;unsigned long long *&apos;) increases required alignment from 4 to 8 [-Wcast-align]
    free_words = (uint64_t*)pas_bitfit_page_free_bits(page);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_bitfit_page_inlines.h:624:24: warning: cast from &apos;unsigned int *&apos; to &apos;uint64_t *&apos; (aka &apos;unsigned long long *&apos;) increases required alignment from 4 to 8 [-Wcast-align]
    object_end_words = (uint64_t*)pas_bitfit_page_object_end_bits(page, page_config);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a3c4ec0-2.cpp:4:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/Source/JavaScriptCore/jit/ExecutableAllocator.cpp:47:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/jit_heap_config.h:35:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_heap_config_utils.h:34:
In file included from /Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_segregated_page_config_utils.h:31:
/Users/bootywarrior/Downloads/Webkit/latest/WebKit/FuzzBuildnew/Debug/bmalloc/Headers/bmalloc/pas_segregated_page.h:365:12: warning: cast from &apos;pas_page_base *&apos; to &apos;pas_segregated_page *&apos; increases required alignment from 1 to 16 [-Wcast-align]
    return (pas_segregated_page*)pas_page_base_for_boundary(boundary, page_config.base);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
[2248/2265] Linking CXX executable bin/testapi
FAILED: bin/testapi 
: &amp;&amp; /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fsanitize-coverage=trace-pc-guard -O3 -fno-strict-aliasing -fno-exceptions -fno-rtti -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CompareAndSwapTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/CustomGlobalObjectClassTest.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/ExecutionTimeLimitTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/FunctionOverridesTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/GlobalContextWithFinalizerTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSONParseTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/JSObjectGetProxyTargetTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/MultithreadedMultiVMExecutionTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/PingPongStackOverflowTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/TypedArrayCTest.cpp.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.c.o Source/JavaScriptCore/shell/CMakeFiles/testapi.dir/__/API/tests/testapi.cpp.o -o bin/testapi  lib/libJavaScriptCore.a  lib/libWTF.a  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libicucore.tbd  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libicucore.tbd  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libicucore.tbd  lib/libbmalloc.a &amp;&amp; :
Undefined symbols for architecture arm64:
  &quot;bmalloc::shouldAllowMiniMode()&quot;, referenced from:
      bmalloc::api::enableMiniMode() in libbmalloc.a(bmalloc.cpp.o)
  &quot;_initializeLibraryPathDiagnostics&quot;, referenced from:
      void std::__1::__call_once_proxy&lt;std::__1::tuple&lt;WTF::initialize()::$_1&amp;&amp;&gt; &gt;(void*) in libWTF.a(Threading.cpp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2255/2265] Building CXX object Source...stmasm.dir/__/assembler/testmasm.cpp.o
ninja: build stopped: subcommand failed.

My branch commit is 0ac614b6822ca9eccec5f40b7d00bf746f1f08a9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895975</commentid>
    <comment_count>1</comment_count>
    <who name="">bigsean123</who>
    <bug_when>2022-09-02 20:06:36 -0700</bug_when>
    <thetext>Looking through WebKit for &quot;bmalloc::shouldAllowMiniMode()&quot;
I only found one commit related to this which was 7 days ago

https://github.com/WebKit/WebKit/commit/0df435b1b392cd078f13d555a63a36a96f519c57</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895984</commentid>
    <comment_count>2</comment_count>
    <who name="">bigsean123</who>
    <bug_when>2022-09-02 20:33:08 -0700</bug_when>
    <thetext>the branch that is right before those commits that caused the problem I changed to works even though I wanted the most up to date code I&apos;ll have to settle with this until the problem is solved. This is the last up to date commit that&apos;ll successfully compile &quot;git checkout 1688bc7a4268582841a1c446e5ef7953aeb33091
&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896236</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2022-09-04 20:18:51 -0700</bug_when>
    <thetext>Seems like the CMake build on macOS doesn&apos;t compile ProcessCheck.m.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896237</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2022-09-04 20:44:57 -0700</bug_when>
    <thetext>PlatformCheck.mm is specified in the Mac port but not the JSCOnly port. TBH I&apos;m not even really sure what the JSCOnly port is. Will ask the JSC team on Tuesday. Probably we&apos;ll just add a bmalloc/PlatformJSCOnly.cmake for bmalloc that compiles PlatformCheck.mm when building for Darwin, but I&apos;ll see if the team prefers some other solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896238</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-04 20:45:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/99556286&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896239</commentid>
    <comment_count>6</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2022-09-04 20:55:22 -0700</bug_when>
    <thetext>Pull request: https://stash.sd.apple.com/projects/SAFARI/repos/webkit/pull-requests/8/overview</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896252</commentid>
    <comment_count>7</comment_count>
    <who name="Ben Nham">nham</who>
    <bug_when>2022-09-04 21:57:57 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/4015</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896534</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-06 12:23:28 -0700</bug_when>
    <thetext>Committed 254194@main (75b85477b7b0): &lt;https://commits.webkit.org/254194@main&gt;

Reviewed commits have been landed. Closing PR #4015 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>