Unfortunately, that still doesn't make it fly.
My mozconfig:
```
▶ cat .mozconfig
mk_add_options MOZ_MAKE_FLAGS="-j$(icecc-jobs)"
mk_add_options 'export CCACHE_PREFIX=icecc'
mk_add_options "export RUSTC_WRAPPER=sccache"
mk_add_options 'export CARGO_INCREMENTAL=1'
mk_add_options 'export
ICECC_VERSION="/home/zbraniecki/projects/mozilla-unified/380221610b59b33bb654b45d4fedb5ed.tar.gz"'
export CC="clang"
export CXX="clang++"
ac_add_options --with-ccache
ac_add_options --enable-optimize="-g -Og"
ac_add_options --enable-debug-symbols
ac_add_options --enable-debug
```
error log:
```
0:11.54 checking whether /usr/bin/ccache /usr/bin/g++ -std=gnu++11 accepts
-g... (cached) yes
0:11.55 checking for ranlib... (cached) ranlib
0:11.55 checking for as... (cached) /usr/bin/as
0:11.55 checking for ar... (cached) ar
0:11.55 checking for strip... (cached) strip
0:11.55 checking for windres... no
0:11.55 checking for otool... no
0:11.57 checking for X... (cached) libraries /usr/lib64, headers
0:11.57 checking for dnet_ntoa in -ldnet... (cached) no
0:11.57 checking for dnet_ntoa in -ldnet_stub... (cached) no
0:11.57 checking for gethostbyname... (cached) yes
0:11.58 checking for connect... (cached) yes
0:11.58 checking for remove... (cached) yes
0:11.58 checking for shmat... (cached) yes
0:11.58 checking for IceConnectionNumber in -lICE... (cached) yes
0:11.63 configure: error: compiler is incompatible with sanitize options
0:11.63 DEBUG: <truncated - see config.log for full output>
0:11.63 DEBUG: configure: In function 'main':
0:11.63 DEBUG: configure:4301:15: error: '__thumb2__' undeclared (first use in
this function); did you mean '__unix__'?
0:11.63 DEBUG: configure:4301:15: note: each undeclared identifier is reported
only once for each function it appears in
0:11.63 DEBUG: configure: failed program was:
0:11.63 DEBUG: #line 4298 "configure"
0:11.63 DEBUG: #include "confdefs.h"
0:11.63 DEBUG:
0:11.63 DEBUG: int main() {
0:11.63 DEBUG: return sizeof(__thumb2__);
0:11.63 DEBUG: ; return 0; }
0:11.63 DEBUG: configure:5029: /usr/bin/ccache /usr/bin/gcc -std=gnu99 -o
conftest -Qunused-arguments conftest.c 1>&5
0:11.63 DEBUG: gcc: error: unrecognized command line option
'-Qunused-arguments'; did you mean '-Wunused-parameter'?
0:11.63 DEBUG: configure: failed program was:
0:11.63 DEBUG: #line 5022 "configure"
0:11.63 DEBUG: #include "confdefs.h"
0:11.63 DEBUG:
0:11.63 DEBUG: int main() {
0:11.63 DEBUG:
0:11.63 DEBUG: ; return 0; }
0:11.63 DEBUG: configure: error: compiler is incompatible with sanitize options
0:11.64 ERROR: old-configure failed
0:11.67 *** Fix above errors and then restart with\
0:11.67 "/usr/bin/make -f client.mk build"
0:11.67 make[1]: *** [/projects/mozilla-unified/client.mk:250: configure]
Error 1
0:11.67 make: *** [client.mk:263:
/projects/mozilla-unified/obj-x86_64-pc-linux-gnu/config.status] Error 2
0:11.71 0 compiler warnings present.
0:11.72 ccache (direct) hit rate: 0.0%; (preprocessed) hit rate: 0.0%; miss
rate: 100.0%
```
Any idea what's causing it?
I'm on arch.
zb.
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform