Created attachment 597534 [details] glibc.log.xz crossdev could not emerge glibc for armv7-unknown-linux-gnueabihf toolchain because of a build error "Error: attempt to use an ARM instruction on a Thumb-only processor". I've tried to compile both stable and unstable versions crossdev -t armv7-unknown-linux-gnueabihf --ex-gdb crossdev --stable -t armv7-unknown-linux-gnueabihf --ex-gdb
Created attachment 597536 [details] info.log
Created attachment 597538 [details] glibc-config.logs.tar.xz
Which CPU you are targeting? Looking at gcc's CPU definitions: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/arm/arm-cpus.in#L245 - armv7-unknown-linux-gnueabihf is a thumb-only ISA (thumb2) - armv7a-unknown-linux-gnueabihf is both a thumb (thumb2) and non-thumb (notm) ISAs If you plan to run linux you probably need 'armv7a-unknown-linux-gnueabihf'.
(In reply to Sergei Trofimovich from comment #3) > Which CPU you are targeting? Looking at gcc's CPU definitions: > > https://github.com/gcc-mirror/gcc/blob/master/gcc/config/arm/arm-cpus.in#L245 > > - armv7-unknown-linux-gnueabihf is a thumb-only ISA (thumb2) > - armv7a-unknown-linux-gnueabihf is both a thumb (thumb2) and non-thumb > (notm) ISAs > > If you plan to run linux you probably need 'armv7a-unknown-linux-gnueabihf'. Exactly! I didn't notice I missed the 'a' letter, it's just a typo, damn it. It's the only my fault, thank you! How can I discard the bug?