radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.2k stars 2.96k forks source link

With latest commit, fail to compile #11031

Closed yssource closed 6 years ago

yssource commented 6 years ago
CC demangler.c
CC rtti_itanium.c
CC microsoft_demangle.c
gmake[3]: *** No rule to make target '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/../../include/dis-asm.h', needed by '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/xtensa-isa.o'.  Stop.
gmake[3]: *** Waiting for unfinished jobs....
CC xtensa-modules.c
CC objc.c
CC cxx.c
CC msvc.c
CC swift.c
CC swift-sd.c
CC dlang.c
CC pdb_downloader.c
CC omap.c
CC stream_pe.c
CC gdata.c
CC fpo.c
CC dbi.c
CC tpi.c
CC stream_file.c
CC pdb.c
LD libr_bin.so
gmake[2]: *** [Makefile:119: anal] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile:32: all] Error 2
gmake: *** [Makefile:61: all] Error 2
Oops
radare commented 6 years ago

i dont see any error here. please build with -j1 and paste the error that is making this to fail.

also, are you building from git? or last release?

On 11 Aug 2018, at 19:06, jimmy.m.gong notifications@github.com wrote:

CC demangler.c CC rtti_itanium.c CC microsoft_demangle.c gmake[3]: No rule to make target '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/../../include/dis-asm.h', needed by '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/xtensa-isa.o'. Stop. gmake[3]: Waiting for unfinished jobs.... CC xtensa-modules.c CC objc.c CC cxx.c CC msvc.c CC swift.c CC swift-sd.c CC dlang.c CC pdb_downloader.c CC omap.c CC stream_pe.c CC gdata.c CC fpo.c CC dbi.c CC tpi.c CC stream_file.c CC pdb.c LD libr_bin.so gmake[2]: [Makefile:119: anal] Error 2 gmake[2]: Waiting for unfinished jobs.... gmake[1]: [Makefile:32: all] Error 2 gmake: [Makefile:61: all] Error 2 Oops — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/radare/radare2/issues/11031, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lgjEUxh2FIZ6WUc0xkFns63JSiLmks5uPw8igaJpZM4V5PRj.

yssource commented 6 years ago
4.17.12-200.fc28.x86_64
gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
g++ (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
GNU Make 4.2.1
Built for x86_64-redhat-linux-gnu
git clone https://github.com/radare/radare2
cd radare2
MAKE_JOBS=1 sys/user.sh # sys/install.sh 
yssource commented 6 years ago

export USE_R2_CAPSTONE=

Removing MCInst.d
Removing MCInst.o
Removing MCInstrDesc.d
Removing MCInstrDesc.o
Removing MCRegisterInfo.d
Removing MCRegisterInfo.o
Removing SStream.d
Removing SStream.o
Removing arch/AArch64/AArch64BaseInfo.d
Removing arch/AArch64/AArch64BaseInfo.o
Removing arch/AArch64/AArch64Disassembler.d
Removing arch/AArch64/AArch64Disassembler.o
Removing arch/AArch64/AArch64InstPrinter.d
Removing arch/AArch64/AArch64InstPrinter.o
Removing arch/AArch64/AArch64Mapping.d
Removing arch/AArch64/AArch64Mapping.o
Removing arch/AArch64/AArch64Module.d
Removing arch/AArch64/AArch64Module.o
Removing arch/ARM/ARMDisassembler.d
Removing arch/ARM/ARMDisassembler.o
Removing arch/ARM/ARMInstPrinter.d
Removing arch/ARM/ARMInstPrinter.o
Removing arch/ARM/ARMMapping.d
Removing arch/ARM/ARMMapping.o
Removing arch/ARM/ARMModule.d
Removing arch/ARM/ARMModule.o
Removing arch/EVM/EVMDisassembler.d
Removing arch/EVM/EVMDisassembler.o
Removing arch/EVM/EVMInstPrinter.d
Removing arch/EVM/EVMInstPrinter.o
Removing arch/EVM/EVMMapping.d
Removing arch/EVM/EVMMapping.o
Removing arch/EVM/EVMModule.d
Removing arch/EVM/EVMModule.o
Removing arch/M680X/M680XDisassembler.d
Removing arch/M680X/M680XDisassembler.o
Removing arch/M680X/M680XInstPrinter.d
Removing arch/M680X/M680XInstPrinter.o
Removing arch/M680X/M680XModule.d
Removing arch/M680X/M680XModule.o
Removing arch/M68K/M68KDisassembler.d
Removing arch/M68K/M68KDisassembler.o
Removing arch/M68K/M68KInstPrinter.d
Removing arch/M68K/M68KInstPrinter.o
Removing arch/M68K/M68KModule.d
Removing arch/M68K/M68KModule.o
Removing arch/Mips/MipsDisassembler.d
Removing arch/Mips/MipsDisassembler.o
Removing arch/Mips/MipsInstPrinter.d
Removing arch/Mips/MipsInstPrinter.o
Removing arch/Mips/MipsMapping.d
Removing arch/Mips/MipsMapping.o
Removing arch/Mips/MipsModule.d
Removing arch/Mips/MipsModule.o
Removing arch/PowerPC/PPCDisassembler.d
Removing arch/PowerPC/PPCDisassembler.o
Removing arch/PowerPC/PPCInstPrinter.d
Removing arch/PowerPC/PPCInstPrinter.o
Removing arch/PowerPC/PPCMapping.d
Removing arch/PowerPC/PPCMapping.o
Removing arch/PowerPC/PPCModule.d
Removing arch/PowerPC/PPCModule.o
Removing arch/Sparc/SparcDisassembler.d
Removing arch/Sparc/SparcDisassembler.o
Removing arch/Sparc/SparcInstPrinter.d
Removing arch/Sparc/SparcInstPrinter.o
Removing arch/Sparc/SparcMapping.d
Removing arch/Sparc/SparcMapping.o
Removing arch/Sparc/SparcModule.d
Removing arch/Sparc/SparcModule.o
Removing arch/SystemZ/SystemZDisassembler.d
Removing arch/SystemZ/SystemZDisassembler.o
Removing arch/SystemZ/SystemZInstPrinter.d
Removing arch/SystemZ/SystemZInstPrinter.o
Removing arch/SystemZ/SystemZMCTargetDesc.d
Removing arch/SystemZ/SystemZMCTargetDesc.o
Removing arch/SystemZ/SystemZMapping.d
Removing arch/SystemZ/SystemZMapping.o
Removing arch/SystemZ/SystemZModule.d
Removing arch/SystemZ/SystemZModule.o
Removing arch/TMS320C64x/TMS320C64xDisassembler.d
Removing arch/TMS320C64x/TMS320C64xDisassembler.o
Removing arch/TMS320C64x/TMS320C64xInstPrinter.d
Removing arch/TMS320C64x/TMS320C64xInstPrinter.o
Removing arch/TMS320C64x/TMS320C64xMapping.d
Removing arch/TMS320C64x/TMS320C64xMapping.o
Removing arch/TMS320C64x/TMS320C64xModule.d
Removing arch/TMS320C64x/TMS320C64xModule.o
Removing arch/X86/X86ATTInstPrinter.c.orig
Removing arch/X86/X86ATTInstPrinter.d
Removing arch/X86/X86ATTInstPrinter.o
Removing arch/X86/X86Disassembler.d
Removing arch/X86/X86Disassembler.o
Removing arch/X86/X86DisassemblerDecoder.d
Removing arch/X86/X86DisassemblerDecoder.o
Removing arch/X86/X86IntelInstPrinter.c.orig
Removing arch/X86/X86IntelInstPrinter.d
Removing arch/X86/X86IntelInstPrinter.o
Removing arch/X86/X86Mapping.d
Removing arch/X86/X86Mapping.o
Removing arch/X86/X86Module.d
Removing arch/X86/X86Module.o
Removing arch/XCore/XCoreDisassembler.d
Removing arch/XCore/XCoreDisassembler.o
Removing arch/XCore/XCoreInstPrinter.d
Removing arch/XCore/XCoreInstPrinter.o
Removing arch/XCore/XCoreMapping.d
Removing arch/XCore/XCoreMapping.o
Removing arch/XCore/XCoreModule.d
Removing arch/XCore/XCoreModule.o
Removing cs.c.orig
Removing cs.d
Removing cs.o
Removing libcapstone.a
Removing utils.d
Removing utils.o
/home/jimmy/workspace/git/radare2
configure-plugins: Loading ./plugins.cfg ..
configure-plugins: Generating libr/config.h ..
configure-plugins: Generating libr/config.mk ..
SHARED: io.shm
STATIC: anal.6502 anal.8051 anal.arc anal.arm_cs anal.arm_gnu anal.avr anal.bf anal.chip8 anal.cr16 anal.cris anal.dalvik anal.ebc anal.gb anal.h8300 anal.hexagon anal.i4004 anal.i8080 anal.java anal.m68k_cs anal.malbolge anal.mips_cs anal.mips_gnu anal.msp430 anal.nios2 anal.null anal.pic anal.ppc_cs anal.ppc_gnu anal.riscv anal.rsp anal.sh anal.snes anal.sparc_cs anal.sparc_gnu anal.sysz anal.tms320 anal.v810 anal.v850 anal.vax anal.wasm anal.ws anal.x86_cs anal.xap anal.xcore_cs anal.xtensa anal.z80 asm.6502 asm.8051 asm.arc asm.arm_as asm.arm_cs asm.arm_gnu asm.arm_winedbg asm.avr asm.bf asm.chip8 asm.cr16 asm.cris_gnu asm.dalvik asm.dcpu16 asm.ebc asm.gb asm.h8300 asm.hexagon asm.hppa_gnu asm.i4004 asm.i8080 asm.java asm.lanai_gnu asm.lh5801 asm.lm32 asm.m68k_cs asm.malbolge asm.mcs96 asm.mips_cs asm.mips_gnu asm.msp430 asm.nios2 asm.pic asm.ppc_cs asm.ppc_gnu asm.propeller asm.riscv asm.rsp asm.sh asm.snes asm.sparc_cs asm.sparc_gnu asm.spc700 asm.sysz asm.tms320 asm.tricore asm.v810 asm.v850 asm.vax asm.wasm asm.ws asm.x86_as asm.x86_cs asm.x86_nasm asm.x86_nz asm.xap asm.xcore_cs asm.xtensa asm.z80 bin.any bin.art bin.avr bin.bf bin.bflt bin.bios bin.bootimg bin.cgc bin.coff bin.dex bin.dol bin.dyldcache bin.elf bin.elf64 bin.fs bin.java bin.mach0 bin.mach064 bin.mbn bin.mdmp bin.menuet bin.mz bin.nes bin.nin3ds bin.ninds bin.ningb bin.ningba bin.nro bin.nso bin.omf bin.p9 bin.pe bin.pe64 bin.pebble bin.psxexe bin.sfc bin.smd bin.sms bin.spc700 bin.te bin.vsf bin.wasm bin.xbe bin.z64 bin.zimg bin_ldr.ldr_linux bin_xtr.xtr_dyldcache bin_xtr.xtr_fatmach0 bin_xtr.xtr_pemixed bp.arm bp.bf bp.mips bp.ppc bp.x86 core.a2f core.java crypto.aes crypto.aes_cbc crypto.base64 crypto.base91 crypto.blowfish crypto.cps2 crypto.des crypto.punycode crypto.rc2 crypto.rc4 crypto.rc6 crypto.rol crypto.ror crypto.rot crypto.serpent crypto.xor debug.bf debug.bochs debug.esil debug.gdb debug.io debug.native debug.null debug.qnx debug.rap debug.windbg egg.exec egg.xor fs.ext2 fs.fat fs.fb fs.hfs fs.hfsplus fs.io fs.iso9660 fs.jfs fs.minix fs.ntfs fs.posix fs.r2 fs.reiserfs fs.sfs fs.tar fs.udf fs.ufs fs.xfs io.ar io.bfdbg io.bochs io.debug io.default io.gdb io.gprobe io.gzip io.http io.ihex io.mach io.malloc io.mmap io.null io.procpid io.ptrace io.qnx io.r2k io.r2pipe io.r2web io.rap io.rbuf io.self io.shm io.sparse io.tcp io.w32 io.w32dbg io.windbg io.winedbg io.zip lang.vala parse.6502_pseudo parse.arm_pseudo parse.att2intel parse.avr_pseudo parse.dalvik_pseudo parse.m68k_pseudo parse.mips_pseudo parse.mreplace parse.ppc_pseudo parse.sh_pseudo parse.x86_pseudo parse.z80_pseudo
cp: './plugins.cfg' and 'plugins.cfg' are the same file
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for working directories... current
using prefix '/home/jimmy/bin/prefix/radare2'
checking for c compiler... ccache gcc
checking for dynamic library... required
checking for patch... /usr/bin/patch
checking for git... /usr/bin/git
checking for libmagic ... no
Using PKGCONFIG: pkg-config
checking pkg-config flags for capstone... yes
checking for libz ... yes
checking for libzip ... no
checking for libxxhash ... no
checking declaration of ADDR_NO_RANDOMIZE in sys/personality.h... yes
checking function arc4random_uniform() in c... no
checking function explicit_bzero() in c... yes
checking for libssl ... yes
checking pkg-config flags for openssl... yes
creating ./config-user.mk
creating libr/include/r_userconf.h
creating pkgcfg/r_io.pc
creating pkgcfg/r_magic.pc
creating pkgcfg/r_asm.pc
creating pkgcfg/r_bin.pc
creating pkgcfg/r_anal.pc
creating pkgcfg/r_hash.pc
creating pkgcfg/r_cons.pc
creating pkgcfg/r_core.pc
creating pkgcfg/r_lang.pc
creating pkgcfg/r_socket.pc
creating pkgcfg/r_debug.pc
creating pkgcfg/r_reg.pc
creating pkgcfg/r_config.pc
creating pkgcfg/r_flag.pc
creating pkgcfg/r_syscall.pc
creating pkgcfg/r_util.pc
creating pkgcfg/r_search.pc
creating pkgcfg/r_bp.pc
creating pkgcfg/r_parse.pc
creating pkgcfg/r_fs.pc
creating pkgcfg/r_egg.pc
creating pkgcfg/r_crypto.pc
cleaning temporally files... done

Final report:
 - PREFIX = /home/jimmy/bin/prefix/radare2
 - HAVE_LIB_GMP = 0
 - HAVE_OPENSSL = 0
 - USE_CAPSTONE = 0
 - HAVE_FORK = 1
 - VERSION = 2.9.0-git
 - USE_LIB_ZIP = 0
 - USE_LIB_MAGIC = 0
 - USE_LIB_XXHASH = 0
 - DEBUGGER = 1
 - CC = ccache gcc
 - USERCC = gcc
 - HAVE_ARC4RANDOM_UNIFORM = 0
 - HAVE_EXPLICIT_BZERO = 1
 - USEROSTYPE = gnulinux
 - LIBVERSION = 2.9.0-git
 - BUILD = x86_64-unknown-linux-gnu
 - HOST = x86_64-unknown-linux-gnu
 - TARGET = x86_64-unknown-linux-gnu
CC binheap.c
CC mem.c
CC pool.c
CC unum.c
CC str.c
CC hex.c
CC file.c
CC range.c
CC tinyrange.c
CC prof.c
CC cache.c
CC sys.c
CC buf.c
CC w32-sys.c
CC ubase64.c
CC base85.c
CC base91.c
CC list.c
CC flist.c
CC mixed.c
CC btree.c
CC chmod.c
CC graph.c
CC regcomp.c
CC regerror.c
CC regexec.c
CC uleb128.c
CC sandbox.c
CC calc.c
CC thread.c
CC thread_sem.c
CC thread_lock.c
CC thread_cond.c
CC strpool.c
CC bitmap.c
CC date.c
CC format.c
CC pie.c
CC print.c
CC ctype.c
ctype.c: In function ‘r_type_get_enum’:
ctype.c:55:40: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
   snprintf (var2, sizeof (var2), "%s.%s", var, p);
                                        ^
ctype.c:55:3: note: ‘snprintf’ output 2 or more bytes (assuming 131) into a destination of size 130
   snprintf (var2, sizeof (var2), "%s.%s", var, p);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC seven.c
CC slist.c
CC randomart.c
CC log.c
CC zip.c
CC debruijn.c
CC utf8.c
CC utf16.c
CC utf32.c
CC strbuf.c
CC lib.c
CC name.c
CC spaces.c
CC signal.c
CC syscmd.c
CC diff.c
CC bdiff.c
CC stack.c
CC queue.c
CC tree.c
CC des.c
CC idpool.c
CC punycode.c
CC pkcs7.c
CC x509.c
CC asn1.c
CC astr.c
CC json_indent.c
CC skiplist.c
CC r_json.c
CC rbtree.c
CC qrcode.c
CC trie.c
CC vector.c
CC str_trim.c
CC ascii_table.c
LD libr_util.so
CC socket.c
CC proc.c
CC http.c
CC http_server.c
CC rap_server.c
CC run.c
CC r2pipe.c
CC serial.c
LD libr_socket.so
[capstone] Already in TIP, no need to update from git
HEAD is now at 782ea67 sparc: fix issue #1221 on double printing imm operand
patching file MCInst.c
patching file cs.c
Hunk #1 succeeded at 838 (offset -2 lines).
Hunk #2 succeeded at 856 (offset -2 lines).
Hunk #3 succeeded at 945 (offset -1 lines).
Hunk #4 succeeded at 960 (offset -1 lines).
patching file arch/M68K/M68KInstPrinter.c
patching file arch/TMS320C64x/TMS320C64xInstPrinter.c
patching file arch/X86/X86ATTInstPrinter.c
Hunk #1 succeeded at 616 (offset 1 line).
patching file arch/X86/X86IntelInstPrinter.c
Hunk #1 succeeded at 824 (offset 1 line).
patching file arch/Sparc/SparcGenAsmWriter.inc
patching file SStream.c
  CC      cs.o
  CC      utils.o
  CC      SStream.o
  CC      MCInstrDesc.o
  CC      MCRegisterInfo.o
  CC      arch/ARM/ARMModule.o
  CC      arch/ARM/ARMMapping.o
  CC      arch/ARM/ARMInstPrinter.o
  CC      arch/ARM/ARMDisassembler.o
  CC      arch/AArch64/AArch64Disassembler.o
  CC      arch/AArch64/AArch64Module.o
  CC      arch/AArch64/AArch64Mapping.o
  CC      arch/AArch64/AArch64InstPrinter.o
  CC      arch/AArch64/AArch64BaseInfo.o
  CC      arch/M68K/M68KInstPrinter.o
  CC      arch/M68K/M68KDisassembler.o
  CC      arch/M68K/M68KModule.o
  CC      arch/Mips/MipsDisassembler.o
  CC      arch/Mips/MipsModule.o
  CC      arch/Mips/MipsMapping.o
  CC      arch/Mips/MipsInstPrinter.o
  CC      arch/PowerPC/PPCInstPrinter.o
  CC      arch/PowerPC/PPCDisassembler.o
  CC      arch/PowerPC/PPCModule.o
  CC      arch/PowerPC/PPCMapping.o
  CC      arch/Sparc/SparcInstPrinter.o
  CC      arch/Sparc/SparcDisassembler.o
  CC      arch/Sparc/SparcModule.o
  CC      arch/Sparc/SparcMapping.o
  CC      arch/SystemZ/SystemZDisassembler.o
  CC      arch/SystemZ/SystemZMCTargetDesc.o
  CC      arch/SystemZ/SystemZModule.o
  CC      arch/SystemZ/SystemZMapping.o
  CC      arch/SystemZ/SystemZInstPrinter.o
  CC      arch/X86/X86DisassemblerDecoder.o
  CC      arch/X86/X86Disassembler.o
  CC      arch/X86/X86IntelInstPrinter.o
arch/X86/X86IntelInstPrinter.c: In function ‘X86_Intel_printInst’:
arch/X86/X86IntelInstPrinter.c:745:42: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   strncpy(O->buffer, MI->assembly, sizeof(MI->assembly));
                                          ^
  CC      arch/X86/X86ATTInstPrinter.o
arch/X86/X86ATTInstPrinter.c: In function ‘X86_ATT_printInst’:
arch/X86/X86ATTInstPrinter.c:888:43: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
   strncpy(OS->buffer, MI->assembly, sizeof(MI->assembly));
                                           ^
  CC      arch/X86/X86Mapping.o
  CC      arch/X86/X86Module.o
  CC      arch/XCore/XCoreModule.o
  CC      arch/XCore/XCoreMapping.o
  CC      arch/XCore/XCoreInstPrinter.o
  CC      arch/XCore/XCoreDisassembler.o
  CC      arch/TMS320C64x/TMS320C64xDisassembler.o
  CC      arch/TMS320C64x/TMS320C64xModule.o
  CC      arch/TMS320C64x/TMS320C64xMapping.o
  CC      arch/TMS320C64x/TMS320C64xInstPrinter.o
  CC      arch/M680X/M680XDisassembler.o
  CC      arch/M680X/M680XModule.o
  CC      arch/M680X/M680XInstPrinter.o
  CC      arch/EVM/EVMMapping.o
  CC      arch/EVM/EVMInstPrinter.o
  CC      arch/EVM/EVMDisassembler.o
  CC      arch/EVM/EVMModule.o
  CC      MCInst.o
  AR      libcapstone.a
ar: creating ./libcapstone.a
gmake -C sdb
gmake -C zip
gmake -C java
gmake -C tcc
gmake -C gdb
gmake -C qnx
gmake -C ar
gmake -C grub
DIR util
DIR hash
CC state.c
CC hash.c
CC hamdist.c
CC crca.c
CC entropy.c
CC calc.c
CC adler32.c
CC luhn.c
CC md4.c
CC md5.c
CC sha1.c
CC sha2.c
CC xxhash.c
LD libr_hash.so
DIR socket
DIR reg
CC reg.c
CC arena.c
CC value.c
CC cond.c
CC double.c
CC profile.c
LD libr_reg.so
DIR cons
CC cons.c
CC pipe.c
CC output.c
CC grep.c
CC less.c
CC utf8.c
CC line.c
CC hud.c
CC rgb.c
CC input.c
CC pal.c
CC editor.c
CC 2048.c
CC canvas.c
CC canvas_line.c
LD libr_cons.so
DIR magic
CC apprentice.c
CC ascmagic.c
CC fsmagic.c
CC funcs.c
CC is_tar.c
CC magic.c
In file included from magic.c:32:
/home/jimmy/workspace/git/radare2/libr/include/r_magic.h:12:22: warning: prototype for ‘r_magic_version’ follows non-prototype definition
 R_LIB_VERSION_HEADER(r_magic);
                      ^~~~~~~
/home/jimmy/workspace/git/radare2/libr/include/r_types.h:253:19: note: in definition of macro ‘R_LIB_VERSION_HEADER’
 R_API const char *x##_version(void)
                   ^
CC softmagic.c
LD libr_magic.so
DIR bp
CC bp.c
CC bp_watch.c
CC bp_io.c
CC bp_plugin.c
CC bp_traptrace.c
CC bp_arm.c
CC bp_bf.c
CC bp_mips.c
CC bp_ppc.c
CC bp_x86.c
LD libr_bp.so
DIR search
CC search.c
CC bytepat.c
CC strings.c
CC aes-find.c
CC rsa-find.c
CC regexp.c
CC xrefs.c
CC keyword.c
LD libr_search.so
DIR config
CC config.c
CC callback.c
LD libr_config.so
DIR syscall
CC syscall.c
CC ioports.c
LD libr_syscall.so
DIR lang
CC lang.c
In file included from lang.c:9:
p/vala.c: In function ‘lang_vala_file’:
p/vala.c:60:87: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 465 [-Wformat-truncation=]
   snprintf (buf, sizeof (buf) - 1, "valac --disable-warnings -d %s %s --pkg r_core -C %s %s", srcdir, pkgs, name, tail);
                                                                                       ^~                    ~~~~
p/vala.c:60:3: note: ‘snprintf’ output 48 or more bytes (assuming 559) into a destination of size 511
   snprintf (buf, sizeof (buf) - 1, "valac --disable-warnings -d %s %s --pkg r_core -C %s %s", srcdir, pkgs, name, tail);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p/vala.c:55:99: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 454 [-Wformat-truncation=]
    snprintf (buf, sizeof (buf)-1, "valac --disable-warnings -d %s --vapidir=%s --pkg r_core %s -C %s %s",
                                                                                                   ^~
     srcdir, vapidir, pkgs, name, tail);
                            ~~~~                                                                    
p/vala.c:55:4: note: ‘snprintf’ output 59 or more bytes (assuming 570) into a destination of size 511
    snprintf (buf, sizeof (buf)-1, "valac --disable-warnings -d %s --vapidir=%s --pkg r_core %s -C %s %s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     srcdir, vapidir, pkgs, name, tail);
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p/vala.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 494 [-Wformat-truncation=]
  snprintf (buf, sizeof (buf), "gcc -fPIC -shared %s.c -o lib%s."R_LIB_EXT
                                                  ^~
   " $(pkg-config --cflags --libs r_core gobject-2.0 %s)", name, libname, libs);
                                                           ~~~~
p/vala.c:71:2: note: ‘snprintf’ output 81 or more bytes (assuming 592) into a destination of size 512
  snprintf (buf, sizeof (buf), "gcc -fPIC -shared %s.c -o lib%s."R_LIB_EXT
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   " $(pkg-config --cflags --libs r_core gobject-2.0 %s)", name, libname, libs);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p/vala.c:94:38: warning: ‘.c’ directive output may be truncated writing 2 bytes into a region of size between 0 and 511 [-Wformat-truncation=]
  snprintf (buf, sizeof (buf) - 1, "%s.c", name); // remove .c
                                      ^~
p/vala.c:94:2: note: ‘snprintf’ output between 3 and 514 bytes into a destination of size 511
  snprintf (buf, sizeof (buf) - 1, "%s.c", name); // remove .c
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LD libr_lang.so
DIR io
CC io_ar.c
CC io_bfdbg.c
CC io_bochs.c
CC io_debug.c
CC io_default.c
CC io_gdb.c
CC io_gprobe.c
CC io_gzip.c
CC io_http.c
CC io_ihex.c
CC io_mach.c
CC io_malloc.c
CC io_mmap.c
CC io_null.c
CC io_procpid.c
CC io_ptrace.c
CC io_qnx.c
CC io_r2k.c
CC io_r2k_linux.c
CC io_r2pipe.c
p/io_r2pipe.c: In function ‘__write’:
p/io_r2pipe.c:30:3: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size between 4043 and 4062 [-Wformat-truncation=]
   "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   io->off, bufnum);
            ~~~~~~
p/io_r2pipe.c:30:55: note: format string is defined here
   "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}",
                                                       ^~
p/io_r2pipe.c:29:2: note: ‘snprintf’ output between 37 and 4151 bytes into a destination of size 4096
  snprintf (fmt, sizeof (fmt),
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}",
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   io->off, bufnum);
   ~~~~~~~~~~~~~~~~
CC io_r2web.c
CC io_rap.c
CC io_rbuf.c
CC io_self.c
CC io_shm.c
CC io_sparse.c
CC io_tcp.c
CC io_w32.c
CC io_w32dbg.c
CC io_windbg.c
CC io_winedbg.c
CC io_zip.c
CC io.c
CC plugin.c
CC map.c
CC section.c
CC desc.c
CC cache.c
CC p_cache.c
CC undo.c
CC iobuf.c
CC ioutils.c
CC fd.c
LD libr_io.so
DIR crypto
CC crypto_aes.c
CC crypto_aes_algo.c
CC crypto_aes_cbc.c
CC crypto_base64.c
CC crypto_base91.c
CC crypto_blowfish.c
CC crypto_cps2.c
CC crypto_des.c
CC crypto_punycode.c
CC crypto_rc2.c
CC crypto_rc4.c
CC crypto_rc6.c
CC crypto_rol.c
CC crypto_ror.c
CC crypto_rot.c
CC crypto_serpent.c
CC crypto_serpent_algo.c
CC crypto_xor.c
CC crypto.c
LD libr_crypto.so
DIR flag
CC flag.c
CC sort.c
CC spaces.c
CC zones.c
CC tags.c
LD libr_flag.so
DIR fs
CC fs_ext2.c
CC fs_fat.c
CC fs_fb.c
CC fs_hfs.c
CC fs_hfsplus.c
CC fs_io.c
CC fs_iso9660.c
CC fs_jfs.c
CC fs_minix.c
CC fs_ntfs.c
CC fs_posix.c
CC fs_r2.c
CC fs_reiserfs.c
CC fs_sfs.c
CC fs_tar.c
CC fs_udf.c
CC fs_ufs.c
CC fs_xfs.c
CC fs.c
CC file.c
CC shell.c
LD libr_fs.so
DIR anal
CC anal_6502.c
CC anal_8051.c
CC anal_arc.c
CC anal_arm_cs.c
CC anal_arm_gnu.c
CC be_arm.c
CC anal_avr.c
CC anal_bf.c
CC anal_chip8.c
CC anal_cr16.c
CC cr16_disas.c
CC anal_cris.c
CC anal_dalvik.c
CC anal_ebc.c
CC ebc_disas.c
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_jmp’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:158:10: warning: ‘0x’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
       "%s0x%x", op1, immed32);
          ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:158:7: note: using the range [0, 4294967295] for directive argument
       "%s0x%x", op1, immed32);
       ^~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:157:5: note: ‘snprintf’ output between 4 and 42 bytes into a destination of size 32
     snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       "%s0x%x", op1, immed32);
       ~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:153:11: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 31 [-Wformat-truncation=]
       "%s(%c%u, %c%u)",
           ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:152:5: note: ‘snprintf’ output between 9 and 58 bytes into a destination of size 32
     snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       "%s(%c%u, %c%u)",
       ~~~~~~~~~~~~~~~~~
       op1, sign, idx32.n, sign, idx32.c);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_not’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:339:61: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=]
  snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
                                                             ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:341:43:
    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);
                                           ~~~~~              
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:339:2: note: ‘snprintf’ output 7 or more bytes (assuming 38) into a destination of size 32
  snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TEST_BIT(bytes[1], 3) ? "@" : "", op1,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_add’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:380:60: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=]
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
                                                            ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:382:43:
    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);
                                           ~~~~~             
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:380:2: note: ‘snprintf’ output 7 or more bytes (assuming 38) into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TEST_BIT(bytes[1], 3) ? "@" : "", op1,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_mov_args’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:506:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
                                                  ^~
    op1c, ind1, op2c, ind2);
          ~~~~                                     
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:506:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, ind1, op2c, ind2);
    ~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movsn_args’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:552:51: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
  snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
                                                   ^~
    op1c, ind1, op2c, ind2);
          ~~~~                                      
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:552:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
  snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, ind1, op2c, ind2);
    ~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_push_pop’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:611:53: warning: ‘%u’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 0 and 31 [-Wformat-truncation=]
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s %u",
                                                     ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:611:4: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s %u",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      op1c, immed);
      ~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:52: warning: ‘ (’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
                                                    ^~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:49: note: using the range [-2147483648, 2147483647] for directive argument
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
                                                 ^~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:49: note: using the range [-2147483648, 2147483647] for directive argument
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:4: note: ‘snprintf’ output between 10 and 61 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      op1c, sign, idx.n, sign, idx.c);
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_cmpi’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:660:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s", op1c, indx, immed);
                                                  ^~             ~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:660:2: note: ‘snprintf’ output between 3 and 96 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s", op1c, indx, immed);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movn’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:710:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
                                                  ^~
    op1c, indx1, op2c, indx2);
          ~~~~~                                    
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:710:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, indx1, op2c, indx2);
    ~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movi’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:779:7: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
    "%s%s, %lu", op1, indx, immed);
       ^~             ~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:778:2: note: ‘snprintf’ output between 4 and 85 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "%s%s, %lu", op1, indx, immed);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movin’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:838:7: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
    "%s%s, %s", op1, indx1, indx2);
       ^~            ~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:837:2: note: ‘snprintf’ output between 3 and 96 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "%s%s, %s", op1, indx1, indx2);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movrel’:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:909:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, 0x%0*lx",
                                                  ^~
    op1, indx, formathex, immed);
         ~~~~                                      
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:909:2: note: ‘snprintf’ output between 6 and 2147483715 bytes into a destination of size 32
  snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, 0x%0*lx",
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1, indx, formathex, immed);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC anal_gb.c
CC anal_h8300.c
CC h8300_disas.c
CC anal_hexagon.c
CC hexagon.c
CC hexagon_disas.c
CC hexagon_anal.c
CC anal_i4004.c
CC anal_i8080.c
CC anal_java.c
CC anal_m68k_cs.c
CC anal_malbolge.c
CC anal_mips_cs.c
CC anal_mips_gnu.c
CC anal_msp430.c
CC msp430_disas.c
CC anal_nios2.c
CC anal_null.c
CC anal_pic.c
CC pic_midrange.c
CC anal_ppc_cs.c
CC vle.c
CC anal_ppc_gnu.c
CC anal_riscv.c
CC anal_rsp.c
CC rsp_idec.c
CC anal_sh.c
CC anal_snes.c
CC anal_sparc_cs.c
CC anal_sparc_gnu.c
CC anal_sysz.c
CC anal_tms320.c
CC anal_tms320_c55x_plus.c
CC tms320_dasm.c
CC ins.c
CC c55plus.c
CC c55plus_decode.c
CC decode_funcs.c
CC utils.c
CC hashtable.c
CC hashvector.c
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../..//asm/arch/tms320/c55x_plus/hashvector.c:97:25: warning: ‘ins_hash’ defined but not used [-Wunused-variable]
 static HASHCODE_ENTRY_T ins_hash[] = {
                         ^~~~~~~~
CC anal_v810.c
CC v810_disas.c
CC anal_v850.c
CC v850_disas.c
In file included from /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/v850/v850_disas.c:7:
/home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/v850/v850_disas.h:235:20: warning: ‘V850_REG_NAMES’ defined but not used [-Wunused-variable]
 static const char* V850_REG_NAMES[] = {
                    ^~~~~~~~~~~~~~
CC anal_vax.c
CC anal_wasm.c
CC wasm.c
CC anal_ws.c
CC anal_x86_cs.c
CC anal_xap.c
CC anal_xcore_cs.c
CC anal_xtensa.c
CC anal_z80.c
CC meta.c
CC reflines.c
CC op.c
CC fcn.c
CC bb.c
CC var.c
CC cond.c
CC value.c
CC cc.c
CC diff.c
CC hint.c
CC anal.c
CC data.c
CC xrefs.c
CC esil.c
esil.c: In function ‘runword’:
esil.c:2793:3: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=]
   strncat (esil->Reil->if_buf, ",", 1);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC sign.c
CC anal_ex.c
CC switch.c
CC state.c
CC cycles.c
CC esil_stats.c
CC esil_trace.c
CC flirt.c
CC labels.c
CC esil2reil.c
CC pin.c
CC session.c
CC vtable.c
CC rtti.c
CC rtti_msvc.c
CC rtti_itanium.c
CC xtensa-modules.c
gmake[3]: *** No rule to make target '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/../../include/dis-asm.h', needed by '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/xtensa-isa.o'.  Stop.
gmake[2]: *** [Makefile:120: anal] Error 2
gmake[1]: *** [Makefile:32: all] Error 2
gmake: *** [Makefile:61: all] Error 2
Oops
radare commented 6 years ago

The only error i see here is no rule to make a file so i guess its because you have to do a git clean -xdf because there are .d files that are not removed

On 12 Aug 2018, at 05:27, jimmy.m.gong notifications@github.com wrote:

export USE_R2_CAPSTONE=

Removing MCInst.d Removing MCInst.o Removing MCInstrDesc.d Removing MCInstrDesc.o Removing MCRegisterInfo.d Removing MCRegisterInfo.o Removing SStream.d Removing SStream.o Removing arch/AArch64/AArch64BaseInfo.d Removing arch/AArch64/AArch64BaseInfo.o Removing arch/AArch64/AArch64Disassembler.d Removing arch/AArch64/AArch64Disassembler.o Removing arch/AArch64/AArch64InstPrinter.d Removing arch/AArch64/AArch64InstPrinter.o Removing arch/AArch64/AArch64Mapping.d Removing arch/AArch64/AArch64Mapping.o Removing arch/AArch64/AArch64Module.d Removing arch/AArch64/AArch64Module.o Removing arch/ARM/ARMDisassembler.d Removing arch/ARM/ARMDisassembler.o Removing arch/ARM/ARMInstPrinter.d Removing arch/ARM/ARMInstPrinter.o Removing arch/ARM/ARMMapping.d Removing arch/ARM/ARMMapping.o Removing arch/ARM/ARMModule.d Removing arch/ARM/ARMModule.o Removing arch/EVM/EVMDisassembler.d Removing arch/EVM/EVMDisassembler.o Removing arch/EVM/EVMInstPrinter.d Removing arch/EVM/EVMInstPrinter.o Removing arch/EVM/EVMMapping.d Removing arch/EVM/EVMMapping.o Removing arch/EVM/EVMModule.d Removing arch/EVM/EVMModule.o Removing arch/M680X/M680XDisassembler.d Removing arch/M680X/M680XDisassembler.o Removing arch/M680X/M680XInstPrinter.d Removing arch/M680X/M680XInstPrinter.o Removing arch/M680X/M680XModule.d Removing arch/M680X/M680XModule.o Removing arch/M68K/M68KDisassembler.d Removing arch/M68K/M68KDisassembler.o Removing arch/M68K/M68KInstPrinter.d Removing arch/M68K/M68KInstPrinter.o Removing arch/M68K/M68KModule.d Removing arch/M68K/M68KModule.o Removing arch/Mips/MipsDisassembler.d Removing arch/Mips/MipsDisassembler.o Removing arch/Mips/MipsInstPrinter.d Removing arch/Mips/MipsInstPrinter.o Removing arch/Mips/MipsMapping.d Removing arch/Mips/MipsMapping.o Removing arch/Mips/MipsModule.d Removing arch/Mips/MipsModule.o Removing arch/PowerPC/PPCDisassembler.d Removing arch/PowerPC/PPCDisassembler.o Removing arch/PowerPC/PPCInstPrinter.d Removing arch/PowerPC/PPCInstPrinter.o Removing arch/PowerPC/PPCMapping.d Removing arch/PowerPC/PPCMapping.o Removing arch/PowerPC/PPCModule.d Removing arch/PowerPC/PPCModule.o Removing arch/Sparc/SparcDisassembler.d Removing arch/Sparc/SparcDisassembler.o Removing arch/Sparc/SparcInstPrinter.d Removing arch/Sparc/SparcInstPrinter.o Removing arch/Sparc/SparcMapping.d Removing arch/Sparc/SparcMapping.o Removing arch/Sparc/SparcModule.d Removing arch/Sparc/SparcModule.o Removing arch/SystemZ/SystemZDisassembler.d Removing arch/SystemZ/SystemZDisassembler.o Removing arch/SystemZ/SystemZInstPrinter.d Removing arch/SystemZ/SystemZInstPrinter.o Removing arch/SystemZ/SystemZMCTargetDesc.d Removing arch/SystemZ/SystemZMCTargetDesc.o Removing arch/SystemZ/SystemZMapping.d Removing arch/SystemZ/SystemZMapping.o Removing arch/SystemZ/SystemZModule.d Removing arch/SystemZ/SystemZModule.o Removing arch/TMS320C64x/TMS320C64xDisassembler.d Removing arch/TMS320C64x/TMS320C64xDisassembler.o Removing arch/TMS320C64x/TMS320C64xInstPrinter.d Removing arch/TMS320C64x/TMS320C64xInstPrinter.o Removing arch/TMS320C64x/TMS320C64xMapping.d Removing arch/TMS320C64x/TMS320C64xMapping.o Removing arch/TMS320C64x/TMS320C64xModule.d Removing arch/TMS320C64x/TMS320C64xModule.o Removing arch/X86/X86ATTInstPrinter.c.orig Removing arch/X86/X86ATTInstPrinter.d Removing arch/X86/X86ATTInstPrinter.o Removing arch/X86/X86Disassembler.d Removing arch/X86/X86Disassembler.o Removing arch/X86/X86DisassemblerDecoder.d Removing arch/X86/X86DisassemblerDecoder.o Removing arch/X86/X86IntelInstPrinter.c.orig Removing arch/X86/X86IntelInstPrinter.d Removing arch/X86/X86IntelInstPrinter.o Removing arch/X86/X86Mapping.d Removing arch/X86/X86Mapping.o Removing arch/X86/X86Module.d Removing arch/X86/X86Module.o Removing arch/XCore/XCoreDisassembler.d Removing arch/XCore/XCoreDisassembler.o Removing arch/XCore/XCoreInstPrinter.d Removing arch/XCore/XCoreInstPrinter.o Removing arch/XCore/XCoreMapping.d Removing arch/XCore/XCoreMapping.o Removing arch/XCore/XCoreModule.d Removing arch/XCore/XCoreModule.o Removing cs.c.orig Removing cs.d Removing cs.o Removing libcapstone.a Removing utils.d Removing utils.o /home/jimmy/workspace/git/radare2 configure-plugins: Loading ./plugins.cfg .. configure-plugins: Generating libr/config.h .. configure-plugins: Generating libr/config.mk .. SHARED: io.shm STATIC: anal.6502 anal.8051 anal.arc anal.arm_cs anal.arm_gnu anal.avr anal.bf anal.chip8 anal.cr16 anal.cris anal.dalvik anal.ebc anal.gb anal.h8300 anal.hexagon anal.i4004 anal.i8080 anal.java anal.m68k_cs anal.malbolge anal.mips_cs anal.mips_gnu anal.msp430 anal.nios2 anal.null anal.pic anal.ppc_cs anal.ppc_gnu anal.riscv anal.rsp anal.sh anal.snes anal.sparc_cs anal.sparc_gnu anal.sysz anal.tms320 anal.v810 anal.v850 anal.vax anal.wasm anal.ws anal.x86_cs anal.xap anal.xcore_cs anal.xtensa anal.z80 asm.6502 asm.8051 asm.arc asm.arm_as asm.arm_cs asm.arm_gnu asm.arm_winedbg asm.avr asm.bf asm.chip8 asm.cr16 asm.cris_gnu asm.dalvik asm.dcpu16 asm.ebc asm.gb asm.h8300 asm.hexagon asm.hppa_gnu asm.i4004 asm.i8080 asm.java asm.lanai_gnu asm.lh5801 asm.lm32 asm.m68k_cs asm.malbolge asm.mcs96 asm.mips_cs asm.mips_gnu asm.msp430 asm.nios2 asm.pic asm.ppc_cs asm.ppc_gnu asm.propeller asm.riscv asm.rsp asm.sh asm.snes asm.sparc_cs asm.sparc_gnu asm.spc700 asm.sysz asm.tms320 asm.tricore asm.v810 asm.v850 asm.vax asm.wasm asm.ws asm.x86_as asm.x86_cs asm.x86_nasm asm.x86_nz asm.xap asm.xcore_cs asm.xtensa asm.z80 bin.any bin.art bin.avr bin.bf bin.bflt bin.bios bin.bootimg bin.cgc bin.coff bin.dex bin.dol bin.dyldcache bin.elf bin.elf64 bin.fs bin.java bin.mach0 bin.mach064 bin.mbn bin.mdmp bin.menuet bin.mz bin.nes bin.nin3ds bin.ninds bin.ningb bin.ningba bin.nro bin.nso bin.omf bin.p9 bin.pe bin.pe64 bin.pebble bin.psxexe bin.sfc bin.smd bin.sms bin.spc700 bin.te bin.vsf bin.wasm bin.xbe bin.z64 bin.zimg bin_ldr.ldr_linux bin_xtr.xtr_dyldcache bin_xtr.xtr_fatmach0 bin_xtr.xtr_pemixed bp.arm bp.bf bp.mips bp.ppc bp.x86 core.a2f core.java crypto.aes crypto.aes_cbc crypto.base64 crypto.base91 crypto.blowfish crypto.cps2 crypto.des crypto.punycode crypto.rc2 crypto.rc4 crypto.rc6 crypto.rol crypto.ror crypto.rot crypto.serpent crypto.xor debug.bf debug.bochs debug.esil debug.gdb debug.io debug.native debug.null debug.qnx debug.rap debug.windbg egg.exec egg.xor fs.ext2 fs.fat fs.fb fs.hfs fs.hfsplus fs.io fs.iso9660 fs.jfs fs.minix fs.ntfs fs.posix fs.r2 fs.reiserfs fs.sfs fs.tar fs.udf fs.ufs fs.xfs io.ar io.bfdbg io.bochs io.debug io.default io.gdb io.gprobe io.gzip io.http io.ihex io.mach io.malloc io.mmap io.null io.procpid io.ptrace io.qnx io.r2k io.r2pipe io.r2web io.rap io.rbuf io.self io.shm io.sparse io.tcp io.w32 io.w32dbg io.windbg io.winedbg io.zip lang.vala parse.6502_pseudo parse.arm_pseudo parse.att2intel parse.avr_pseudo parse.dalvik_pseudo parse.m68k_pseudo parse.mips_pseudo parse.mreplace parse.ppc_pseudo parse.sh_pseudo parse.x86_pseudo parse.z80_pseudo cp: './plugins.cfg' and 'plugins.cfg' are the same file checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for working directories... current using prefix '/home/jimmy/bin/prefix/radare2' checking for c compiler... ccache gcc checking for dynamic library... required checking for patch... /usr/bin/patch checking for git... /usr/bin/git checking for libmagic ... no Using PKGCONFIG: pkg-config checking pkg-config flags for capstone... yes checking for libz ... yes checking for libzip ... no checking for libxxhash ... no checking declaration of ADDR_NO_RANDOMIZE in sys/personality.h... yes checking function arc4random_uniform() in c... no checking function explicit_bzero() in c... yes checking for libssl ... yes checking pkg-config flags for openssl... yes creating ./config-user.mk creating libr/include/r_userconf.h creating pkgcfg/r_io.pc creating pkgcfg/r_magic.pc creating pkgcfg/r_asm.pc creating pkgcfg/r_bin.pc creating pkgcfg/r_anal.pc creating pkgcfg/r_hash.pc creating pkgcfg/r_cons.pc creating pkgcfg/r_core.pc creating pkgcfg/r_lang.pc creating pkgcfg/r_socket.pc creating pkgcfg/r_debug.pc creating pkgcfg/r_reg.pc creating pkgcfg/r_config.pc creating pkgcfg/r_flag.pc creating pkgcfg/r_syscall.pc creating pkgcfg/r_util.pc creating pkgcfg/r_search.pc creating pkgcfg/r_bp.pc creating pkgcfg/r_parse.pc creating pkgcfg/r_fs.pc creating pkgcfg/r_egg.pc creating pkgcfg/r_crypto.pc cleaning temporally files... done

Final report:

  • PREFIX = /home/jimmy/bin/prefix/radare2
  • HAVE_LIB_GMP = 0
  • HAVE_OPENSSL = 0
  • USE_CAPSTONE = 0
  • HAVE_FORK = 1
  • VERSION = 2.9.0-git
  • USE_LIB_ZIP = 0
  • USE_LIB_MAGIC = 0
  • USE_LIB_XXHASH = 0
  • DEBUGGER = 1
  • CC = ccache gcc
  • USERCC = gcc
  • HAVE_ARC4RANDOM_UNIFORM = 0
  • HAVE_EXPLICIT_BZERO = 1
  • USEROSTYPE = gnulinux
  • LIBVERSION = 2.9.0-git
  • BUILD = x86_64-unknown-linux-gnu
  • HOST = x86_64-unknown-linux-gnu
  • TARGET = x86_64-unknown-linux-gnu CC binheap.c CC mem.c CC pool.c CC unum.c CC str.c CC hex.c CC file.c CC range.c CC tinyrange.c CC prof.c CC cache.c CC sys.c CC buf.c CC w32-sys.c CC ubase64.c CC base85.c CC base91.c CC list.c CC flist.c CC mixed.c CC btree.c CC chmod.c CC graph.c CC regcomp.c CC regerror.c CC regexec.c CC uleb128.c CC sandbox.c CC calc.c CC thread.c CC thread_sem.c CC thread_lock.c CC thread_cond.c CC strpool.c CC bitmap.c CC date.c CC format.c CC pie.c CC print.c CC ctype.c ctype.c: In function ‘r_type_get_enum’: ctype.c:55:40: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf (var2, sizeof (var2), "%s.%s", var, p); ^ ctype.c:55:3: note: ‘snprintf’ output 2 or more bytes (assuming 131) into a destination of size 130 snprintf (var2, sizeof (var2), "%s.%s", var, p); ^~~~~~~~~~~ CC seven.c CC slist.c CC randomart.c CC log.c CC zip.c CC debruijn.c CC utf8.c CC utf16.c CC utf32.c CC strbuf.c CC lib.c CC name.c CC spaces.c CC signal.c CC syscmd.c CC diff.c CC bdiff.c CC stack.c CC queue.c CC tree.c CC des.c CC idpool.c CC punycode.c CC pkcs7.c CC x509.c CC asn1.c CC astr.c CC json_indent.c CC skiplist.c CC r_json.c CC rbtree.c CC qrcode.c CC trie.c CC vector.c CC str_trim.c CC ascii_table.c LD libr_util.so CC socket.c CC proc.c CC http.c CC http_server.c CC rap_server.c CC run.c CC r2pipe.c CC serial.c LD libr_socket.so [capstone] Already in TIP, no need to update from git HEAD is now at 782ea67 sparc: fix issue #1221 on double printing imm operand patching file MCInst.c patching file cs.c Hunk #1 succeeded at 838 (offset -2 lines). Hunk #2 succeeded at 856 (offset -2 lines). Hunk #3 succeeded at 945 (offset -1 lines). Hunk #4 succeeded at 960 (offset -1 lines). patching file arch/M68K/M68KInstPrinter.c patching file arch/TMS320C64x/TMS320C64xInstPrinter.c patching file arch/X86/X86ATTInstPrinter.c Hunk #1 succeeded at 616 (offset 1 line). patching file arch/X86/X86IntelInstPrinter.c Hunk #1 succeeded at 824 (offset 1 line). patching file arch/Sparc/SparcGenAsmWriter.inc patching file SStream.c CC cs.o CC utils.o CC SStream.o CC MCInstrDesc.o CC MCRegisterInfo.o CC arch/ARM/ARMModule.o CC arch/ARM/ARMMapping.o CC arch/ARM/ARMInstPrinter.o CC arch/ARM/ARMDisassembler.o CC arch/AArch64/AArch64Disassembler.o CC arch/AArch64/AArch64Module.o CC arch/AArch64/AArch64Mapping.o CC arch/AArch64/AArch64InstPrinter.o CC arch/AArch64/AArch64BaseInfo.o CC arch/M68K/M68KInstPrinter.o CC arch/M68K/M68KDisassembler.o CC arch/M68K/M68KModule.o CC arch/Mips/MipsDisassembler.o CC arch/Mips/MipsModule.o CC arch/Mips/MipsMapping.o CC arch/Mips/MipsInstPrinter.o CC arch/PowerPC/PPCInstPrinter.o CC arch/PowerPC/PPCDisassembler.o CC arch/PowerPC/PPCModule.o CC arch/PowerPC/PPCMapping.o CC arch/Sparc/SparcInstPrinter.o CC arch/Sparc/SparcDisassembler.o CC arch/Sparc/SparcModule.o CC arch/Sparc/SparcMapping.o CC arch/SystemZ/SystemZDisassembler.o CC arch/SystemZ/SystemZMCTargetDesc.o CC arch/SystemZ/SystemZModule.o CC arch/SystemZ/SystemZMapping.o CC arch/SystemZ/SystemZInstPrinter.o CC arch/X86/X86DisassemblerDecoder.o CC arch/X86/X86Disassembler.o CC arch/X86/X86IntelInstPrinter.o arch/X86/X86IntelInstPrinter.c: In function ‘X86_Intel_printInst’: arch/X86/X86IntelInstPrinter.c:745:42: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(O->buffer, MI->assembly, sizeof(MI->assembly)); ^ CC arch/X86/X86ATTInstPrinter.o arch/X86/X86ATTInstPrinter.c: In function ‘X86_ATT_printInst’: arch/X86/X86ATTInstPrinter.c:888:43: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(OS->buffer, MI->assembly, sizeof(MI->assembly)); ^ CC arch/X86/X86Mapping.o CC arch/X86/X86Module.o CC arch/XCore/XCoreModule.o CC arch/XCore/XCoreMapping.o CC arch/XCore/XCoreInstPrinter.o CC arch/XCore/XCoreDisassembler.o CC arch/TMS320C64x/TMS320C64xDisassembler.o CC arch/TMS320C64x/TMS320C64xModule.o CC arch/TMS320C64x/TMS320C64xMapping.o CC arch/TMS320C64x/TMS320C64xInstPrinter.o CC arch/M680X/M680XDisassembler.o CC arch/M680X/M680XModule.o CC arch/M680X/M680XInstPrinter.o CC arch/EVM/EVMMapping.o CC arch/EVM/EVMInstPrinter.o CC arch/EVM/EVMDisassembler.o CC arch/EVM/EVMModule.o CC MCInst.o AR libcapstone.a ar: creating ./libcapstone.a gmake -C sdb gmake -C zip gmake -C java gmake -C tcc gmake -C gdb gmake -C qnx gmake -C ar gmake -C grub DIR util DIR hash CC state.c CC hash.c CC hamdist.c CC crca.c CC entropy.c CC calc.c CC adler32.c CC luhn.c CC md4.c CC md5.c CC sha1.c CC sha2.c CC xxhash.c LD libr_hash.so DIR socket DIR reg CC reg.c CC arena.c CC value.c CC cond.c CC double.c CC profile.c LD libr_reg.so DIR cons CC cons.c CC pipe.c CC output.c CC grep.c CC less.c CC utf8.c CC line.c CC hud.c CC rgb.c CC input.c CC pal.c CC editor.c CC 2048.c CC canvas.c CC canvas_line.c LD libr_cons.so DIR magic CC apprentice.c CC ascmagic.c CC fsmagic.c CC funcs.c CC is_tar.c CC magic.c In file included from magic.c:32: /home/jimmy/workspace/git/radare2/libr/include/r_magic.h:12:22: warning: prototype for ‘r_magic_version’ follows non-prototype definition R_LIB_VERSION_HEADER(r_magic); ^~~ /home/jimmy/workspace/git/radare2/libr/include/r_types.h:253:19: note: in definition of macro ‘R_LIB_VERSION_HEADER’ R_API const char *x##_version(void) ^ CC softmagic.c LD libr_magic.so DIR bp CC bp.c CC bp_watch.c CC bp_io.c CC bp_plugin.c CC bp_traptrace.c CC bp_arm.c CC bp_bf.c CC bp_mips.c CC bp_ppc.c CC bp_x86.c LD libr_bp.so DIR search CC search.c CC bytepat.c CC strings.c CC aes-find.c CC rsa-find.c CC regexp.c CC xrefs.c CC keyword.c LD libr_search.so DIR config CC config.c CC callback.c LD libr_config.so DIR syscall CC syscall.c CC ioports.c LD libr_syscall.so DIR lang CC lang.c In file included from lang.c:9: p/vala.c: In function ‘lang_vala_file’: p/vala.c:60:87: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 465 [-Wformat-truncation=] snprintf (buf, sizeof (buf) - 1, "valac --disable-warnings -d %s %s --pkg r_core -C %s %s", srcdir, pkgs, name, tail); ^~ ~~~~ p/vala.c:60:3: note: ‘snprintf’ output 48 or more bytes (assuming 559) into a destination of size 511 snprintf (buf, sizeof (buf) - 1, "valac --disable-warnings -d %s %s --pkg r_core -C %s %s", srcdir, pkgs, name, tail); ^~~~~~~~~~~~~~~~~~~~~~~~~ p/vala.c:55:99: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 454 [-Wformat-truncation=] snprintf (buf, sizeof (buf)-1, "valac --disable-warnings -d %s --vapidir=%s --pkg r_core %s -C %s %s", ^~ srcdir, vapidir, pkgs, name, tail);
    p/vala.c:55:4: note: ‘snprintf’ output 59 or more bytes (assuming 570) into a destination of size 511
    snprintf (buf, sizeof (buf)-1, "valac --disable-warnings -d %s --vapidir=%s --pkg r_core %s -C %s %s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     srcdir, vapidir, pkgs, name, tail);

    p/vala.c:71:50: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 494 [-Wformat-truncation=] snprintf (buf, sizeof (buf), "gcc -fPIC -shared %s.c -o lib%s."R_LIB_EXT ^~ " $(pkg-config --cflags --libs r_core gobject-2.0 %s)", name, libname, libs);

    p/vala.c:71:2: note: ‘snprintf’ output 81 or more bytes (assuming 592) into a destination of size 512
    snprintf (buf, sizeof (buf), "gcc -fPIC -shared %s.c -o lib%s."R_LIB_EXT
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    " $(pkg-config --cflags --libs r_core gobject-2.0 %s)", name, libname, libs);

    p/vala.c:94:38: warning: ‘.c’ directive output may be truncated writing 2 bytes into a region of size between 0 and 511 [-Wformat-truncation=] snprintf (buf, sizeof (buf) - 1, "%s.c", name); // remove .c ^~ p/vala.c:94:2: note: ‘snprintf’ output between 3 and 514 bytes into a destination of size 511 snprintf (buf, sizeof (buf) - 1, "%s.c", name); // remove .c ^~~~~~~~~~ LD libr_lang.so DIR io CC io_ar.c CC io_bfdbg.c CC io_bochs.c CC io_debug.c CC io_default.c CC io_gdb.c CC io_gprobe.c CC io_gzip.c CC io_http.c CC io_ihex.c CC io_mach.c CC io_malloc.c CC io_mmap.c CC io_null.c CC io_procpid.c CC io_ptrace.c CC io_qnx.c CC io_r2k.c CC io_r2k_linux.c CC io_r2pipe.c p/io_r2pipe.c: In function ‘__write’: p/io_r2pipe.c:30:3: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size between 4043 and 4062 [-Wformat-truncation=] "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}", ^~~~~~~~~ io->off, bufnum);

    p/io_r2pipe.c:30:55: note: format string is defined here
    "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}",
                                                       ^~
    p/io_r2pipe.c:29:2: note: ‘snprintf’ output between 37 and 4151 bytes into a destination of size 4096
    snprintf (fmt, sizeof (fmt),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "{\"op\":\"write\",\"address\":%"PFMT64d",\"data\":[%s]}",

    io->off, bufnum);

    CC io_r2web.c
    CC io_rap.c
    CC io_rbuf.c
    CC io_self.c
    CC io_shm.c
    CC io_sparse.c
    CC io_tcp.c
    CC io_w32.c
    CC io_w32dbg.c
    CC io_windbg.c
    CC io_winedbg.c
    CC io_zip.c
    CC io.c
    CC plugin.c
    CC map.c
    CC section.c
    CC desc.c
    CC cache.c
    CC p_cache.c
    CC undo.c
    CC iobuf.c
    CC ioutils.c
    CC fd.c
    LD libr_io.so
    DIR crypto
    CC crypto_aes.c
    CC crypto_aes_algo.c
    CC crypto_aes_cbc.c
    CC crypto_base64.c
    CC crypto_base91.c
    CC crypto_blowfish.c
    CC crypto_cps2.c
    CC crypto_des.c
    CC crypto_punycode.c
    CC crypto_rc2.c
    CC crypto_rc4.c
    CC crypto_rc6.c
    CC crypto_rol.c
    CC crypto_ror.c
    CC crypto_rot.c
    CC crypto_serpent.c
    CC crypto_serpent_algo.c
    CC crypto_xor.c
    CC crypto.c
    LD libr_crypto.so
    DIR flag
    CC flag.c
    CC sort.c
    CC spaces.c
    CC zones.c
    CC tags.c
    LD libr_flag.so
    DIR fs
    CC fs_ext2.c
    CC fs_fat.c
    CC fs_fb.c
    CC fs_hfs.c
    CC fs_hfsplus.c
    CC fs_io.c
    CC fs_iso9660.c
    CC fs_jfs.c
    CC fs_minix.c
    CC fs_ntfs.c
    CC fs_posix.c
    CC fs_r2.c
    CC fs_reiserfs.c
    CC fs_sfs.c
    CC fs_tar.c
    CC fs_udf.c
    CC fs_ufs.c
    CC fs_xfs.c
    CC fs.c
    CC file.c
    CC shell.c
    LD libr_fs.so
    DIR anal
    CC anal_6502.c
    CC anal_8051.c
    CC anal_arc.c
    CC anal_arm_cs.c
    CC anal_arm_gnu.c
    CC be_arm.c
    CC anal_avr.c
    CC anal_bf.c
    CC anal_chip8.c
    CC anal_cr16.c
    CC cr16_disas.c
    CC anal_cris.c
    CC anal_dalvik.c
    CC anal_ebc.c
    CC ebc_disas.c
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_jmp’:
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:158:10: warning: ‘0x’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
       "%s0x%x", op1, immed32);
          ^~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:158:7: note: using the range [0, 4294967295] for directive argument
       "%s0x%x", op1, immed32);
       ^~~~~~~~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:157:5: note: ‘snprintf’ output between 4 and 42 bytes into a destination of size 32
     snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       "%s0x%x", op1, immed32);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:153:11: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 31 [-Wformat-truncation=] "%s(%c%u, %c%u)", ^~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:152:5: note: ‘snprintf’ output between 9 and 58 bytes into a destination of size 32 snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, ^~~~~~~~~~~~ "%s(%c%u, %c%u)",

       op1, sign, idx32.n, sign, idx32.c);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_not’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:339:61: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=] snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s", ^~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:341:43: TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:339:2: note: ‘snprintf’ output 7 or more bytes (assuming 38) into a destination of size 32
    snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TEST_BIT(bytes[1], 3) ? "@" : "", op1,

    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_add’:
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:380:60: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size 26 [-Wformat-truncation=]
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s",
                                                            ^~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:382:43:
    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:380:2: note: ‘snprintf’ output 7 or more bytes (assuming 38) into a destination of size 32 snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%sr%d, %sr%d%s", ^~~~~~~~~~~~~~ TEST_BIT(bytes[1], 3) ? "@" : "", op1,

    TEST_BIT(bytes[1], 7) ? "@" : "", op2, index);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_mov_args’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:506:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s", ^~ op1c, ind1, op2c, ind2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:506:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, ind1, op2c, ind2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movsn_args’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:552:51: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s", ^~ op1c, ind1, op2c, ind2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:552:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
    snprintf (cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, ind1, op2c, ind2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_push_pop’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:611:53: warning: ‘%u’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 0 and 31 [-Wformat-truncation=] snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s %u", ^~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:611:4: note: ‘snprintf’ output between 3 and 38 bytes into a destination of size 32 snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s %u", ^~~~~~~~~~~~~ op1c, immed);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:52: warning: ‘ (’ directive output may be truncated writing 2 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
                                                    ^~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:49: note: using the range [-2147483648, 2147483647] for directive argument
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
                                                 ^~~~~~~~~~~~~~~~~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:49: note: using the range [-2147483648, 2147483647] for directive argument
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:605:4: note: ‘snprintf’ output between 10 and 61 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s (%c%d, %c%d)",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      op1c, sign, idx.n, sign, idx.c);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_cmpi’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:660:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s", op1c, indx, immed); ^~ ~~~~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:660:2: note: ‘snprintf’ output between 3 and 96 bytes into a destination of size 32 snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s", op1c, indx, immed); ^~~~~~~~~~~~~~~~~~~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movn’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:710:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s", ^~ op1c, indx1, op2c, indx2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:710:2: note: ‘snprintf’ output between 3 and 127 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, %s%s",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1c, indx1, op2c, indx2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movi’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:779:7: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] "%s%s, %lu", op1, indx, immed); ^~ ~~~~ /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:778:2: note: ‘snprintf’ output between 4 and 85 bytes into a destination of size 32 snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, ^~~~~~~~~~~~ "%s%s, %lu", op1, indx, immed);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movin’:
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:838:7: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=]
    "%s%s, %s", op1, indx1, indx2);
       ^~            ~~~~~
    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:837:2: note: ‘snprintf’ output between 3 and 96 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "%s%s, %s", op1, indx1, indx2);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c: In function ‘decode_movrel’: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:909:50: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 1 and 32 [-Wformat-truncation=] snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, 0x%0*lx", ^~ op1, indx, formathex, immed);

    /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/ebc/ebc_disas.c:909:2: note: ‘snprintf’ output between 6 and 2147483715 bytes into a destination of size 32
    snprintf(cmd->operands, EBC_OPERANDS_MAXLEN, "%s%s, 0x%0*lx",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    op1, indx, formathex, immed);

    CC anal_gb.c CC anal_h8300.c CC h8300_disas.c CC anal_hexagon.c CC hexagon.c CC hexagon_disas.c CC hexagon_anal.c CC anal_i4004.c CC anal_i8080.c CC anal_java.c CC anal_m68k_cs.c CC anal_malbolge.c CC anal_mips_cs.c CC anal_mips_gnu.c CC anal_msp430.c CC msp430_disas.c CC anal_nios2.c CC anal_null.c CC anal_pic.c CC pic_midrange.c CC anal_ppc_cs.c CC vle.c CC anal_ppc_gnu.c CC anal_riscv.c CC anal_rsp.c CC rsp_idec.c CC anal_sh.c CC anal_snes.c CC anal_sparc_cs.c CC anal_sparc_gnu.c CC anal_sysz.c CC anal_tms320.c CC anal_tms320_c55x_plus.c CC tms320_dasm.c CC ins.c CC c55plus.c CC c55plus_decode.c CC decode_funcs.c CC utils.c CC hashtable.c CC hashvector.c /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../..//asm/arch/tms320/c55x_plus/hashvector.c:97:25: warning: ‘ins_hash’ defined but not used [-Wunused-variable] static HASHCODE_ENTRY_T ins_hash[] = { ^~~~ CC anal_v810.c CC v810_disas.c CC anal_v850.c CC v850_disas.c In file included from /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/v850/v850_disas.c:7: /home/jimmy/workspace/git/radare2/libr/..//libr/anal/p/../../asm/arch/v850/v850_disas.h:235:20: warning: ‘V850_REG_NAMES’ defined but not used [-Wunused-variable] static const char* V850_REG_NAMES[] = { ^~~~~~ CC anal_vax.c CC anal_wasm.c CC wasm.c CC anal_ws.c CC anal_x86_cs.c CC anal_xap.c CC anal_xcore_cs.c CC anal_xtensa.c CC anal_z80.c CC meta.c CC reflines.c CC op.c CC fcn.c CC bb.c CC var.c CC cond.c CC value.c CC cc.c CC diff.c CC hint.c CC anal.c CC data.c CC xrefs.c CC esil.c esil.c: In function ‘runword’: esil.c:2793:3: warning: ‘strncat’ specified bound 1 equals source length [-Wstringop-overflow=] strncat (esil->Reil->if_buf, ",", 1); ^~~~~~~~ CC sign.c CC anal_ex.c CC switch.c CC state.c CC cycles.c CC esil_stats.c CC esil_trace.c CC flirt.c CC labels.c CC esil2reil.c CC pin.c CC session.c CC vtable.c CC rtti.c CC rtti_msvc.c CC rtti_itanium.c CC xtensa-modules.c gmake[3]: No rule to make target '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/../../include/dis-asm.h', needed by '/home/jimmy/workspace/git/radare2/libr/..//libr/asm/arch/xtensa/gnu/xtensa-isa.o'. Stop. gmake[2]: [Makefile:120: anal] Error 2 gmake[1]: [Makefile:32: all] Error 2 gmake: [Makefile:61: all] Error 2 Oops — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

yssource commented 6 years ago

Thanks, git clean -xdf solves my problem.