Hello,
It seems to me that a recent clang upgrade made -Wextra more strict and v8 now fails to build:
../../src/heap/mark-compact.cc:4748:10: error: variable 'aborted_pages_verified' set but not used [-Werror,-Wunused-but-set-variable]
size_t aborted_pages_verified = 0;
^
1 error generated.
These are the commands I'm using to build:
export PATH="/src/depot_tools:$PATH"
echo "--- leafagg_dev building v8 -- $(date -Iseconds)" \
&& apt-get -qq install python2 \
&& cd /src \
&& git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git \
&& hash -r \
&& mkdir v8 \
&& cd v8 \
&& fetch v8 \
&& gclient sync \
&& cd v8 \
&& git checkout 10.0.139.15 \
&& python2 tools/dev/v8gen.py x64.release.sample -- use_rtti=true \
&& ninja -C out.gn/x64.release.sample v8_monolith
Any suggestions?
Thank you,
-Tudor.