<div dir="ltr">Background:<div><br></div><div><a href="https://github.com/im-tomu/tomu-quickstart/issues/13">https://github.com/im-tomu/tomu-quickstart/issues/13</a><br></div><div><a href="https://bugs.launchpad.net/ubuntu/+source/newlib/+bug/1767223">https://bugs.launchpad.net/ubuntu/+source/newlib/+bug/1767223</a><br></div><div><br></div><div>If you try building anything using chopstx, including gnuk and neug, using the Ubuntu 18.04 "gcc-arm-none-eabi" compiler, or the libnewlib-arm-none-eabi library, the resulting binaries won't work. You'll get as far as flashing the image to your device and plugging it into USB, and then you'll get all sorts of errors in dmesg like these:</div><div><br></div><div><div>[80745.158745] usb 1-4.4: new full-speed USB device number 46 using xhci_hcd</div><div>[80745.158892] usb 1-4.4: Device not responding to setup address.</div><div>[80745.366901] usb 1-4.4: Device not responding to setup address.</div><div>[80745.574730] usb 1-4.4: device not accepting address 46, error -71</div><div>[80745.575119] usb 1-4-port4: unable to enumerate USB device</div></div><div><br></div><div>Use the arm-provided toolchain instead (<a href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads">https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads</a>) and you'll have a better outcome. This has been broken in the Ubuntu distribution for more than 6 months (maybe upstream Debian as well). I'm sure it would be very frustrating for someone who was following this project's build instructions carefully, yet still ended up with nothing working.</div><div><br></div><div>I hope this PSA saves you from that frustration.</div></div>