-
Notifications
You must be signed in to change notification settings - Fork 64
[MacOS] Make qemu target failed on MacOS #1715
Comments
Fixes intel#1714 intel#1715 Signed-off-by: Jimmy Huang <[email protected]>
@qiaojingx I've updated the mac instructions for qemu, see #1780, can you try to see if you can get it to build following them? I've ran into many issues on my mac running Sierra, so if you are using a different OS like High Sierra, you may or may not run into the same issues, I've tried to document the work-arounds I did and I am planning to file a bug on Zephyr, you can comment on the patch too if you see any issues so I can update it accordingly. |
Fixes intel#1715 Signed-off-by: Jimmy Huang <[email protected]>
Fixes intel#1714, intel#1715 Signed-off-by: Jimmy Huang <[email protected]>
Fixes intel#1714, intel#1715 Signed-off-by: Jimmy Huang <[email protected]>
Verified with new instructions(#1780) for qemu, I can build qemu target successfully. For arduino 101 target, and i met the below issue by following new instructions. Do you have any work-around for this?
|
@xiaoyu3x No I don't, did you build with iamcu.config instead of i586.config? Basically, we are just following the instruction here http://docs.zephyrproject.org/getting_started/installation_mac.html, if we can't build native Zephyr apps for A101 with the instructions, we need to file bug on Zephyr so they can fix it. |
It turns out that the error you are seeing is because it's compiling the arduino_101 with the ARC compiler, not with the crosstool-ng one, since our Makefile builds both ARC and x86 at the same time. But I tried building just x86 by unsetting the CROSS_TOOL, then I am getting linker error with gcc, i think it should used clang instead of gcc. So I filed a bug |
Thanks for trying this out. Can you add the issue (zephyrproject-rtos/zephyr#5807) to arduino 101 building in new instructions(#1780). Then we can close #1715 & #1714 after #1780 merged. |
Yeah, I updated my PR to add the zephyr issue. |
Fixes #1714, #1715 Signed-off-by: Jimmy Huang <[email protected]>
Verified with commit 0c0af9b. Qemu target can be built by following new instructions. Close |
Description
Building qemu target on Mac failed after zephyr updated.
Test Code
All samples and tests
Steps to Reproduction
Actual Result
i586-zephyr-elfiamcu
noti586-pc-elf
.I have no idea how to build i586-zephyr-elfiamcu via
ct-ng build
.i586-zephyr-elfiamcu
toi586-pc-elf
indeps/zephyr/cmake/toolchain-xtools.cmake
, another error met:Expected Result
Building successfully.
Test Builds
Additional Information
The text was updated successfully, but these errors were encountered: