New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 747400 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Subzero build errors caused by unused-lambda-capture

Reported by milos.st...@gmail.com, Jul 21 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Steps to reproduce the problem:
1. Get nacl
$ cd /opt/subzero
$ mkdir /opt/subzero/nacl
$ cd /opt/subzero/nacl
$ fetch nacl
$ cd /opt/subzero/nacl/native_client
$ git checkout master
$ build/package_version/package_version.py --packages linux_x86/mips_trusted sync -x

2. Update depot-tools
$ cd /opt/depot-tools
$ git pull

3. Get pnacl_newlib_raw
$ cd /opt/subzero/nacl/native_client
$ gclient sync
$ toolchain_build/toolchain_build_pnacl.py -y --sync-only
$ toolchain_build/toolchain_build_pnacl.py --verbose --sync --clobber --install toolchain/linux_x86/pnacl_newlib_raw
$ rm -rf toolchain/linux_x86/pnacl_newlib
$ ln -s pnacl_newlib_raw toolchain/linux_x86/pnacl_newlib
$ toolchain_build/toolchain_build_pnacl.py --verbose --install toolchain/linux_x86/pnacl_newlib_raw --build-sbtc

4. Build Subzero
$ cd /opt/subzero/nacl/native_client/toolchain_build/src/subzero
$ git checkout master
$ git pull
$ rm -rf build
$ make -j6 -f Makefile.standalone DEBUG=1

What is the expected behavior?

What went wrong?
Subzero buildbot started failing on the build step with 4 errors:

src/IceTargetLoweringARM32.cpp:5126:33: error: lambda capture 'Instr' is not used [-Werror,-Wunused-lambda-capture]
          [this, Expected, New, Instr, DestTy, &LoadedValue](Variable *Tmp) {
                                ^
src/IceTargetLoweringARM32.cpp:5126:40: error: lambda capture 'DestTy' is not used [-Werror,-Wunused-lambda-capture]
          [this, Expected, New, Instr, DestTy, &LoadedValue](Variable *Tmp) {
                                       ^
src/IceTargetLoweringARM32.cpp:5157:31: error: lambda capture 'Instr' is not used [-Werror,-Wunused-lambda-capture]
        [this, Expected, New, Instr, DestTy, &LoadedValue](Variable *Tmp) {
                              ^
src/IceTargetLoweringARM32.cpp:5157:38: error: lambda capture 'DestTy' is not used [-Werror,-Wunused-lambda-capture]
        [this, Expected, New, Instr, DestTy, &LoadedValue](Variable *Tmp) {
                                     ^

Link to latest build log:
http://www.rt-rk.com/yamb/builders/subzero_build_full/builds/47/steps/shell_15/logs/stdio

Link to all builder steps:
http://www.rt-rk.com/yamb/builders/subzero_build_full/builds/47

The last successful build was on May 21. 2017.
The first unsuccessful build was on May 28. 2017.

Did this work before? Yes 

Chrome version:   Channel: stable
OS Version: 16.04
Flash Version:
 

Comment 1 by ajha@chromium.org, Jul 24 2017

Cc: krasin@chromium.org
Labels: TE-NeedsTriageHelp
Cc'ing krasin@ from  Issue 681136  for help in further investigation of this.

Comment 2 by caseq@chromium.org, Jul 24 2017

Components: -Platform>DevTools Build
Any news on this? It doesn't seem that much fixing is required, removing the unused variables should be enough.
Fixed with: 5dbdde4 Handle mul instructions with two immediates on x86-32 and x86-64

Sign in to add a comment