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

Issue 752377 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 724628



Sign in to add a comment

autotest-tests-cheets fails to build with lib++ on caroline (amd64 board)

Project Member Reported by manojgupta@chromium.org, Aug 4 2017

Issue description

autotest-tests-cheets is using i686-pc-linux-gnu-clang++. As a result, it fails to build because of missing libc++ libraries.

autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_MailBench.
autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_MediaPlayerVideoHWDecodeUsed.
autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_MicrophoneApp.
autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_MountObbTest.
autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_NOVALegacy.
autotest-tests-cheets-0.0.1-r454: * INFO:root:setup cheets_NativeCrash.
autotest-tests-cheets-0.0.1-r454: DEBUG:root:Running 'make -j40 '
autotest-tests-cheets-0.0.1-r454: DEBUG:root:[stdout] i686-pc-linux-gnu-clang++ -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -static -c crasher.cc -o crasher.o
autotest-tests-cheets-0.0.1-r454: DEBUG:root:[stdout] i686-pc-linux-gnu-clang++ -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -static -c bomb.cc -o bomb.o
autotest-tests-cheets-0.0.1-r454: DEBUG:root:[stdout] i686-pc-linux-gnu-clang++ -O2 -pipe -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -static -o crasher_nobreakpad crasher.o bomb.o
autotest-tests-cheets-0.0.1-r454: ERROR:root:[stderr] /usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/binutils-bin/2.27/ld.gold.real: error: cannot find -lc++

 
domlaskowski@chromium.org : Is it necessary to use the 32 bit libraries to  build it or can you migrate it to use 64 bit libs?

If 32-bit is necessary, can you add the CXX flag "-stdlib=libstdc++" to the build.
I would prefer if you stop using the 32-bit compiler.
Cc: lhchavez@chromium.org dhadd...@chromium.org elijahtaylor@chromium.org
Components: Platform>ARC
Dominik appears to be OoO. So CCing few more folks if they know why 32-bit compiler is used here.
Labels: -Pri-2 Pri-1
Bump to P1.
it's making programs to run inside the ARC container to trigger crashes to test crash processing outside of the container.  since the native ARC programs are 32-bit, we need 32-bit crashers.

dropping 32-bit support isn't feasible until ARC goes 64-bit.
Project Member

Comment 7 by bugdroid1@chromium.org, Aug 8 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/autotest-cheets/+/1670e0bf2056f80975495c7253e837ce18dad169

commit 1670e0bf2056f80975495c7253e837ce18dad169
Author: Manoj Gupta <manojgupta@google.com>
Date: Tue Aug 08 19:21:23 2017

Owner: manojgupta@chromium.org
Status: Verified (was: Untriaged)

Sign in to add a comment