Skip to content

Conversation

@rgrr
Copy link
Contributor

@rgrr rgrr commented Oct 15, 2025

These are corrections to the SDK to make my project compile with clang/ATfE 21.1.1. This should be generic.

  • using clang multilib/sysroot concept which makes life much easier
  • corrected llvm_libc files to make it compile and run with 21.1.1

Final result is:

#       gcc                14.2.1
#              llvm_libc -  FAIL      (mixture of newlib/llvm_libc)
#              picolibc  -  FAIL      (FDEV_SETUP_STREAM is unknown, mixture if newlib/picolibc)
#              newlib    -   OK       (same as -DPICO_CLIB=)

#       clang              19.1.5   21.1.1
#              llvm_libc -  FAIL      OK       (19.1.5: llvm_libc has some incompatibilities)
#              picolibc  -   OK       OK
#              newlib    -   OK       OK       (same as -DPICO_CLIB=)

"Issue" can be found in #2701.

Closes #2701

@lurch
Copy link
Contributor

lurch commented Oct 15, 2025

ping @armandomontanez in case he has any comments 🙂

@lurch lurch added the clang label Oct 15, 2025
@rgrr rgrr marked this pull request as draft October 28, 2025 06:52
@rgrr
Copy link
Contributor Author

rgrr commented Oct 28, 2025

Made it draft, because I want to change to multilib

@rgrr rgrr changed the title Clang/ATfE 21.1.1 fixes Oct 30, 2025
@rgrr rgrr marked this pull request as ready for review October 30, 2025 06:39
@kilograham kilograham self-assigned this Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants