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

Issue 700566 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 597106
Owner:
Last visit > 30 days ago
Closed: Mar 2017
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Can't run armv7a-cros-linux-gnueabi-clang standalone

Project Member Reported by bcf@chromium.org, Mar 10 2017

Issue description

$ ./prebuilt/toolchain/armv7a/bin/armv7a-cros-linux-gnueabi-clang                                                                                                                                                                                                        [15:10 0]
Traceback (most recent call last):
  File "/usr/local/google/home/bcf/src/master1/prebuilt/toolchain/armv7a/bin/../usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/gcc-bin/4.9.x/armv7a-cros-linux-gnueabi-clang", line 341, in <module>
    clang_cmdline += ['-B' + linker_path]
TypeError: cannot concatenate 'str' and 'NoneType' objects

In order to use armv7a-cros-linux-gnueabi-clang, it's directory must be in the $PATH and $CLANG must be set to armv7a/usr/bin/clang

armv7a-cros-linux-gnueabi-gcc can be run without these being set.

Can clang be changed to use these default values?
 
Owner: yunlian@chromium.org
Yunlian, I think you are already working on something like this.

Comment 2 by vapier@chromium.org, Mar 10 2017

Mergedinto: 597106
Status: Duplicate (was: Untriaged)

Sign in to add a comment