[Webkit-unassigned] [Bug 277881] New: Unable to compile JavaScriptCore shell after bug 277383 landed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 9 13:27:28 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=277881

            Bug ID: 277881
           Summary: Unable to compile JavaScriptCore shell after bug
                    277383 landed
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nth10sd at gmail.com
                CC: msaboff at apple.com

```
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/posix/CPUTimePOSIX.cpp.o
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/posix/FileSystemPOSIX.cpp.o
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/unix/UniStdExtrasUnix.cpp.o
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/cocoa/MemoryFootprintCocoa.cpp.o
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/generic/MemoryPressureHandlerGeneric.cpp.o
[ 55%] Building C object Source/WTF/wtf/CMakeFiles/WTF.dir/__/__/__/WTF/DerivedSources/mach_excServer.c.o
[ 55%] Building C object Source/WTF/wtf/CMakeFiles/WTF.dir/__/__/__/WTF/DerivedSources/mach_excUser.c.o
[ 55%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/generic/RunLoopGeneric.cpp.o
[ 55%] Built target WTF
[ 55%] Generating ../../JavaScriptCore/PrivateHeaders/JavaScriptCore/Bytecodes.h
[ 55%] Generating ../../JavaScriptCore/DerivedSources/LLIntDesiredSettings.h
[ 55%] Building CXX object Source/JavaScriptCore/CMakeFiles/LLIntSettingsExtractor.dir/llint/LLIntSettingsExtractor.cpp.o
[ 55%] Linking CXX executable ../../bin/LLIntSettingsExtractor
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_NSBundle", referenced from:
       in ProcessCheck.mm.o
  "_OBJC_CLASS_$_NSProcessInfo", referenced from:
       in ProcessCheck.mm.o
  "_objc_msgSend", referenced from:
       in objc-stubs-file
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/LLIntSettingsExtractor] Error 1
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntSettingsExtractor.dir/all] Error 2
make[1]: *** [Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/rule] Error 2
make: *** [jsc] Error 2
```

I am unable to compile WebKit rev 16f89907d5e9 after this rev 16f89907d5e9 landed, using the following command:

`./Tools/Scripts/build-jsc --jsc-only --debug --cmakeargs="-DCMAKE_C_COMPILER='/usr/bin/clang' -DCMAKE_CXX_COMPILER='/usr/bin/clang++'"`

$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ sw_vers
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240809/4592cd35/attachment-0001.htm>


More information about the webkit-unassigned mailing list