Skip to content

MBED-OS 5.10 OOB - export to make_armc5, error in linking phase #8101

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

Closed
zvikas opened this issue Sep 12, 2018 · 6 comments
Closed

MBED-OS 5.10 OOB - export to make_armc5, error in linking phase #8101

zvikas opened this issue Sep 12, 2018 · 6 comments

Comments

@zvikas
Copy link

zvikas commented Sep 12, 2018

I am using https://github.com/ARMmbed/mbed-os-example-filesystem example and testing export on Windows OS (windows cmdline).
My export command: mbed export -i make_armc5 -m K64F
The export finished and I use "make" command for building (with make clean and without) and got the following error in linking (compilation finished):

make (e=87): The parameter is incorrect.
C:/work/oob5.10/mbed-os-example-filesystem/Makefile:1229: recipe for target 'mbed-os-example-filesystem.elf' failed
make[1]: *** [mbed-os-example-filesystem.elf] Error 87
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2

complete log:
error.txt

@zvikas
Copy link
Author

zvikas commented Sep 12, 2018

the same issue occurs when exporting to make_iar

@zvikas
Copy link
Author

zvikas commented Sep 12, 2018

Tested on both 5.10 OOB rc1 and rc2 branch/tags
Searched the error and found that it maybe related to windows command line (long command not supported). This might be a known issue already.

@ciarmcom
Copy link
Member

ARM Internal Ref: MBOTRIAGE-1641

@theotherjimmy
Copy link
Contributor

@zvikas You got it: it's command line length related. There is no workaround at this time, and It's a documented issue.

@JojoS62
Copy link
Contributor

JojoS62 commented Sep 13, 2018

@theotherjimmy haven't you tried to do a workaround with response files for the linker?
https://gcc.gnu.org/wiki/Response_Files
This problem affects also the IDE exports, but I'm afraid its more dificult to solve there because the makefile is generated by the IDE.

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 19, 2018

Duplicate #6335 , please refer to this issue. We will close this one.

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

No branches or pull requests

5 participants