Skip to content
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

Linker having issues with non English characters in path to link script #519

Open
1 task done
ellensp opened this issue Mar 30, 2021 · 2 comments
Open
1 task done

Comments

@ellensp
Copy link

ellensp commented Mar 30, 2021

  • Development Platform or Board.

Configuration

Operating system:
Windows 10

PlatformIO Version
PlatformIO Core, version 5.1.1

Description of problem

Fails to link. Error "Cannot open linker script file"
Path contains non English characters. Simply renaming directory gets around issue, but should not be required.
Path contains ALT+162 ó, seems to break things.
Second report, this time user used a é

Steps to Reproduce

  1. Standard Marlin build https://github.com/MarlinFirmware/Marlin/archive/refs/heads/bugfix-2.0.x.zip
  2. extract to directory with non English characters
  3. use config files from https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.0.x/config/examples/Creality/Ender-3%20V2
  4. Set default_envs = STM32F103RET6_creality in platfomio.ini
  5. build

Actual Results

Example uses Marlin auto build, but does same with standard build button.
error

Expected Results

Linking to be successful

If problems with PlatformIO Build System:

The content of platformio.ini:
same as https://github.com/MarlinFirmware/Marlin/blob/bugfix-2.0.x/platformio.ini with step 4 above applied.

@maxgerhardt
Copy link
Contributor

maxgerhardt commented Apr 2, 2021

The error message comes from the arm-none-eabi's ld linker component -- I'm not sure if there is anything one can do for fixing that here. (If it's not an issue with PlatformIO encoding it wrongly).

What's the output of pio system info?

@ivankravets ivankravets transferred this issue from platformio/platformio-core Apr 10, 2021
@tpruvot
Copy link

tpruvot commented Nov 4, 2021

same happen with french Downloads folder named "Téléchargements"

image

to note: seems specific to lib maple environments (STM32F1)

well if you have this problem, just move the project in a folder with a simple charset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants