Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RaspberryPi Pico & LLVM & Embedded Swift

RaspberryPi Pico & LLVM & Embedded Swift

yochidros

August 29, 2024
Tweet

More Decks by yochidros

Other Decks in Programming

Transcript

  1. PICO_DEFAULT_COMPILER="pico_arm_clang" PICO_COMPILER="pico_arm_clang" PICO_TOOLCHAIN_PATH="/Applications/LLVM-ET-Arm-18.1.3-Darwin- universal" CMAKE_TOOLCHAIN_FILE="ద੾ͳύε" $ TOOLCHAINS=$(SWIFT_TOOLCHAINS) \ PICO_SDK_PATH=“ద੾ͳύε" \

    PICO_DEFAULT_COMPILER=“pico_arm_clang" \ PICO_COMPILER="pico_arm_clang" \ PICO_TOOLCHAIN_PATH=$(PICO_TOOLCHAIN_PATH) \ CMAKE_TOOLCHAIN_FILE="ద੾ͳύε" PICO_BOARD=$(BOARD) \ cmake --build build
  2. ld.lld: error: unde f ined symbol: getentropy >>> referenced by

    stack_protector.c:28 (/workspace/workspace/llvm-embedded/llvm-18/ build-and-test/build/picolibc/armv6m_soft_nofp/src/picolibc_armv6m_soft_nofp- build/../../../../../src/picolibc/newlib/libc/ssp/stack_protector.c:28) >>> libc_ssp_stack_protector.c.o:(__stack_chk_init) in archive /Applications/LLVM-ET- Arm-18.1.3-Darwin-universal/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/lib/libc.a >>> referenced by stack_protector.c:0 (/workspace/workspace/llvm-embedded/llvm-18/ build-and-test/build/picolibc/armv6m_soft_nofp/src/picolibc_armv6m_soft_nofp- build/../../../../../src/picolibc/newlib/libc/ssp/stack_protector.c:0) >>> libc_ssp_stack_protector.c.o:(__stack_chk_init) in archive /Applications/LLVM-ET- Arm-18.1.3-Darwin-universal/lib/clang-runtimes/arm-none-eabi/armv6m_soft_nofp/lib/libc.a stack protectorͷγϯϘϧ͕Έ͔ͭΒͳ͍😇