-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
area: Debuggingarea: ToolchainsToolchainsToolchainsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
There is a Toolchain issue with gnuarmemb 9.2 (current version) under Windows
To Reproduce
Steps to reproduce the behaviour:
Just follow getting started and 3rd party toolchain
I installed to c:/gnuarmemb but I don't think this should matter
Expected behavior
west -b nucleo_f401re samples\hello_world should work but I get error (see below)
Impact
Showstopper for new developers should be easy fixable for people with knowledge to cross compile on windows
Screenshots or console output
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
Build flags:
Id flags:
The output was:
1
c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
Build flags:
Id flags:
The output was:
1
c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
Environment (please complete the following information):
- Windows
- gnuarmemb 9.2
- v2.1.0
Metadata
Metadata
Assignees
Labels
area: Debuggingarea: ToolchainsToolchainsToolchainsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug