heneault / yocto-pitrezor

raspberry pi zero platform to run the trezor port pitrezor as a bitcoin wallet
https://www.pitrezor.com
MIT License
116 stars 30 forks source link

Build error #13

Closed filipenobrerc closed 3 years ago

filipenobrerc commented 3 years ago

Unable to build sudo ./build-pitrezor.sh 1.10.0.0 raspberrypi0-wifi on MacOS Catalina.

Error: {standard input}: Assembler messages: {standard input}:26318: Warning: end of file not at end of a line; newline inserted {standard input}:27175: Error: unknown pseudo-op: `.cfi_' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[4]: *** [Makefile:1137: powerpc.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/home/build/yocto-pitrezor/build/tmp/work/x86_64-linux/binutils-cross-arm/2.34-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold' make[3]: *** [Makefile:1156: all-recursive] Error 1 make[3]: Leaving directory '/home/build/yocto-pitrezor/build/tmp/work/x86_64-linux/binutils-cross-arm/2.34-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold' make[2]: *** [Makefile:896: all] Error 2 make[2]: Leaving directory '/home/build/yocto-pitrezor/build/tmp/work/x86_64-linux/binutils-cross-arm/2.34-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi/gold' make[1]: *** [Makefile:6102: all-gold] Error 2 make[1]: Leaving directory '/home/build/yocto-pitrezor/build/tmp/work/x86_64-linux/binutils-cross-arm/2.34-r0/git/build.x86_64-linux.arm-poky-linux-gnueabi' make: *** [Makefile:853: all] Error 2 WARNING: exit code 1 from a shell command.

ERROR: Task (/home/build/yocto-pitrezor/build/../poky/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 436 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/build/yocto-pitrezor/build/../poky/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_compile

heneault commented 3 years ago

can you try in a linux vm running on mac ?

filipenobrerc commented 3 years ago

Sure. I will try that. Thank you.

filipenobrerc commented 3 years ago

Yes I will try that.

Also, can you please tell me what modifications I need to do in order to build trezor T firmware instead?

Thank you.

On 7 Jun 2021, at 02:24, Yannick Heneault @.***> wrote:

can you try in a linux vm running on mac ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/heneault/yocto-pitrezor/issues/13#issuecomment-855513838, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPRISZM3BARPHE6VK5WWO3TRQNWJANCNFSM455H4TPA.