Skip to content

Commit

Permalink
xtensa-esp32s3-linux-uclibcfdpic: update settings
Browse files Browse the repository at this point in the history
- disable default PIE because that setting subtly breaks the uclibc
  build: instead of compiling sources for the library it compiles them
  for the PIE, making all references to locally-defined global symbols
  bind locally. This generates different code that may not work
  correctly when linked into the shared library.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
jcmvbkbc committed Sep 5, 2023
1 parent 7f7e102 commit c29b568
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion samples/xtensa-esp32s3-linux-uclibcfdpic/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ CT_GCC_SRC_DEVEL=y
CT_GCC_DEVEL_URL="/~https://github.com/jcmvbkbc/gcc-xtensa.git"
CT_GCC_DEVEL_BRANCH="xtensa-14-fdpic"
# CT_CC_GCC_CONFIG_TLS is not set
CT_CC_GCC_ENABLE_DEFAULT_PIE=y
# CT_CC_GCC_SJLJ_EXCEPTIONS is not set

0 comments on commit c29b568

Please sign in to comment.