-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
esp32 fails to build with xtensa-esp32-elf-gcc: error: unrecognized command line option '-no-pie' #7246
Comments
doesn't work for me:
|
same xtensa SDK version as in the bug report |
actually this is failing with other toolchains as well, i.e. issm toolchain and xcc. |
"doesn't work for me:" Strange. It works on my machine. Could you try clearing the cache? rm -rf /home/inaky/.cache/zephyr Also, make sure you have a clean git status
|
@inakypg : Please dump the cache file (after clearing it and re-running CMake). And also place print(key) in cmake/extensions.cmake/zephyr_check_compiler_flag and a message("Cache miss") at the end of the function. |
When a bug in the caching mechanism is detected the cache format must be bumped to ensure that we no longer get a cache hit on old corrupted keys. This fixes zephyrproject-rtos#7246 when the cache is corrupted. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
The root cause for the failure after the fix has been applied has been identified. Another fix has been pushed to the same PR. |
When a bug in the caching mechanism is detected the cache format must be bumped to ensure that we no longer get a cache hit on old corrupted keys. This fixes #7246 when the cache is corrupted. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
FWIW (as it is closed :) works for me |
For however comes across this thread with the error |
bisect says after commit:
hello world (and multiple others) starting failing to build with ZEPHYR_TOOLCHAIN_VARIANT=espressif (v5.2.0), ESP_IDF rev v3.0-dev-388-gdc8c3389
The text was updated successfully, but these errors were encountered: