-
-
Notifications
You must be signed in to change notification settings - Fork 212
Quote linker script path in compilation recipe #363
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
Conversation
An unquoted path to the linker script caused compilation to fail when the temporary build folder path contained spaces: ``` $ arduino-cli compile --fqbn arduino:mbed_portenta:envie_m7 --build-path "/tmp/some path with spaces" arm-none-eabi-g++: error: path: No such file or directory arm-none-eabi-g++: error: with: No such file or directory arm-none-eabi-g++: error: spaces/linker_script.ld: No such file or directory ```
Memory usage change @ 07749a4
Click for full report table
Click for full report CSV
|
Thanks a lot for spotting this @per1234 ! Do you think it makes sense to make a new release immediately? How many users do you think are currently affected? |
A search for the error message only returns one report. I believe @jhansson-ard was also affected. So that's a total of two affected users that I am aware of, over the course of the ~7 days since it was released. |
I can confirm the fix is working on windows |
An unquoted path to the linker script caused compilation to fail when the temporary build folder path contained spaces:
The above demo uses Arduino CLI as an easy way to guarantee the build path has spaces, but this bug affects users of all Arduino development software with a space in their temporary folder path (e.g., Windows users with a space in their user name) under normal conditions.