Menu

#592 Windows port - need help

RELEASE_1_0
new
nobody
Windows (1)
2020-07-09
2020-07-09
No

I want to port libraries from this project to Windows MSYS2/MinGW toolchain.

I created fork on github:
https://github.com/ofry/elftoolchain

Current state:

ofry@games MINGW64 ~/elftoolchain-githubfork
$ bmake -B
===> common
===> libelf
cc -O2    -MD -MF elf.d -MT elf.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf.c
cc -O2    -MD -MF elf_begin.d -MT elf_begin.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_begin.c
cc -O2    -MD -MF elf_cntl.d -MT elf_cntl.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_cntl.c
cc -O2    -MD -MF elf_end.d -MT elf_end.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_end.c
cc -O2    -MD -MF elf_errmsg.d -MT elf_errmsg.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_errmsg.c
cc -O2    -MD -MF elf_errno.d -MT elf_errno.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_errno.c
cc -O2    -MD -MF elf_data.d -MT elf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_data.c
cc -O2    -MD -MF elf_fill.d -MT elf_fill.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_fill.c
cc -O2    -MD -MF elf_flag.d -MT elf_flag.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_flag.c
cc -O2    -MD -MF elf_getarhdr.d -MT elf_getarhdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_getarhdr.c
cc -O2    -MD -MF elf_getarsym.d -MT elf_getarsym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_getarsym.c
cc -O2    -MD -MF elf_getbase.d -MT elf_getbase.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_getbase.c
cc -O2    -MD -MF elf_getident.d -MT elf_getident.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_getident.c
cc -O2    -MD -MF elf_hash.d -MT elf_hash.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_hash.c
cc -O2    -MD -MF elf_kind.d -MT elf_kind.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_kind.c
cc -O2    -MD -MF elf_memory.d -MT elf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_memory.c
cc -O2    -MD -MF elf_next.d -MT elf_next.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_next.c
cc -O2    -MD -MF elf_open.d -MT elf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_open.c
cc -O2    -MD -MF elf_rand.d -MT elf_rand.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_rand.c
cc -O2    -MD -MF elf_rawfile.d -MT elf_rawfile.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_rawfile.c
cc -O2    -MD -MF elf_phnum.d -MT elf_phnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_phnum.c
cc -O2    -MD -MF elf_shnum.d -MT elf_shnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_shnum.c
cc -O2    -MD -MF elf_shstrndx.d -MT elf_shstrndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_shstrndx.c
cc -O2    -MD -MF elf_scn.d -MT elf_scn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_scn.c
cc -O2    -MD -MF elf_strptr.d -MT elf_strptr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_strptr.c
elf_strptr.c: In function 'elf_strptr':
elf_strptr.c:109:13: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  109 |     count = roundup2(count, alignment);
      |             ^~~~~~~~
cc -O2    -MD -MF elf_update.d -MT elf_update.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_update.c
elf_update.c: In function '_libelf_compute_section_extents':
elf_update.c:258:15: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  258 |    scn_size = roundup2(scn_size, d->d_align);
      |               ^~~~~~~~
elf_update.c:317:14: warning: implicit declaration of function 'roundup' [-Wimplicit-function-declaration]
  317 |  sh_offset = roundup((uint64_t) rc, sh_align);
      |              ^~~~~~~
cc -O2    -MD -MF elf_version.d -MT elf_version.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c elf_version.c
cc -O2    -MD -MF gelf_cap.d -MT gelf_cap.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_cap.c
cc -O2    -MD -MF gelf_checksum.d -MT gelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_checksum.c
cc -O2    -MD -MF gelf_dyn.d -MT gelf_dyn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_dyn.c
cc -O2    -MD -MF gelf_ehdr.d -MT gelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_ehdr.c
cc -O2    -MD -MF gelf_getclass.d -MT gelf_getclass.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_getclass.c
cc -O2    -MD -MF gelf_fsize.d -MT gelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_fsize.c
cc -O2    -MD -MF gelf_move.d -MT gelf_move.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_move.c
cc -O2    -MD -MF gelf_phdr.d -MT gelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_phdr.c
cc -O2    -MD -MF gelf_rel.d -MT gelf_rel.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_rel.c
cc -O2    -MD -MF gelf_rela.d -MT gelf_rela.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_rela.c
cc -O2    -MD -MF gelf_shdr.d -MT gelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_shdr.c
cc -O2    -MD -MF gelf_sym.d -MT gelf_sym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_sym.c
cc -O2    -MD -MF gelf_syminfo.d -MT gelf_syminfo.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_syminfo.c
cc -O2    -MD -MF gelf_symshndx.d -MT gelf_symshndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_symshndx.c
cc -O2    -MD -MF gelf_xlate.d -MT gelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c gelf_xlate.c
cc -O2    -MD -MF libelf_align.d -MT libelf_align.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_align.c
cc -O2    -MD -MF libelf_allocate.d -MT libelf_allocate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_allocate.c
cc -O2    -MD -MF libelf_ar.d -MT libelf_ar.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_ar.c
cc -O2    -MD -MF libelf_ar_util.d -MT libelf_ar_util.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_ar_util.c
cc -O2    -MD -MF libelf_checksum.d -MT libelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_checksum.c
cc -O2    -MD -MF libelf_data.d -MT libelf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_data.c
cc -O2    -MD -MF libelf_ehdr.d -MT libelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_ehdr.c
cc -O2    -MD -MF libelf_elfmachine.d -MT libelf_elfmachine.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_elfmachine.c
cc -O2    -MD -MF libelf_extended.d -MT libelf_extended.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_extended.c
cc -O2    -MD -MF libelf_memory.d -MT libelf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_memory.c
cc -O2    -MD -MF libelf_open.d -MT libelf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_open.c
libelf_open.c: In function '_libelf_open_object':
libelf_open.c:147:7: warning: implicit declaration of function 'S_ISSOCK' [-Wimplicit-function-declaration]
  147 |      !S_ISSOCK(mode)) {
      |       ^~~~~~~~
cc -O2    -MD -MF libelf_phdr.d -MT libelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_phdr.c
cc -O2    -MD -MF libelf_shdr.d -MT libelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_shdr.c
cc -O2    -MD -MF libelf_xlate.d -MT libelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_xlate.c
m4 -D SRCDIR=/home/ofry/elftoolchain-githubfork/libelf  libelf_fsize.m4 > libelf_fsize.c
cc -O2    -MD -MF libelf_fsize.d -MT libelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_fsize.c
m4 -D SRCDIR=/home/ofry/elftoolchain-githubfork/libelf  libelf_msize.m4 > libelf_msize.c
cc -O2    -MD -MF libelf_msize.d -MT libelf_msize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_msize.c
m4 -D SRCDIR=/home/ofry/elftoolchain-githubfork/libelf  libelf_convert.m4 > libelf_convert.c
cc -O2    -MD -MF libelf_convert.d -MT libelf_convert.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c libelf_convert.c
building standard elf library
/mingw64/bin/ranlib libelf.a
cc -O2    -MD -MF elf.d -MT elf.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf.c -o elf.po.o
cc -O2    -MD -MF elf_begin.d -MT elf_begin.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_begin.c -o elf_begin.po.o
cc -O2    -MD -MF elf_cntl.d -MT elf_cntl.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_cntl.c -o elf_cntl.po.o
cc -O2    -MD -MF elf_end.d -MT elf_end.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_end.c -o elf_end.po.o
cc -O2    -MD -MF elf_errmsg.d -MT elf_errmsg.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_errmsg.c -o elf_errmsg.po.o
cc -O2    -MD -MF elf_errno.d -MT elf_errno.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_errno.c -o elf_errno.po.o
cc -O2    -MD -MF elf_data.d -MT elf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_data.c -o elf_data.po.o
cc -O2    -MD -MF elf_fill.d -MT elf_fill.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_fill.c -o elf_fill.po.o
cc -O2    -MD -MF elf_flag.d -MT elf_flag.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_flag.c -o elf_flag.po.o
cc -O2    -MD -MF elf_getarhdr.d -MT elf_getarhdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_getarhdr.c -o elf_getarhdr.po.o
cc -O2    -MD -MF elf_getarsym.d -MT elf_getarsym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_getarsym.c -o elf_getarsym.po.o
cc -O2    -MD -MF elf_getbase.d -MT elf_getbase.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_getbase.c -o elf_getbase.po.o
cc -O2    -MD -MF elf_getident.d -MT elf_getident.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_getident.c -o elf_getident.po.o
cc -O2    -MD -MF elf_hash.d -MT elf_hash.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_hash.c -o elf_hash.po.o
cc -O2    -MD -MF elf_kind.d -MT elf_kind.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_kind.c -o elf_kind.po.o
cc -O2    -MD -MF elf_memory.d -MT elf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_memory.c -o elf_memory.po.o
cc -O2    -MD -MF elf_next.d -MT elf_next.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_next.c -o elf_next.po.o
cc -O2    -MD -MF elf_open.d -MT elf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_open.c -o elf_open.po.o
cc -O2    -MD -MF elf_rand.d -MT elf_rand.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_rand.c -o elf_rand.po.o
cc -O2    -MD -MF elf_rawfile.d -MT elf_rawfile.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_rawfile.c -o elf_rawfile.po.o
cc -O2    -MD -MF elf_phnum.d -MT elf_phnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_phnum.c -o elf_phnum.po.o
cc -O2    -MD -MF elf_shnum.d -MT elf_shnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_shnum.c -o elf_shnum.po.o
cc -O2    -MD -MF elf_shstrndx.d -MT elf_shstrndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_shstrndx.c -o elf_shstrndx.po.o
cc -O2    -MD -MF elf_scn.d -MT elf_scn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_scn.c -o elf_scn.po.o
cc -O2    -MD -MF elf_strptr.d -MT elf_strptr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_strptr.c -o elf_strptr.po.o
elf_strptr.c: In function 'elf_strptr':
elf_strptr.c:109:13: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  109 |     count = roundup2(count, alignment);
      |             ^~~~~~~~
cc -O2    -MD -MF elf_update.d -MT elf_update.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_update.c -o elf_update.po.o
elf_update.c: In function '_libelf_compute_section_extents':
elf_update.c:258:15: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  258 |    scn_size = roundup2(scn_size, d->d_align);
      |               ^~~~~~~~
elf_update.c:317:14: warning: implicit declaration of function 'roundup' [-Wimplicit-function-declaration]
  317 |  sh_offset = roundup((uint64_t) rc, sh_align);
      |              ^~~~~~~
cc -O2    -MD -MF elf_version.d -MT elf_version.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF elf_version.c -o elf_version.po.o
cc -O2    -MD -MF gelf_cap.d -MT gelf_cap.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_cap.c -o gelf_cap.po.o
cc -O2    -MD -MF gelf_checksum.d -MT gelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_checksum.c -o gelf_checksum.po.o
cc -O2    -MD -MF gelf_dyn.d -MT gelf_dyn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_dyn.c -o gelf_dyn.po.o
cc -O2    -MD -MF gelf_ehdr.d -MT gelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_ehdr.c -o gelf_ehdr.po.o
cc -O2    -MD -MF gelf_getclass.d -MT gelf_getclass.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_getclass.c -o gelf_getclass.po.o
cc -O2    -MD -MF gelf_fsize.d -MT gelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_fsize.c -o gelf_fsize.po.o
cc -O2    -MD -MF gelf_move.d -MT gelf_move.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_move.c -o gelf_move.po.o
cc -O2    -MD -MF gelf_phdr.d -MT gelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_phdr.c -o gelf_phdr.po.o
cc -O2    -MD -MF gelf_rel.d -MT gelf_rel.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_rel.c -o gelf_rel.po.o
cc -O2    -MD -MF gelf_rela.d -MT gelf_rela.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_rela.c -o gelf_rela.po.o
cc -O2    -MD -MF gelf_shdr.d -MT gelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_shdr.c -o gelf_shdr.po.o
cc -O2    -MD -MF gelf_sym.d -MT gelf_sym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_sym.c -o gelf_sym.po.o
cc -O2    -MD -MF gelf_syminfo.d -MT gelf_syminfo.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_syminfo.c -o gelf_syminfo.po.o
cc -O2    -MD -MF gelf_symshndx.d -MT gelf_symshndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_symshndx.c -o gelf_symshndx.po.o
cc -O2    -MD -MF gelf_xlate.d -MT gelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF gelf_xlate.c -o gelf_xlate.po.o
cc -O2    -MD -MF libelf_align.d -MT libelf_align.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_align.c -o libelf_align.po.o
cc -O2    -MD -MF libelf_allocate.d -MT libelf_allocate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_allocate.c -o libelf_allocate.po.o
cc -O2    -MD -MF libelf_ar.d -MT libelf_ar.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_ar.c -o libelf_ar.po.o
cc -O2    -MD -MF libelf_ar_util.d -MT libelf_ar_util.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_ar_util.c -o libelf_ar_util.po.o
cc -O2    -MD -MF libelf_checksum.d -MT libelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_checksum.c -o libelf_checksum.po.o
cc -O2    -MD -MF libelf_data.d -MT libelf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_data.c -o libelf_data.po.o
cc -O2    -MD -MF libelf_ehdr.d -MT libelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_ehdr.c -o libelf_ehdr.po.o
cc -O2    -MD -MF libelf_elfmachine.d -MT libelf_elfmachine.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_elfmachine.c -o libelf_elfmachine.po.o
cc -O2    -MD -MF libelf_extended.d -MT libelf_extended.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_extended.c -o libelf_extended.po.o
cc -O2    -MD -MF libelf_memory.d -MT libelf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_memory.c -o libelf_memory.po.o
cc -O2    -MD -MF libelf_open.d -MT libelf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_open.c -o libelf_open.po.o
libelf_open.c: In function '_libelf_open_object':
libelf_open.c:147:7: warning: implicit declaration of function 'S_ISSOCK' [-Wimplicit-function-declaration]
  147 |      !S_ISSOCK(mode)) {
      |       ^~~~~~~~
cc -O2    -MD -MF libelf_phdr.d -MT libelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_phdr.c -o libelf_phdr.po.o
cc -O2    -MD -MF libelf_shdr.d -MT libelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_shdr.c -o libelf_shdr.po.o
cc -O2    -MD -MF libelf_xlate.d -MT libelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_xlate.c -o libelf_xlate.po.o
cc -O2    -MD -MF libelf_fsize.d -MT libelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_fsize.c -o libelf_fsize.po.o
cc -O2    -MD -MF libelf_msize.d -MT libelf_msize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_msize.c -o libelf_msize.po.o
cc -O2    -MD -MF libelf_convert.d -MT libelf_convert.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -pg -DGPROF -DPROF libelf_convert.c -o libelf_convert.po.o
building profiled elf library
/mingw64/bin/ranlib libelf_p.a
cc -O2    -MD -MF elf.d -MT elf.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf.c -o elf.pico.o
ld -x -r elf.pico.o -o elf.pico
cc -O2    -MD -MF elf_begin.d -MT elf_begin.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_begin.c -o elf_begin.pico.o
ld -x -r elf_begin.pico.o -o elf_begin.pico
cc -O2    -MD -MF elf_cntl.d -MT elf_cntl.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_cntl.c -o elf_cntl.pico.o
ld -x -r elf_cntl.pico.o -o elf_cntl.pico
cc -O2    -MD -MF elf_end.d -MT elf_end.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_end.c -o elf_end.pico.o
ld -x -r elf_end.pico.o -o elf_end.pico
cc -O2    -MD -MF elf_errmsg.d -MT elf_errmsg.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_errmsg.c -o elf_errmsg.pico.o
ld -x -r elf_errmsg.pico.o -o elf_errmsg.pico
cc -O2    -MD -MF elf_errno.d -MT elf_errno.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_errno.c -o elf_errno.pico.o
ld -x -r elf_errno.pico.o -o elf_errno.pico
cc -O2    -MD -MF elf_data.d -MT elf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_data.c -o elf_data.pico.o
ld -x -r elf_data.pico.o -o elf_data.pico
cc -O2    -MD -MF elf_fill.d -MT elf_fill.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_fill.c -o elf_fill.pico.o
ld -x -r elf_fill.pico.o -o elf_fill.pico
cc -O2    -MD -MF elf_flag.d -MT elf_flag.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_flag.c -o elf_flag.pico.o
ld -x -r elf_flag.pico.o -o elf_flag.pico
cc -O2    -MD -MF elf_getarhdr.d -MT elf_getarhdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_getarhdr.c -o elf_getarhdr.pico.o
ld -x -r elf_getarhdr.pico.o -o elf_getarhdr.pico
cc -O2    -MD -MF elf_getarsym.d -MT elf_getarsym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_getarsym.c -o elf_getarsym.pico.o
ld -x -r elf_getarsym.pico.o -o elf_getarsym.pico
cc -O2    -MD -MF elf_getbase.d -MT elf_getbase.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_getbase.c -o elf_getbase.pico.o
ld -x -r elf_getbase.pico.o -o elf_getbase.pico
cc -O2    -MD -MF elf_getident.d -MT elf_getident.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_getident.c -o elf_getident.pico.o
ld -x -r elf_getident.pico.o -o elf_getident.pico
cc -O2    -MD -MF elf_hash.d -MT elf_hash.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_hash.c -o elf_hash.pico.o
ld -x -r elf_hash.pico.o -o elf_hash.pico
cc -O2    -MD -MF elf_kind.d -MT elf_kind.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_kind.c -o elf_kind.pico.o
ld -x -r elf_kind.pico.o -o elf_kind.pico
cc -O2    -MD -MF elf_memory.d -MT elf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_memory.c -o elf_memory.pico.o
ld -x -r elf_memory.pico.o -o elf_memory.pico
cc -O2    -MD -MF elf_next.d -MT elf_next.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_next.c -o elf_next.pico.o
ld -x -r elf_next.pico.o -o elf_next.pico
cc -O2    -MD -MF elf_open.d -MT elf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_open.c -o elf_open.pico.o
ld -x -r elf_open.pico.o -o elf_open.pico
cc -O2    -MD -MF elf_rand.d -MT elf_rand.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_rand.c -o elf_rand.pico.o
ld -x -r elf_rand.pico.o -o elf_rand.pico
cc -O2    -MD -MF elf_rawfile.d -MT elf_rawfile.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_rawfile.c -o elf_rawfile.pico.o
ld -x -r elf_rawfile.pico.o -o elf_rawfile.pico
cc -O2    -MD -MF elf_phnum.d -MT elf_phnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_phnum.c -o elf_phnum.pico.o
ld -x -r elf_phnum.pico.o -o elf_phnum.pico
cc -O2    -MD -MF elf_shnum.d -MT elf_shnum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_shnum.c -o elf_shnum.pico.o
ld -x -r elf_shnum.pico.o -o elf_shnum.pico
cc -O2    -MD -MF elf_shstrndx.d -MT elf_shstrndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_shstrndx.c -o elf_shstrndx.pico.o
ld -x -r elf_shstrndx.pico.o -o elf_shstrndx.pico
cc -O2    -MD -MF elf_scn.d -MT elf_scn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_scn.c -o elf_scn.pico.o
ld -x -r elf_scn.pico.o -o elf_scn.pico
cc -O2    -MD -MF elf_strptr.d -MT elf_strptr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_strptr.c -o elf_strptr.pico.o
elf_strptr.c: In function 'elf_strptr':
elf_strptr.c:109:13: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  109 |     count = roundup2(count, alignment);
      |             ^~~~~~~~
ld -x -r elf_strptr.pico.o -o elf_strptr.pico
cc -O2    -MD -MF elf_update.d -MT elf_update.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_update.c -o elf_update.pico.o
elf_update.c: In function '_libelf_compute_section_extents':
elf_update.c:258:15: warning: implicit declaration of function 'roundup2' [-Wimplicit-function-declaration]
  258 |    scn_size = roundup2(scn_size, d->d_align);
      |               ^~~~~~~~
elf_update.c:317:14: warning: implicit declaration of function 'roundup' [-Wimplicit-function-declaration]
  317 |  sh_offset = roundup((uint64_t) rc, sh_align);
      |              ^~~~~~~
ld -x -r elf_update.pico.o -o elf_update.pico
cc -O2    -MD -MF elf_version.d -MT elf_version.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC elf_version.c -o elf_version.pico.o
ld -x -r elf_version.pico.o -o elf_version.pico
cc -O2    -MD -MF gelf_cap.d -MT gelf_cap.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_cap.c -o gelf_cap.pico.o
ld -x -r gelf_cap.pico.o -o gelf_cap.pico
cc -O2    -MD -MF gelf_checksum.d -MT gelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_checksum.c -o gelf_checksum.pico.o
ld -x -r gelf_checksum.pico.o -o gelf_checksum.pico
cc -O2    -MD -MF gelf_dyn.d -MT gelf_dyn.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_dyn.c -o gelf_dyn.pico.o
ld -x -r gelf_dyn.pico.o -o gelf_dyn.pico
cc -O2    -MD -MF gelf_ehdr.d -MT gelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_ehdr.c -o gelf_ehdr.pico.o
ld -x -r gelf_ehdr.pico.o -o gelf_ehdr.pico
cc -O2    -MD -MF gelf_getclass.d -MT gelf_getclass.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_getclass.c -o gelf_getclass.pico.o
ld -x -r gelf_getclass.pico.o -o gelf_getclass.pico
cc -O2    -MD -MF gelf_fsize.d -MT gelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_fsize.c -o gelf_fsize.pico.o
ld -x -r gelf_fsize.pico.o -o gelf_fsize.pico
cc -O2    -MD -MF gelf_move.d -MT gelf_move.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_move.c -o gelf_move.pico.o
ld -x -r gelf_move.pico.o -o gelf_move.pico
cc -O2    -MD -MF gelf_phdr.d -MT gelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_phdr.c -o gelf_phdr.pico.o
ld -x -r gelf_phdr.pico.o -o gelf_phdr.pico
cc -O2    -MD -MF gelf_rel.d -MT gelf_rel.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_rel.c -o gelf_rel.pico.o
ld -x -r gelf_rel.pico.o -o gelf_rel.pico
cc -O2    -MD -MF gelf_rela.d -MT gelf_rela.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_rela.c -o gelf_rela.pico.o
ld -x -r gelf_rela.pico.o -o gelf_rela.pico
cc -O2    -MD -MF gelf_shdr.d -MT gelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_shdr.c -o gelf_shdr.pico.o
ld -x -r gelf_shdr.pico.o -o gelf_shdr.pico
cc -O2    -MD -MF gelf_sym.d -MT gelf_sym.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_sym.c -o gelf_sym.pico.o
ld -x -r gelf_sym.pico.o -o gelf_sym.pico
cc -O2    -MD -MF gelf_syminfo.d -MT gelf_syminfo.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_syminfo.c -o gelf_syminfo.pico.o
ld -x -r gelf_syminfo.pico.o -o gelf_syminfo.pico
cc -O2    -MD -MF gelf_symshndx.d -MT gelf_symshndx.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_symshndx.c -o gelf_symshndx.pico.o
ld -x -r gelf_symshndx.pico.o -o gelf_symshndx.pico
cc -O2    -MD -MF gelf_xlate.d -MT gelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC gelf_xlate.c -o gelf_xlate.pico.o
ld -x -r gelf_xlate.pico.o -o gelf_xlate.pico
cc -O2    -MD -MF libelf_align.d -MT libelf_align.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_align.c -o libelf_align.pico.o
ld -x -r libelf_align.pico.o -o libelf_align.pico
cc -O2    -MD -MF libelf_allocate.d -MT libelf_allocate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_allocate.c -o libelf_allocate.pico.o
ld -x -r libelf_allocate.pico.o -o libelf_allocate.pico
cc -O2    -MD -MF libelf_ar.d -MT libelf_ar.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_ar.c -o libelf_ar.pico.o
ld -x -r libelf_ar.pico.o -o libelf_ar.pico
cc -O2    -MD -MF libelf_ar_util.d -MT libelf_ar_util.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_ar_util.c -o libelf_ar_util.pico.o
ld -x -r libelf_ar_util.pico.o -o libelf_ar_util.pico
cc -O2    -MD -MF libelf_checksum.d -MT libelf_checksum.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_checksum.c -o libelf_checksum.pico.o
ld -x -r libelf_checksum.pico.o -o libelf_checksum.pico
cc -O2    -MD -MF libelf_data.d -MT libelf_data.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_data.c -o libelf_data.pico.o
ld -x -r libelf_data.pico.o -o libelf_data.pico
cc -O2    -MD -MF libelf_ehdr.d -MT libelf_ehdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_ehdr.c -o libelf_ehdr.pico.o
ld -x -r libelf_ehdr.pico.o -o libelf_ehdr.pico
cc -O2    -MD -MF libelf_elfmachine.d -MT libelf_elfmachine.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_elfmachine.c -o libelf_elfmachine.pico.o
ld -x -r libelf_elfmachine.pico.o -o libelf_elfmachine.pico
cc -O2    -MD -MF libelf_extended.d -MT libelf_extended.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_extended.c -o libelf_extended.pico.o
ld -x -r libelf_extended.pico.o -o libelf_extended.pico
cc -O2    -MD -MF libelf_memory.d -MT libelf_memory.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_memory.c -o libelf_memory.pico.o
ld -x -r libelf_memory.pico.o -o libelf_memory.pico
cc -O2    -MD -MF libelf_open.d -MT libelf_open.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_open.c -o libelf_open.pico.o
libelf_open.c: In function '_libelf_open_object':
libelf_open.c:147:7: warning: implicit declaration of function 'S_ISSOCK' [-Wimplicit-function-declaration]
  147 |      !S_ISSOCK(mode)) {
      |       ^~~~~~~~
ld -x -r libelf_open.pico.o -o libelf_open.pico
cc -O2    -MD -MF libelf_phdr.d -MT libelf_phdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_phdr.c -o libelf_phdr.pico.o
ld -x -r libelf_phdr.pico.o -o libelf_phdr.pico
cc -O2    -MD -MF libelf_shdr.d -MT libelf_shdr.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_shdr.c -o libelf_shdr.pico.o
ld -x -r libelf_shdr.pico.o -o libelf_shdr.pico
cc -O2    -MD -MF libelf_xlate.d -MT libelf_xlate.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_xlate.c -o libelf_xlate.pico.o
ld -x -r libelf_xlate.pico.o -o libelf_xlate.pico
cc -O2    -MD -MF libelf_fsize.d -MT libelf_fsize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_fsize.c -o libelf_fsize.pico.o
ld -x -r libelf_fsize.pico.o -o libelf_fsize.pico
cc -O2    -MD -MF libelf_msize.d -MT libelf_msize.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_msize.c -o libelf_msize.pico.o
ld -x -r libelf_msize.pico.o -o libelf_msize.pico
cc -O2    -MD -MF libelf_convert.d -MT libelf_convert.o -I. -I/home/ofry/elftoolchain-githubfork/libelf -I/home/ofry/elftoolchain-githubfork/libelf/../common -I/home/ofry/elftoolchain-githubfork/libelf/../common//C/msys64     -c -fpic -DPIC libelf_convert.c -o libelf_convert.pico.o
ld -x -r libelf_convert.pico.o -o libelf_convert.pico
building shared object elf library
C:\msys64\mingw64\bin\ar.exe: elf_begin.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_cntl.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_errmsg.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_errno.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_data.pico: warning: no symbol for section '.refptr.elf32_fsize' found
C:\msys64\mingw64\bin\ar.exe: elf_fill.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_flag.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_getarsym.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_getbase.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_getident.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_memory.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_next.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_open.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_rand.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_rawfile.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_phnum.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_shnum.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_shstrndx.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: elf_version.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: gelf_fsize.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: gelf_shdr.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: libelf_ar_util.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: libelf_memory.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: libelf_shdr.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: libelf_xlate.pico: warning: no symbol for section '.refptr.elf32_fsize' found
C:\msys64\mingw64\bin\ar.exe: libelf_fsize.pico: warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ar.exe: libelf_msize.pico: warning: no symbol for section '.refptr._libelf' found
/mingw64/bin/ranlib libelf_pic.a
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_begin.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_cntl.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_errmsg.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_errno.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_data.pico): warning: no symbol for section '.refptr.elf32_fsize' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_fill.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_flag.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_getarsym.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_getbase.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_getident.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_memory.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_next.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_open.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_rand.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_rawfile.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_phnum.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_shnum.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_shstrndx.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(elf_version.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(gelf_fsize.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(gelf_shdr.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_ar_util.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_memory.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_shdr.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_xlate.pico): warning: no symbol for section '.refptr.elf32_fsize' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_fsize.pico): warning: no symbol for section '.refptr._libelf' found
C:\msys64\mingw64\bin\ranlib.exe: libelf_pic.a(libelf_msize.pico): warning: no symbol for section '.refptr._libelf' found
building shared elf library (version 1)
ld -o libelf.so.1 -Bshareable -Bforcearchive elf.pico elf_begin.pico elf_cntl.pico elf_end.pico elf_errmsg.pico elf_errno.pico elf_data.pico elf_fill.pico elf_flag.pico elf_getarhdr.pico elf_getarsym.pico elf_getbase.pico elf_getident.pico elf_hash.pico elf_kind.pico elf_memory.pico elf_next.pico elf_open.pico elf_rand.pico elf_rawfile.pico elf_phnum.pico elf_shnum.pico elf_shstrndx.pico elf_scn.pico elf_strptr.pico elf_update.pico elf_version.pico gelf_cap.pico gelf_checksum.pico gelf_dyn.pico gelf_ehdr.pico gelf_getclass.pico gelf_fsize.pico gelf_move.pico gelf_phdr.pico gelf_rel.pico gelf_rela.pico gelf_shdr.pico gelf_sym.pico gelf_syminfo.pico gelf_symshndx.pico gelf_xlate.pico libelf_align.pico libelf_allocate.pico libelf_ar.pico libelf_ar_util.pico libelf_checksum.pico libelf_data.pico libelf_ehdr.pico libelf_elfmachine.pico libelf_extended.pico libelf_memory.pico libelf_open.pico libelf_phdr.pico libelf_shdr.pico libelf_xlate.pico libelf_fsize.pico libelf_msize.pico libelf_convert.pico
C:\msys64\mingw64\bin\ld.exe: эхшчтхёЄэ√щ ярЁрьхЄЁ л-BforcearchiveC:\msys64\mingw64\bin\ld.exe: шёяюы№чєщЄх --help фы  яюыєўхэш  шэЇюЁьрЎшш ю ярЁрьхЄЁрї
*** Error code 1

Stop.
bmake.exe[1]: stopped in C:/msys64/home/ofry/elftoolchain-githubfork/libelf
*** Error code 1

Stop.
bmake.exe[1]: stopped in C:/msys64/home/ofry/elftoolchain-githubfork

Could you explain, what's wrong and how I can fix it? Link to github issue: https://github.com/msys2/MINGW-packages/issues/5859

Discussion


Log in to post a comment.