A compile-time error when building dev-util/crash. It looks like it is trying to compile an x86_64 module in an i686 environment. gcc -O2 -march=i686 -pipe -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o amd64-linux-nat.o -MT amd64-linux-nat.o -MMD -MP -MF .deps/amd64-linux-nat.Tpo amd64-linux-nat.c amd64-linux-nat.c:102:3: error: ‘RAX’ undeclared here (not in a function) RAX * 8, RCX * 8, /* %eax, %ecx */ ^~~ amd64-linux-nat.c:102:12: error: ‘RCX’ undeclared here (not in a function) RAX * 8, RCX * 8, /* %eax, %ecx */ ^~~ amd64-linux-nat.c:103:3: error: ‘RDX’ undeclared here (not in a function) RDX * 8, RBX * 8, /* %edx, %ebx */ ^~~ amd64-linux-nat.c:103:12: error: ‘RBX’ undeclared here (not in a function) RDX * 8, RBX * 8, /* %edx, %ebx */ ^~~ amd64-linux-nat.c:104:3: error: ‘RSP’ undeclared here (not in a function) RSP * 8, RBP * 8, /* %esp, %ebp */ ^~~ amd64-linux-nat.c:104:12: error: ‘RBP’ undeclared here (not in a function) RSP * 8, RBP * 8, /* %esp, %ebp */ ^~~ amd64-linux-nat.c:105:3: error: ‘RSI’ undeclared here (not in a function) RSI * 8, RDI * 8, /* %esi, %edi */ ^~~ amd64-linux-nat.c:105:12: error: ‘RDI’ undeclared here (not in a function) RSI * 8, RDI * 8, /* %esi, %edi */ ^~~ amd64-linux-nat.c:106:3: error: ‘RIP’ undeclared here (not in a function) RIP * 8, EFLAGS * 8, /* %eip, %eflags */ ^~~ amd64-linux-nat.c:106:12: error: ‘EFLAGS’ undeclared here (not in a function) RIP * 8, EFLAGS * 8, /* %eip, %eflags */ ^~~~~~ amd64-linux-nat.c:114:3: error: ‘ORIG_RAX’ undeclared here (not in a function) ORIG_RAX * 8 /* "orig_eax" */ ^~~~~~~~ In file included from /usr/include/bits/sigstack.h:27:0, from /usr/include/signal.h:322, from linux-nat.h:22, from amd64-linux-nat.c:26: amd64-linux-nat.c: In function ‘amd64_linux_read_description’: amd64-linux-nat.c:1067:9: error: ‘struct user_regs_struct’ has no member named ‘cs’; did you mean ‘xc’? offsetof (struct user_regs_struct, cs), 0); ^ amd64-linux-nat.c:1076:9: error: ‘struct user_regs_struct’ has no member named ‘ds’; did you mean ‘xd’? offsetof (struct user_regs_struct, ds), 0); ^ make[4]: *** [Makefile:980: amd64-linux-nat.o] Error 1 make[3]: *** [Makefile:8265: all-gdb] Error 2 make[2]: *** [Makefile:835: all] Error 2 crash build failed
Created attachment 504290 [details] emerge --info output
Closing ticket. You cannot cross-compile this with a 32 bit userland but 64 bit kernel the way the configuration scripts are written.