-
Notifications
You must be signed in to change notification settings - Fork 511
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
OS X compile error #176
Comments
Hopefulyl fixed with 4f526fd - will be thankful for testing |
Thanks for the quick fix. No errors like the one above, however I get the following one:
This seems like a local problem, not related to the code. What do you think? I have to note, I'm compiling on a fresh install with just Xcode installed. |
I cannot reproduce the issue reported by @antoniozekic. Plus the framework ( Since the tool accepts externally defined compiler & linker flags, my best guess is that your environment is externally defining (left over from building other tool, sourcing other build scripts, etc.) some flags that are messing with the build. Clean-up your env and check that you are not defining any related flags, especially the LDFLAGS. However, the recently refactor libhfuzz is using weak aliasing, which Darwin is not very happy with. Currently hoggfuzz can be successfully build, although libhfuzz not:
I can help work around it after holidays if not already fixed. |
Thanks, I made them weak aliases: Though, these shouldn't be weak, so they can overshadow whatever libasan/ubsan/msan/tsan provides, and these come with those symbols. For now it's not a problem, as only reeeealy new clang emits those symbols, but I'll need to think how to deal with that. I will also have to organize either a regular macos box, or macos-in-the-cloud, so I don't break macos builds so frequently. |
@anestisb I've installed macOS 10.12.6 in a VM with latest Xcode, because I was suspicious of my environment, even though I checked the env and flags, however, same problem, here is the output:
@robertswiecki I'll continue digging into this as much as I can. Thanks! |
Any luck with fix for this one? I encountered the same error on macOS 10.12.6 :
|
@robertswiecki Have you had the chance to look into it? |
FYI: It's working fine again on my MacOS clone for some time now. |
In a process of getting Mac box now, I'll try to dig into it sometime next week. |
@robertswiecki Great! |
Please try at HEAD or with 1fe7972 Not sure what I'm doing but it fixed my build on 10.12 (Sierra) |
As per OP's comment in 1fe7972 it seems to be working now. Closing. Please re-open if needed. |
Compiler errors:
mac/arch.c:378:30: error: no member named 'timin' in 'honggfuzz_t'; did you mean 'timing'? if (run->global->timin.tmOut) { ^~~~~ timing ./honggfuzz.h:209:7: note: 'timing' declared here } timing;
mac/arch.c:467:45: error: no member named 'tmoutVTALRM' in 'honggfuzz_t' arch_sigs[SIGVTALRM].important = hfuzz->tmoutVTALRM;
The text was updated successfully, but these errors were encountered: