-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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] Make error #5458
Labels
Comments
SebastianBoe
added
area: Build System
bug
The issue is a bug, or the PR is fixing a bug
labels
Dec 21, 2017
Regression from dbdd722. |
SebastianBoe
added a commit
to SebastianBoe/zephyr
that referenced
this issue
Dec 21, 2017
-Wl,--print-memory-usage is a relatively new LD feature (2015) and is not supported by the espressif toolchain. Unfortunately the toolchain compatibility test was broken as it was not using the flag when linking. The root cause lies in how we test LD compatibility and this same fix must be applied again in e.g. target_ld_options(). This patch fixes zephyrproject-rtos#5458 Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
@SebastianBoe thanks, it works. |
nashif
pushed a commit
that referenced
this issue
Dec 21, 2017
-Wl,--print-memory-usage is a relatively new LD feature (2015) and is not supported by the espressif toolchain. Unfortunately the toolchain compatibility test was broken as it was not using the flag when linking. The root cause lies in how we test LD compatibility and this same fix must be applied again in e.g. target_ld_options(). This patch fixes #5458 Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lpereira
Building hello_world sample, for example, I got this error:
xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: unrecognized option '--print-memory-usage'
I've been using this toolchain version 1.22.0-73. And it worked until my last git rebase.
The text was updated successfully, but these errors were encountered: