-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[WIP/TESTING] mobile: Add rules_android_ndk
#37648
base: main
Are you sure you want to change the base?
Conversation
CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to |
Signed-off-by: Ryan Northey <[email protected]>
c6392ad
to
4f98dcb
Compare
rules_android_ndk
rules_android_ndk
cc @keith i had a go at adding |
fail: CMakeFiles/cmTC_2eff2.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_2eff2
FAILED: cmTC_2eff2
: && /mnt/engflow/worker/work/1/exec/external/android_ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -no-canonical-prefixes --target=x86_64-linux-android21 -fdiagnostics-color -Wa,--noexecstack -faddrsig -faligned-new -fdata-sections -ffunction-sections -funsigned-char -fstack-protector -g -funwind-tables -DNDEBUG -fno-strict-aliasing -fomit-frame-pointer -g0 -Oz -Wall -Wformat-security -Wno-char-subscripts -Wno-error=deprecated-declarations -Wno-maybe-uninitialized -Wno-sign-compare -Wno-strict-overflow -Wno-unused-but-set-variable -Wunused-but-set-parameter -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-ignored-optimization-argument -Wno-ambiguous-member-template -Wno-char-subscripts -Wno-error=deprecated-declarations -Wno-extern-c-compat -Wno-gnu-alignof-expression -Wno-gnu-variable-sized-type-not-at-end -Wno-implicit-int-float-conversion -Wno-invalid-source-encoding -Wno-mismatched-tags -Wno-pointer-sign -Wno-private-header -Wno-sign-compare -Wno-signed-unsigned-wchar -Wno-strict-overflow -Wno-trigraphs -Wno-unknown-pragmas -Wno-unused-const-variable -Wno-unused-function -Wno-unused-private-field -Wno-user-defined-warnings -Wno-extern-c-compat -Wno-gnu-alignof-expression -Wno-gnu-designator -Wno-gnu-variable-sized-type-not-at-end -Wno-invalid-source-encoding -Wno-mismatched-tags -Wno-reserved-user-defined-literal -Wno-return-type-c-linkage -Wno-self-assign-overloaded -Wno-tautological-constant-in-range-compare -Wno-unknown-pragmas -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wgnu-redeclared-enum -Winfinite-recursion -Wliteral-conversion -Wself-assign -Wstring-conversion -Wtautological-overlap-compare -Wunused-comparison -Wvla -Wthread-safety-analysis -fPIC -DABSL_MIN_LOG_LEVEL=4 -fdebug-types-section -Wno-deprecated-declarations -Wno-deprecated-declarations -Os -fvisibility=hidden -fexceptions -no-canonical-prefixes --target=x86_64-linux-android21 -fdiagnostics-color -Wl,-z,noexecstack -Wl,-zseparate-code -Wl,--no-rosegment -Wl,--gc-sections -Wl,--exclude-libs,libgcc.a -Wl,--build-id=md5 -Wl,--undefined-glob='Java_*' -Wl,--undefined-glob='JNI_*' -pie -Wl,--exclude-libs,libunwind.a -fuse-ld=lld -Wl,--icf=safe -Wl,--no-undefined -lc -lm -latomic -ldl CMakeFiles/cmTC_2eff2.dir/testCCompiler.c.o -o cmTC_2eff2 && :
ld.lld: error: unknown -z value: separate-code
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
``` |
im guessing its just that the compiler provided in this version of ndk is too old |
yea i think so |
No description provided.