Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure on macOS Big Sur 11.1 #375

Closed
4cce1er opened this issue Jan 15, 2021 · 3 comments
Closed

Build Failure on macOS Big Sur 11.1 #375

4cce1er opened this issue Jan 15, 2021 · 3 comments

Comments

@4cce1er
Copy link

4cce1er commented Jan 15, 2021

1. first modify makeFile
image

2. i guess this bug
image

stdout
$ make /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o honggfuzz cmdline.o display.o fuzz.o honggfuzz.o input.o mangle.o report.o sanitizers.o socketfuzzer.o subproc.o mac/arch.o mac/mach_excServer.o mac/mach_excUser.o libhfcommon/libhfcommon.a -pthread -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lm -F/Applications/Xcode.app/Contents/SharedFrameworks -framework CoreSymbolicationDT -framework IOKit -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/PrivateFrameworks -framework Foundation -framework ApplicationServices -framework CrashReporterSupport -F/Applications/Xcode.app/Contents/SharedFrameworks -framework SymbolicationDT -framework CoreServices -framework CoreFoundation -framework CommerceKit third_party/mac/CrashReport_Sierra.o Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_VMUProcInfo", referenced from: objc-class-ref in CrashReport_Sierra.o "_OBJC_CLASS_$_VMUSampler", referenced from: objc-class-ref in CrashReport_Sierra.o "_OBJC_CLASS_$_VMUVMRegionIdentifier", referenced from: objc-class-ref in CrashReport_Sierra.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [honggfuzz] Error 1

@4cce1er
Copy link
Author

4cce1er commented Jan 15, 2021

So I think third_party/mac/CrashReport_Sierra.o be renew compiled on MacOS 11.1 can fix this bug.

@robertswiecki
Copy link
Collaborator

Closing as duplicate of #371

@singleghost2
Copy link

1. first modify makeFile
image

2. i guess this bug
image

stdout
$ make /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o honggfuzz cmdline.o display.o fuzz.o honggfuzz.o input.o mangle.o report.o sanitizers.o socketfuzzer.o subproc.o mac/arch.o mac/mach_excServer.o mac/mach_excUser.o libhfcommon/libhfcommon.a -pthread -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lm -F/Applications/Xcode.app/Contents/SharedFrameworks -framework CoreSymbolicationDT -framework IOKit -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/PrivateFrameworks -framework Foundation -framework ApplicationServices -framework CrashReporterSupport -F/Applications/Xcode.app/Contents/SharedFrameworks -framework SymbolicationDT -framework CoreServices -framework CoreFoundation -framework CommerceKit third_party/mac/CrashReport_Sierra.o Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_VMUProcInfo", referenced from: objc-class-ref in CrashReport_Sierra.o "_OBJC_CLASS_$_VMUSampler", referenced from: objc-class-ref in CrashReport_Sierra.o "_OBJC_CLASS_$_VMUVMRegionIdentifier", referenced from: objc-class-ref in CrashReport_Sierra.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [honggfuzz] Error 1

Do you have a patch file? Or could you open an pull request to merge it to the master branch? Thansk! :>

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants