diff options
author | Changqing Li <changqing.li@windriver.com> | 2021-12-07 05:04:15 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-12-09 08:54:15 -0800 |
commit | edca114de1c04bdce4fe6b71ab42f4b0aa2e88e7 (patch) | |
tree | 2fef6bd1bc57c1557bbd8760ad4ebcc5326d5e61 /classes | |
parent | 7294d0ec96f7a8396632b7153c8a76c58b142412 (diff) | |
download | meta-clang-edca114de1c04bdce4fe6b71ab42f4b0aa2e88e7.tar.gz |
clang: for x86_64, correct GCC install search path for OpenEmbedded Host
Build on OpenEmbedded Host, compiler-rt-native do_configure failed with
following error:
compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang -target x86_64-linux
-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
-O2 -pipe
/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
| /build/tmp-glibc/hosttools/ld: cannot find crtbeginS.o: No such file or directory
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Since OpenEmbedded Host's gcc install path is different with clang's
default search form, patch for OpenEmbedded Host's gcc library install
path.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions