New issue
Advanced search Search tips

Issue 885270 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 19
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocking:
issue 878565



Sign in to add a comment

kevin64-release builder is failing in setup_board

Project Member Reported by manojgupta@chromium.org, Sep 18

Issue description

https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8935023701137254944

Faling when building llvm-libunwind because of unsupported compiler option.

  [1/2] Building CXX object CMakeFiles/cmTC_43eac.dir/testCXXCompiler.cxx.o
  FAILED: CMakeFiles/cmTC_43eac.dir/testCXXCompiler.cxx.o
  /usr/bin/aarch64-cros-linux-gnu-clang++ -DNDEBUG -O2 -pipe
  -march=armv8-a+crc -mtune=cortex-a57 -ftree-vectorize
  -mfpu=crypto-neon-fp-armv8 -march=armv8-a+crc -mtune=cortex-a57.cortex-a53
  -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -g
  -I/build/kevin64/tmp/portage/sys-libs/libcxxabi-7.0.0-r4/work/libcxxabi-7.0.0.src/libunwind_llvm/include
  -stdlib=libstdc++ -o CMakeFiles/cmTC_43eac.dir/testCXXCompiler.cxx.o -c
  /build/kevin64/tmp/portage/sys-libs/libcxxabi-7.0.0-r4/work/libcxxabi-7.0.0.src-.arm64/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
  clang-7: error: the clang compiler does not support
  '-mtune=cortex-a57.cortex-a53'
 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/25f068868eb244ea842246ea8320b38aee00b093

commit 25f068868eb244ea842246ea8320b38aee00b093
Author: Manoj Gupta <manojgupta@google.com>
Date: Tue Sep 18 21:26:45 2018

kevin64: Fix compilation flags.

Rename MARCH_TUNE to BOARD_COMPILER_OPTIONS and migrate the setting
to make.defaults.
Remove option "-mfpu=crypto-neon-fp-armv8" unsupported by gcc for
AArch64.

BUG= chromium:885270 
TEST=./setup_board kevin64 works.

Change-Id: I87d8a4826b1caf36140480f29b599cd5e31f7b82
Reviewed-on: https://chromium-review.googlesource.com/1232055
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[delete] https://crrev.com/c96969e1253c09df4037aead13466410866dc22f/overlay-kevin64/make.conf
[modify] https://crrev.com/25f068868eb244ea842246ea8320b38aee00b093/overlay-kevin64/profiles/base/make.defaults

Components: Tools>ChromeOS-Toolchain
Status: Verified (was: Untriaged)

Sign in to add a comment