Repository navigation
Closed
Labels
Description
From the CI. Would be good for someone with a mac to fix.
2021-04-27T10:18:33.9872880Z FAILED: iree/hal/local/elf/CMakeFiles/iree_hal_local_elf_platform.dir/platform/apple.c.o
2021-04-27T10:18:33.9987890Z /usr/bin/clang -isystem /Users/runner/work/iree/iree/main_checkout -isystem . -O3 -DNDEBUG -isysroot /Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.9 -fPIC -Wall -Wno-ambiguous-member-template -Wno-char-subscripts -Wno-deprecated-declarations -Wno-extern-c-compat -Wno-gnu-alignof-expression -Wno-gnu-variable-sized-type-not-at-end -Wno-ignored-optimization-argument -Wno-invalid-offsetof -Wno-invalid-source-encoding -Wno-mismatched-tags -Wno-pointer-sign -Wno-reserved-user-defined-literal -Wno-return-type-c-linkage -Wno-self-assign-overloaded -Wno-sign-compare -Wno-signed-unsigned-wchar -Wno-strict-overflow -Wno-trigraphs -Wno-unknown-pragmas -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-const-variable -Wno-unused-function -Wno-unused-local-typedef -Wno-unused-private-field -Wno-user-defined-warnings -Wctad-maybe-unsupported -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Wimplicit-fallthrough -Winfinite-recursion -Wliteral-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wself-assign -Wstring-conversion -Wtautological-overlap-compare -Wthread-safety -Wthread-safety-beta -Wunused-comparison -Wvla -Wno-strict-prototypes -Wno-shadow-uncaptured-local -Wno-gnu-zero-variadic-macro-arguments -Wno-shadow-field-in-constructor -Wno-unreachable-code-return -Wno-missing-variable-declarations -Wno-gnu-label-as-value -Wno-unused-parameter -Wno-unused-variable -Wno-undef -fvisibility=hidden -std=gnu11 -MD -MT iree/hal/local/elf/CMakeFiles/iree_hal_local_elf_platform.dir/platform/apple.c.o -MF iree/hal/local/elf/CMakeFiles/iree_hal_local_elf_platform.dir/platform/apple.c.o.d -o iree/hal/local/elf/CMakeFiles/iree_hal_local_elf_platform.dir/platform/apple.c.o -c /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c
2021-04-27T10:18:34.0076820Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c:47:40: warning: 'pthread_jit_write_protect_np' is only available on macOS 11.0 or newer [-Wunguarded-availability-new]
2021-04-27T10:18:34.0175810Z void iree_memory_jit_context_begin() { pthread_jit_write_protect_np(0); }
2021-04-27T10:18:34.0275940Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-04-27T10:18:34.0379830Z /Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/pthread.h:561:6: note: 'pthread_jit_write_protect_np' has been marked as being introduced in macOS 11.0 here, but the deployment target is macOS 10.9.0
2021-04-27T10:18:34.0400530Z void pthread_jit_write_protect_np(int enabled);
2021-04-27T10:18:34.0501980Z ^
2021-04-27T10:18:34.0605080Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c:47:40: note: enclose 'pthread_jit_write_protect_np' in a __builtin_available check to silence this warning
2021-04-27T10:18:34.0638190Z void iree_memory_jit_context_begin() { pthread_jit_write_protect_np(0); }
2021-04-27T10:18:34.0840180Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-04-27T10:18:34.0943810Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c:49:38: warning: 'pthread_jit_write_protect_np' is only available on macOS 11.0 or newer [-Wunguarded-availability-new]
2021-04-27T10:18:34.1043470Z void iree_memory_jit_context_end() { pthread_jit_write_protect_np(1); }
2021-04-27T10:18:34.1146000Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-04-27T10:18:34.1248600Z /Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/usr/include/pthread.h:561:6: note: 'pthread_jit_write_protect_np' has been marked as being introduced in macOS 11.0 here, but the deployment target is macOS 10.9.0
2021-04-27T10:18:34.1348990Z void pthread_jit_write_protect_np(int enabled);
2021-04-27T10:18:34.1450750Z ^
2021-04-27T10:18:34.1552990Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c:49:38: note: enclose 'pthread_jit_write_protect_np' in a __builtin_available check to silence this warning
2021-04-27T10:18:34.1652750Z void iree_memory_jit_context_end() { pthread_jit_write_protect_np(1); }
2021-04-27T10:18:34.1754530Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-04-27T10:18:34.1807540Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform/apple.c:74:15: error: use of undeclared identifier 'IREE_MEMORY_VIEW_FLAG_EXECUTE'; did you mean 'IREE_MEMORY_VIEW_FLAG_MAY_EXECUTE'?
2021-04-27T10:18:34.1909800Z if (flags & IREE_MEMORY_VIEW_FLAG_EXECUTE) {
2021-04-27T10:18:34.2009960Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-04-27T10:18:34.2111510Z IREE_MEMORY_VIEW_FLAG_MAY_EXECUTE
2021-04-27T10:18:34.2213230Z /Users/runner/work/iree/iree/main_checkout/iree/hal/local/elf/platform.h:120:3: note: 'IREE_MEMORY_VIEW_FLAG_MAY_EXECUTE' declared here
2021-04-27T10:18:34.2313390Z IREE_MEMORY_VIEW_FLAG_MAY_EXECUTE = 1u << 10,
2021-04-27T10:18:34.2367810Z ^
2021-04-27T10:18:34.2417650Z 2 warnings and 1 error generated.
Activity
GMNGeoffrey commentedon Apr 27, 2021
"someone with a mac" is definitely not me 😁
Tangent: Stella, are you deliberately assigning this stuff to me or using the bug template? You should be able to unassign me when filing (it's just the default so we don't lose user issues). Maybe we should create a separate template for user issues intead.
benvanik commentedon Apr 27, 2021
(we need mac CI)
stellaraccident commentedon Apr 27, 2021
I am not. I just delete everything from the template and select who I want to assign. It must be adding you...
stellaraccident commentedon Apr 27, 2021
High capacity mac CI's are hard to come by.
GMNGeoffrey commentedon Apr 28, 2021
Assigning me and adding "bug" and "help wanted" labels is part of the template. You have to remove me from the assignees. Maybe we do need a separate "user issue" template
But if you're deleting everything from the template you could just start from a blank issue as well

stellaraccident commentedon Apr 28, 2021
Oh I'm sorry - i just squinted and saw the little "create blank" link. Hadn't seen that before.
Guessing at making MacOS happy.
Guessing at making MacOS happy.
Guessing at making MacOS happy. (#5654)
Guessing at making MacOS happy. (iree-org#5654)