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

Issue 690123 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 685244



Sign in to add a comment

bling.fyi clang-tot-device bot (build130-m7) is missing `ld`

Project Member Reported by thakis@chromium.org, Feb 8 2017

Issue description

https://uberchromegw.corp.google.com/i/internal.bling.fyi/builders/clang-tot-device/builds/984/steps/gclient%20runhooks/logs/stdio

CMake Error at /b/build/slave/clang-tot-device/build/src/third_party/llvm-build-tools/cmake343/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/Library/Developer/CommandLineTools/usr/bin/cc" is not able
  to compile a simple test program.

  It fails with the following output:

   Change Dir: /b/build/slave/clang-tot-device/build/src/third_party/llvm-build/Release+Asserts/CMakeFiles/CMakeTmp

  

  Run Build Command:"/b/depot_tools/ninja" "cmTC_e1762"

  [1/2] Building C object CMakeFiles/cmTC_e1762.dir/testCCompiler.c.o

  [2/2] Linking C executable cmTC_e1762

  FAILED: cmTC_e1762

  : && /Library/Developer/CommandLineTools/usr/bin/cc
  -DLLVM_FORCE_HEAD_REVISION -Wl,-search_paths_first
  -Wl,-headerpad_max_install_names
  CMakeFiles/cmTC_e1762.dir/testCCompiler.c.o -o cmTC_e1762 && :

  ld: error: unable to find utility "ld", not a developer tool or in PATH


The bot used to work back in late December (and then was red a while due to  issue 689559 ). I wonder if this is due to rollout of hermetic xcode.
 
Things were still (relatively) happy at https://uberchromegw.corp.google.com/i/internal.bling.fyi/builders/clang-tot-device/builds/516 and the issue has been maksed by  issue 689559  ever since.
Cc: d...@chromium.org
dba: is this similar to issue 659213?

Comment 3 by d...@chromium.org, Feb 8 2017

Mergedinto: 659213
Owner: d...@chromium.org
Status: Duplicate (was: Untriaged)
Yes, it is related to it. I already placed a system Xcode on build9{8,9}-m1 has explained in https://crbug.com/659213#c24

Comment 4 by thakis@chromium.org, Feb 10 2017

Status: Untriaged (was: Duplicate)
The bot's still complaining that it can't find ld: https://uberchromegw.corp.google.com/i/internal.bling.fyi/builders/clang-tot-device/builds/1029/steps/gclient%20runhooks/logs/stdio

Comment 5 by d...@chromium.org, Feb 10 2017

Owner: justincohen@chromium.org
Status: Assigned (was: Untriaged)
Summary: bling.fyi clang-tot-device bot (build130-m7) is missing `ld` (was: clang-tot-device bot is missing `ld`)
My mistake. This was done in issue 672835, not issue 659213.

I've put Xcode back on the machine, but according to justincohen@ all bling related builders should be able to run hermetic.

Justin - I'm assigning this to you to figure out what's needed to have this clang-tot-device bot be able to function like the other bling.fyi mac builders to where it doesn't require a system Xcode to match the other bling.fyi bots so that we're not starting yet another configuration skew.
dba@ clang-tot is a special case since it builds clang.  Can we xcode-select the hermetic sdk?

Comment 7 by d...@chromium.org, Feb 10 2017

I've forced the hermetic toolchain for now, but looks like gclient revert issues are happening (and seem unrelated).
That seems to have worked:
-- Found ld64 - /b/build/slave/clang-tot-device/build/src/build/ios_files/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

Comment 9 by thakis@chromium.org, Feb 10 2017

Status: Fixed (was: Assigned)
thanks!

Sign in to add a comment