Replies: 5 comments 12 replies
-
Not a bug. You can't build AArch64 or x86 targets using the GNU Arm Embedded toolchain. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response, is not possible to build aarch64 target on windows10 ? what toolchain can be used to do so ? |
Beta Was this translation helpful? Give feedback.
-
May be I broke my WIN environment for ARM 64bit building whereas 32bit ARM works.... and MSYS (mingw) environment worked for both 32bit & 64bit ARM boards. |
Beta Was this translation helpful? Give feedback.
-
Any insights why I am unable to execute ARM cortex A53 Qemu ?
|
Beta Was this translation helpful? Give feedback.
-
@stephanosio Please, hel-me. I have this issue in 2023 with zephyr 1.13. I need very much zephyr.bin from this project: Original project Zephyr 1.13 (Which I ported to Zephyr 3.3 but not solved. Because this I stay in zephyr 1.13 https://stackoverflow.com/questions/77526652/rpmsg-lite-in-imx7d-pico-stop-in-while-0-rpmsg-lite-is-link-uprl-instance I stay trying this: source /home/neuberfran/diegosueiro3/zephyr/zephyr-env.sh export GCCARMEMB_TOOLCHAIN_PATH=/home/neuberfran/Downloads/gcc-arm-none-eabi-6_2-2016q4 export ZEPHYR_TOOLCHAIN_VARIANT=gccarmemb Not Work WORKS works No work WOrks Works make
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Trying to build zephyr in Windows10 and getting 'unrecognized argument in option '-mabi=lp64'' error.
west.exe build -p auto -b intel_socfpga_agilex_socdk samples\hello_world
west.exe build -p auto -b qemu_x86 samples\hello_world
https://docs.zephyrproject.org/latest/getting_started/index.html#install-dependencies
`C:\Users\titus\zephyrproject\zephyr>west.exe build -p auto -b intel_socfpga_agilex_socdk samples\hello_world
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): C:/Users/titus/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/titus/zephyrproject/zephyr/samples/hello_world
-- Zephyr version: 2.7.99 (C:/Users/titus/zephyrproject/zephyr), build: v2.7.99-3544-gf08c44def5fc
-- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
-- Board: intel_socfpga_agilex_socdk
-- Cache files will be written to: C:/Users/titus/zephyrproject/zephyr/.cache
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (C:/gnu_arm_embedded)
-- Found BOARD.dts: C:/Users/titus/zephyrproject/zephyr/boards/arm64/intel_socfpga_agilex_socdk/intel_socfpga_agilex_socdk.dts
-- Generated zephyr.dts: C:/Users/titus/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Users/titus/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/Users/titus/zephyrproject/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/Users/titus/zephyrproject/zephyr/build/zephyr/dts.cmake
Parsing C:/Users/titus/zephyrproject/zephyr/Kconfig
Loaded configuration 'C:/Users/titus/zephyrproject/zephyr/boards/arm64/intel_socfpga_agilex_socdk/intel_socfpga_agilex_socdk_defconfig'
Merged configuration 'C:/Users/titus/zephyrproject/zephyr/samples/hello_world/prj.conf'
Configuration saved to 'C:/Users/titus/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to 'C:/Users/titus/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'
arm-none-eabi-gcc.exe: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt
arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'
arm-none-eabi-gcc.exe: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is GNU 10.3.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/gnu_arm_embedded/bin/arm-none-eabi-gcc.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/titus/zephyrproject/zephyr/build
-- west build: building application
[5/131] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj
C:\gnu_arm_embedded\bin\arm-none-eabi-gcc.exe -DBUILD_VERSION=v2.7.99-3544-gf08c44def5fc -DKERNEL -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -IC:/Users/titus/zephyrproject/zephyr/kernel/include -IC:/Users/titus/zephyrproject/zephyr/arch/arm64/include -IC:/Users/titus/zephyrproject/zephyr/include -IC:/Users/titus/zephyrproject/zephyr/build/zephyr/include/generated -IC:/Users/titus/zephyrproject/zephyr/soc/arm64/intel_socfpga/agilex -IC:/Users/titus/zephyrproject/zephyr/soc/arm64/intel_socfpga/agilex/. -IC:/Users/titus/zephyrproject/zephyr/soc/arm64/intel_socfpga/common/. -IC:/Users/titus/zephyrproject/zephyr/soc/arm64/intel_socfpga/common -isystem C:/Users/titus/zephyrproject/zephyr/lib/libc/minimal/include -isystem c:/gnu_arm_embedded/bin/../lib/gcc/arm-none-eabi/10.3.1/include -isystem c:/gnu_arm_embedded/bin/../lib/gcc/arm-none-eabi/10.3.1/include-fixed -Os -imacros C:/Users/titus/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-a53 -mabi=lp64 -imacros C:/Users/titus/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/Users/titus/zephyrproject/zephyr/samples/hello_world=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/titus/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/titus/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj -MF zephyr\CMakeFiles\offsets.dir\arch\arm64\core\offsets\offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm64/core/offsets/offsets.c.obj -c C:/Users/titus/zephyrproject/zephyr/arch/arm64/core/offsets/offsets.c
arm-none-eabi-gcc.exe: error: unrecognized argument in option '-mabi=lp64'
arm-none-eabi-gcc.exe: note: valid arguments to '-mabi=' are: aapcs aapcs-linux apcs-gnu atpcs iwmmxt
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\Users\titus\zephyrproject\zephyr\build'
C:\Users\titus\zephyrproject\zephyr>unrecognized argument in option '-mabi=lp64
C:\Users\titus\zephyrproject\zephyr>`
Beta Was this translation helpful? Give feedback.
All reactions