Skip to content

Instantly share code, notes, and snippets.

@zealws
Last active August 29, 2015 14:06
Show Gist options
  • Save zealws/4c8351a3f3361dd4b317 to your computer and use it in GitHub Desktop.
Save zealws/4c8351a3f3361dd4b317 to your computer and use it in GitHub Desktop.
arch linux cross-mipsel-linux-gnu-gcc compile failure
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include -I../.././gcc/../libcpp/include -D_FORTIFY_SOURCE=2 \
-o build/genmddeps.o ../.././gcc/genmddeps.c
{standard input}: Assembler messages:
{standard input}:11: Error: unrecognized opcode `pushq %rbx'
{standard input}:14: Error: unrecognized opcode `movq %rdi,%rbx'
{standard input}:15: Error: unrecognized opcode `movl $16,%edi'
{standard input}:16: Error: unrecognized opcode `call xmalloc'
{standard input}:17: Error: unrecognized opcode `movq _ZL4last(%rip),%rdx'
{standard input}:18: Error: unrecognized opcode `movq %rbx,8(%rax)'
{standard input}:19: Error: unrecognized opcode `movq %rax,_ZL4last(%rip)'
{standard input}:20: Error: unrecognized opcode `movq %rax,(%rdx)'
{standard input}:21: Error: unrecognized opcode `popq %rbx'
{standard input}:23: Error: unrecognized opcode `ret'
{standard input}:50: Error: unrecognized opcode `pushq %rbx'
{standard input}:53: Error: unrecognized opcode `xorl %edx,%edx'
{standard input}:54: Error: unrecognized opcode `xorl %ecx,%ecx'
{standard input}:55: Error: unrecognized opcode `movq $.LC1,progname(%rip)'
{standard input}:56: Error: unrecognized opcode `movq $_ZL11add_filedepPKc,include_callback(%rip)'
{standard input}:57: Error: unrecognized opcode `call _Z13read_md_filesiPPcPFbPKcEPFviS2_E'
{standard input}:58: Error: unrecognized opcode `testb %al,%al'
{standard input}:59: Error: unrecognized opcode `movl $1,%edx'
{standard input}:60: Error: unrecognized opcode `jne .L24'
{standard input}:62: Error: unrecognized opcode `movl %edx,%eax'
{standard input}:63: Error: unrecognized opcode `popq %rbx'
{standard input}:66: Error: unrecognized opcode `ret'
{standard input}:69: Error: unrecognized opcode `movq _ZL4last(%rip),%rax'
{standard input}:70: Error: unrecognized opcode `movl $13,%edx'
{standard input}:71: Error: unrecognized opcode `movl $1,%esi'
{standard input}:72: Error: unrecognized opcode `movl $.LC2,%edi'
{standard input}:73: Error: unrecognized opcode `movq $0,(%rax)'
{standard input}:74: Error: unrecognized opcode `movq stdout(%rip),%rcx'
{standard input}:75: Error: unrecognized opcode `call fwrite_unlocked'
{standard input}:76: Error: unrecognized opcode `movq _ZL4deps(%rip),%rbx'
{standard input}:77: Error: unrecognized opcode `testq %rbx,%rbx'
{standard input}:78: Error: unrecognized opcode `je .L9'
{standard input}:82: Error: unrecognized opcode `movq 8(%rbx),%rdx'
{standard input}:83: Error: unrecognized opcode `xorl %eax,%eax'
{standard input}:84: Error: unrecognized opcode `movl $.LC3,%esi'
{standard input}:85: Error: unrecognized opcode `movl $1,%edi'
{standard input}:86: Error: unrecognized opcode `call __printf_chk'
{standard input}:87: Error: unrecognized opcode `movq (%rbx),%rbx'
{standard input}:88: Error: unrecognized opcode `testq %rbx,%rbx'
{standard input}:89: Error: unrecognized opcode `jne .L16'
{standard input}:91: Error: unrecognized opcode `movq stdout(%rip),%rdi'
{standard input}:92: Error: unrecognized opcode `movq 40(%rdi),%rax'
{standard input}:93: Error: unrecognized opcode `cmpq 48(%rdi),%rax'
{standard input}:94: Error: unrecognized opcode `jae .L25'
{standard input}:95: Error: unrecognized opcode `leaq 1(%rax),%rdx'
{standard input}:96: Error: unrecognized opcode `movq %rdx,40(%rdi)'
{standard input}:97: Error: unrecognized opcode `movb $10,(%rax)'
{standard input}:99: Error: unrecognized opcode `movq _ZL4deps(%rip),%rbx'
{standard input}:100: Error: unrecognized opcode `testq %rbx,%rbx'
{standard input}:101: Error: unrecognized opcode `je .L13'
{standard input}:105: Error: unrecognized opcode `movq 8(%rbx),%rdx'
{standard input}:106: Error: unrecognized opcode `xorl %eax,%eax'
{standard input}:107: Error: unrecognized opcode `movl $.LC4,%esi'
{standard input}:108: Error: unrecognized opcode `movl $1,%edi'
{standard input}:109: Error: unrecognized opcode `call __printf_chk'
{standard input}:110: Error: unrecognized opcode `movq (%rbx),%rbx'
{standard input}:111: Error: unrecognized opcode `testq %rbx,%rbx'
{standard input}:112: Error: unrecognized opcode `jne .L15'
{standard input}:114: Error: unrecognized opcode `movq stdout(%rip),%rdi'
{standard input}:115: Error: unrecognized opcode `call fflush_unlocked'
{standard input}:116: Error: unrecognized opcode `movq stdout(%rip),%rax'
{standard input}:117: Error: unrecognized opcode `movl (%rax),%edx'
{standard input}:118: Error: unrecognized opcode `shrl $5,%edx'
{standard input}:119: Error: unrecognized opcode `andl $1,%edx'
{standard input}:120: Error: unrecognized opcode `jmp .L4'
{standard input}:122: Error: unrecognized opcode `movl $10,%esi'
{standard input}:123: Error: unrecognized opcode `call __overflow'
{standard input}:124: Error: unrecognized opcode `jmp .L10'
Makefile:2364: recipe for target 'build/genmddeps.o' failed
make[1]: *** [build/genmddeps.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment