Skip to content

Getting LLVM work on ARM #10150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
galak opened this issue Sep 21, 2018 · 3 comments
Closed

Getting LLVM work on ARM #10150

galak opened this issue Sep 21, 2018 · 3 comments
Assignees
Labels
area: ARM ARM (32-bit) Architecture area: Build System area: Toolchains Toolchains Feature A planned feature with a milestone priority: medium Medium impact/importance bug

Comments

@galak
Copy link
Collaborator

galak commented Sep 21, 2018

This issue is to track activity related to building Zephyr with LLVM for ARM architectures.

@galak galak added area: Build System area: ARM ARM (32-bit) Architecture area: Toolchains Toolchains labels Sep 21, 2018
@galak galak self-assigned this Sep 21, 2018
@MaureenHelm MaureenHelm added Feature A planned feature with a milestone priority: medium Medium impact/importance bug labels Sep 25, 2018
@nashif
Copy link
Member

nashif commented Feb 21, 2019

part of #3689

@nashif nashif closed this as completed Feb 21, 2019
@ochipara
Copy link

ochipara commented Aug 6, 2019

Is the LLVM/ARM support supposed to be functional? I am getting the following error when I try to crosscompile using llvm:

Zephyr version: 1.14.99
-- Found PythonInterp: /anaconda3/envs/zephyr/bin/python (found suitable version "3.7.3", minimum required is "3.4")
-- Selected BOARD nrf52840_pca10056
-- Found west: /anaconda3/envs/zephyr/bin/west (found suitable version "0.6.0", minimum required is "0.6.0")
-- Invalidating toolchain capability cache in /Users/ochipara/Library/Caches/zephyr
-- Loading /Users/ochipara/Working/embedded/zephyrproject/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056.dts as base
-- Overlaying /Users/ochipara/Working/embedded/zephyrproject/zephyr/dts/common/common.dts
Device tree configuration written to /Users/ochipara/Working/embedded/zephyrproject/zephyr/samples/hello_world/build/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in /Users/ochipara/Working/embedded/zephyrproject/zephyr/Kconfig
Loaded configuration '/Users/ochipara/Working/embedded/zephyrproject/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig'
Merged configuration '/Users/ochipara/Working/embedded/zephyrproject/zephyr/samples/hello_world/prj.conf'
Configuration saved to '/Users/ochipara/Working/embedded/zephyrproject/zephyr/samples/hello_world/build/zephyr/.config'
CMake Error at /Users/ochipara/Working/embedded/zephyrproject/zephyr/cmake/extensions.cmake:1346 (message):
No such file or directory: LIBGCC_FILE_NAME: 'libgcc.a'
Call Stack (most recent call first):
/Users/ochipara/Working/embedded/zephyrproject/zephyr/cmake/compiler/clang/target.cmake:45 (assert_exists)
/Users/ochipara/Working/embedded/zephyrproject/zephyr/cmake/target_toolchain.cmake:49 (include)
/Users/ochipara/Working/embedded/zephyrproject/zephyr/cmake/app/boilerplate.cmake:444 (include)
CMakeLists.txt:5 (include)

@galak
Copy link
Collaborator Author

galak commented Aug 6, 2019

Is the LLVM/ARM support supposed to be functional? I am getting the following error when I try to crosscompile using llvm:

Its not supported out of the box today. I think this issue was closed not because it was completed, but just tracking it in #3689.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM ARM (32-bit) Architecture area: Build System area: Toolchains Toolchains Feature A planned feature with a milestone priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants