Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help for build #4

Open
corcepts opened this issue Feb 8, 2020 · 4 comments
Open

Help for build #4

corcepts opened this issue Feb 8, 2020 · 4 comments

Comments

@corcepts
Copy link

corcepts commented Feb 8, 2020

Guys, help, please.

I use mingw 64 bits to compile and in the end of compilation show this erros

github.com/maoxs2/gxminer/go-hwloc
github.com/maoxs2/gxminer/go-randomx

github.com/maoxs2/gxminer/go-randomx

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrandomx
collect2.exe: error: ld returned 1 exit status

github.com/maoxs2/gxminer/go-hwloc

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
collect2.exe: error: ld returned 1 exit status
mv: não foi possível obter estado de 'gxminer*': No such file or directory

Thanks for help!

@c0mm4nd
Copy link
Owner

c0mm4nd commented Feb 10, 2020

you have to manually generate your hwloc config before compiling go-hwloc lib in golang
image

@corcepts
Copy link
Author

corcepts commented Feb 11, 2020

Hi, i Build hwloc, the error continues. it looks like the problem is finding the -lrandomx and the -lhwloc.

serial@corcepts MINGW64 ~/gxminer
$ git clone https://github.com/maoxs2/go-hwloc --recursive
Cloning into 'go-hwloc'...
remote: Enumerating objects: 377, done.
remote: Counting objects: 100% (377/377), done.
remote: Compressing objects: 100% (218/218), done.
remote: Total 377 (delta 187), reused 323 (delta 134), pack-reused 0
Receiving objects: 100% (377/377), 3.19 MiB | 5.32 MiB/s, done.
Resolving deltas: 100% (187/187), done.
Submodule 'hwloc' (https://github.com/open-mpi/hwloc) registered for path 'hwloc'
Cloning into '/home/serial/gxminer/go-hwloc/hwloc'...
remote: Enumerating objects: 67, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 62257 (delta 39), reused 32 (delta 17), pack-reused 62190
Receiving objects: 100% (62257/62257), 36.00 MiB | 8.69 MiB/s, done.
Resolving deltas: 100% (42054/42054), done.
Submodule path 'hwloc': checked out 'a50013f172a5bbd281de7b27101ebc3b66e2460d'

serial@corcepts MINGW64 ~/gxminer
$ cd go-hwloc/hwloc

serial@corcepts MINGW64 ~/gxminer/go-hwloc/hwloc
$ ./autogen.sh
autoreconf: Entering directory .' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I ./config autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, './config'. libtoolize: copying file './config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, './config'. libtoolize: copying file './config/libtool.m4' libtoolize: copying file './config/ltoptions.m4' libtoolize: copying file './config/ltsugar.m4' libtoolize: copying file './config/ltversion.m4' libtoolize: copying file './config/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:87: installing './config/ar-lib' configure.ac:44: installing './config/compile' configure.ac:37: installing './config/config.guess' configure.ac:37: installing './config/config.sub' configure.ac:40: installing './config/install-sh' configure.ac:40: installing './config/missing' contrib/misc/Makefile.am: installing './config/depcomp' parallel-tests: installing './config/test-driver' autoreconf: Leaving directory .'

serial@corcepts MINGW64 ~/gxminer/go-hwloc/hwloc
$ ./configure
configure: loading site script /mingw64/etc/config.site

Configuring hwloc distribution tarball

Startup tests

checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1060200' is supported by ustar format... yes
checking whether GID '1060198' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B
checking the name lister (/mingw64/bin/nm -B) interface... BSD nm
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for archiver @file support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw64/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for as... as
checking for dlltool... (cached) dlltool
checking for objdump... (cached) objdump
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for pkg-config... /mingw64/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... no

Configuring hwloc core

checking hwloc building mode... standalone
configure: hwloc builddir: /home/serial/gxminer/go-hwloc/hwloc
configure: hwloc srcdir: /home/serial/gxminer/go-hwloc/hwloc
checking for hwloc version... 2.2.0a1-git
checking if want hwloc maintainer support... disabled
checking for hwloc directory prefix... (none)
checking for hwloc symbol prefix... hwloc_
checking for gcc option to accept ISO C99... (cached) none needed
checking size of void *... 8
checking which OS support to include... Windows
checking which CPU support to include... x86_64
checking size of unsigned long... 4
checking size of unsigned int... 4
checking for the C compiler vendor... gnu
checking for attribute... yes
checking for attribute(aligned)... yes
checking for attribute(always_inline)... yes
checking for attribute(cold)... yes
checking for attribute(const)... yes
checking for attribute(deprecated)... yes
checking for attribute(format)... yes
checking for attribute(hot)... yes
checking for attribute(malloc)... yes
checking for attribute(may_alias)... yes
checking for attribute(no_instrument_function)... yes
checking for attribute(nonnull)... yes
checking for attribute(noreturn)... yes
checking for attribute(packed)... yes
checking for attribute(pure)... yes
checking for attribute(sentinel)... yes
checking for attribute(unused)... yes
checking for attribute(warn_unused_result)... yes
checking for attribute(weak_alias)... yes
checking whether to enable symbol visibility... no (disabled)
checking whether the C compiler rejects function calls with too many arguments... yes
checking whether the C compiler rejects function calls with too few arguments... yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for strings.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for strcasecmp... yes
checking whether strcasecmp is declared... yes
checking whether function strcasecmp has a complete prototype... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... yes
checking whether function strncasecmp has a complete prototype... yes
checking for strftime... yes
checking for setlocale... yes
checking for stdint.h... (cached) yes
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for KAFFINITY... yes
checking for PROCESSOR_CACHE_TYPE... yes
checking for CACHE_DESCRIPTOR... yes
checking for LOGICAL_PROCESSOR_RELATIONSHIP... yes
checking for RelationProcessorPackage... no
checking for SYSTEM_LOGICAL_PROCESSOR_INFORMATION... yes
checking for GROUP_AFFINITY... yes
checking for PROCESSOR_RELATIONSHIP... yes
checking for NUMA_NODE_RELATIONSHIP... yes
checking for CACHE_RELATIONSHIP... yes
checking for PROCESSOR_GROUP_INFO... yes
checking for GROUP_RELATIONSHIP... yes
checking for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX... yes
checking for PSAPI_WORKING_SET_EX_BLOCK... no
checking for PSAPI_WORKING_SET_EX_INFORMATION... no
checking for PROCESSOR_NUMBER... yes
checking for main in -lgdi32... yes
checking for PostQuitMessage in -luser32... yes
checking windows.h usability... yes
checking windows.h presence... yes
checking for windows.h... yes
checking sys/lgrp_user.h usability... no
checking sys/lgrp_user.h presence... no
checking for sys/lgrp_user.h... no
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking whether fabsf is declared... yes
checking for fabsf in -lm... yes
checking whether modff is declared... yes
checking for modff in -lm... yes
checking picl.h usability... no
checking picl.h presence... no
checking for picl.h... no
checking whether _SC_NPROCESSORS_ONLN is declared... no
checking whether _SC_NPROCESSORS_CONF is declared... no
checking whether _SC_NPROC_ONLN is declared... no
checking whether _SC_NPROC_CONF is declared... no
checking whether _SC_PAGESIZE is declared... no
checking whether _SC_PAGE_SIZE is declared... no
checking whether _SC_LARGE_PAGESIZE is declared... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking mach/mach_init.h usability... no
checking mach/mach_init.h presence... no
checking for mach/mach_init.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... no
checking whether strtoull is declared... yes
checking for ssize_t... yes
checking whether snprintf is declared... yes
checking whether _strdup is declared... yes
checking whether _putenv is declared... yes
checking whether snprintf is correct... no
checking for sysctl... no
checking for sysctlbyname... no
checking whether getprogname is declared... no
checking whether getexecname is declared... no
checking whether GetModuleFileName is declared... yes
checking for program_invocation_name... no
checking for __progname... no
checking whether sched_getcpu is declared... no
checking whether sched_setaffinity is declared... no
checking for working CPU_SET... no
checking for working CPU_SET_S... no
checking for working syscall with 6 parameters... no
checking for lib... no
checking for bash... /bin/sh
checking for ffs... no
checking for ffsl... no
checking for fls... no
checking for flsl... no
checking for clz... no
checking for clzl... no
checking for openat... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for getpagesize... yes
checking for memalign... no
checking for posix_memalign... no
checking sys/utsname.h usability... no
checking sys/utsname.h presence... no
checking for sys/utsname.h... no
checking for uname... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking whether RUNNING_ON_VALGRIND is declared... no
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking whether pthread_setaffinity_np is declared... no
checking whether pthread_getaffinity_np is declared... no
checking for sched_setaffinity... no
checking for sys/cpuset.h... no
checking for cpuset_setaffinity... no
checking for library containing pthread_getthrds_np... no
checking for cpuset_setid... no
checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
checking for PCIACCESS... no
checking pciaccess.h usability... no
checking pciaccess.h presence... no
checking for pciaccess.h... no
checking CL/cl_ext.h usability... no
checking CL/cl_ext.h presence... no
checking for CL/cl_ext.h... no
checking cuda.h usability... no
checking cuda.h presence... no
checking for cuda.h... no
checking cuda_runtime_api.h usability... no
checking cuda_runtime_api.h presence... no
checking for cuda_runtime_api.h... no
checking nvml.h usability... no
checking nvml.h presence... no
checking for nvml.h... no
checking X11/Xlib.h usability... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
configure: WARNING: X11 not found; GL disabled
checking NVCtrl/NVCtrl.h usability... no
checking NVCtrl/NVCtrl.h presence... no
checking for NVCtrl/NVCtrl.h... no
checking for LIBXML2... no
checking for x86 cpuid... yes
checking for pthread_mutex_lock... yes
checking if plugin support is enabled... no
checking components to build statically... noos xml synthetic xml_nolibxml windows x86
checking components to build as plugins...

Configuring netloc core

checking for asprintf... yes
checking if netloc supports this platform... no (Windows platform)
checking for SCOTCH_archSub in -lscotch... no
checking mpi.h usability... no
checking mpi.h presence... no
checking for mpi.h... no
checking for xz... yes
checking for diff... /usr/bin/diff

Configuring hwloc documentation

checking if this is a developer build... yes
checking for doxygen... no
checking for pdflatex... no
checking for makeindex... no
checking for fig2dev... no
checking for gs... no
checking for epstopdf... no
checking if can build doxygen docs... no
checking for w3m... no
checking for lynx... no
checking if can build top-level README... no
checking if will build doxygen docs... no
checking if will install doxygen docs... no
checking whether to enable "picky" compiler mode... yes (default)

Configuring hwloc command line utilities

checking for CAIRO... no
checking for wchar_t... yes
checking for putwc... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... (cached) yes
checking for uselocale... no
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking langinfo.h usability... no
checking langinfo.h presence... no
checking for langinfo.h... no
checking termcap support using ncurses and ... no
checking termcap support using ncurses and -ltermcap... no
checking termcap support using ncurses and -lncursesw... no
checking termcap support using ncurses and -lncurses... no
checking termcap support using curses and ... no
checking termcap support using curses and -ltermcap... no
checking termcap support using curses and -lcursesw... no
checking termcap support using curses and -lcurses... no
checking whether diff accepts -u... yes
checking whether diff accepts -w... yes
checking whether bind is declared... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime... yes

Configuring tests

checking for pthread_self in -lpthread... yes
checking for NUMA... no
checking for numa_available in -lnuma... no
checking for stdlib.h... (cached) yes
checking for mkstemp... yes
checking infiniband/verbs.h usability... no
checking infiniband/verbs.h presence... no
checking for infiniband/verbs.h... no
checking for xmllint... xmllint
checking for bunzip2... bunzip2
checking if CXX works... yes
checking whether diff accepts -u... yes

Performing final hwloc configuration

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating hwloc/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/doxygen-config.cfg
config.status: creating utils/Makefile
config.status: creating utils/hwloc/Makefile
config.status: creating utils/lstopo/Makefile
config.status: creating hwloc.pc
config.status: creating netloc/Makefile
config.status: creating utils/netloc/infiniband/Makefile
config.status: creating utils/netloc/draw/Makefile
config.status: creating utils/netloc/scotch/Makefile
config.status: creating utils/netloc/mpi/Makefile
config.status: creating netloc.pc
config.status: creating netlocscotch.pc
config.status: creating tests/Makefile
config.status: creating tests/hwloc/Makefile
config.status: creating tests/hwloc/linux/Makefile
config.status: creating tests/hwloc/linux/allowed/Makefile
config.status: creating tests/hwloc/linux/gather/Makefile
config.status: creating tests/hwloc/x86/Makefile
config.status: creating tests/hwloc/x86+linux/Makefile
config.status: creating tests/hwloc/xml/Makefile
config.status: creating tests/hwloc/ports/Makefile
config.status: creating tests/hwloc/rename/Makefile
config.status: creating tests/hwloc/linux/allowed/test-topology.sh
config.status: creating tests/hwloc/linux/gather/test-gather-topology.sh
config.status: creating tests/hwloc/linux/test-topology.sh
config.status: creating tests/hwloc/x86/test-topology.sh
config.status: creating tests/hwloc/x86+linux/test-topology.sh
config.status: creating tests/hwloc/xml/test-topology.sh
config.status: creating tests/hwloc/wrapper.sh
config.status: creating utils/hwloc/hwloc-compress-dir
config.status: creating utils/hwloc/hwloc-gather-topology
config.status: creating utils/hwloc/test-hwloc-annotate.sh
config.status: creating utils/hwloc/test-hwloc-calc.sh
config.status: creating utils/hwloc/test-hwloc-compress-dir.sh
config.status: creating utils/hwloc/test-hwloc-diffpatch.sh
config.status: creating utils/hwloc/test-hwloc-distrib.sh
config.status: creating utils/hwloc/test-hwloc-info.sh
config.status: creating utils/hwloc/test-fake-plugin.sh
config.status: creating utils/hwloc/test-hwloc-dump-hwdata/Makefile
config.status: creating utils/hwloc/test-hwloc-dump-hwdata/test-hwloc-dump-hwdata.sh
config.status: creating utils/lstopo/test-lstopo.sh
config.status: creating utils/lstopo/test-lstopo-shmem.sh
config.status: creating utils/netloc/infiniband/netloc_ib_gather_raw
config.status: creating contrib/hwloc-ps.www/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating contrib/misc/Makefile
config.status: creating contrib/windows/Makefile
config.status: creating contrib/windows/test-windows-version.sh
config.status: creating tests/netloc/Makefile
config.status: creating tests/netloc/tests.sh
config.status: creating include/private/autogen/config.h
config.status: creating include/hwloc/autogen/config.h
config.status: linking hwloc/topology-solaris.c to tests/hwloc/ports/topology-solaris.c
config.status: linking hwloc/topology-solaris-chiptype.c to tests/hwloc/ports/topology-solaris-chiptype.c
config.status: linking hwloc/topology-aix.c to tests/hwloc/ports/topology-aix.c
config.status: linking hwloc/topology-windows.c to tests/hwloc/ports/topology-windows.c
config.status: linking hwloc/topology-darwin.c to tests/hwloc/ports/topology-darwin.c
config.status: linking hwloc/topology-freebsd.c to tests/hwloc/ports/topology-freebsd.c
config.status: linking hwloc/topology-netbsd.c to tests/hwloc/ports/topology-netbsd.c
config.status: linking hwloc/topology-hpux.c to tests/hwloc/ports/topology-hpux.c
config.status: linking hwloc/topology-bgq.c to tests/hwloc/ports/topology-bgq.c
config.status: linking hwloc/topology-opencl.c to tests/hwloc/ports/topology-opencl.c
config.status: linking hwloc/topology-cuda.c to tests/hwloc/ports/topology-cuda.c
config.status: linking hwloc/topology-nvml.c to tests/hwloc/ports/topology-nvml.c
config.status: linking hwloc/topology-gl.c to tests/hwloc/ports/topology-gl.c
config.status: linking utils/lstopo/lstopo-windows.c to tests/hwloc/ports/lstopo-windows.c
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing chmoding-scripts commands


Hwloc optional build support status (more details can be found above):

Probe / display I/O devices: no
Graphical output: yes (Windows)
XML input / output: basic
Netloc functionality: no
Plugin support: no

serial@corcepts MINGW64 ~/gxminer/go-hwloc/hwloc
$ make
Making all in include
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

make[1]: Nada a ser feito para 'all'.
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

Making all in hwloc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/hwloc'

CC topology.lo
CC traversal.lo
CC distances.lo
distances.c: In function 'hwloc_internal_distances_add':
distances.c:444:26: warning: unknown conversion type character 'l' in format [-Wformat=]
444 | fprintf(stderr, " % 5lld", (long long) values[inbobjs + j]);
| ^
distances.c:444:20: warning: too many arguments for format [-Wformat-extra-args]
444 | fprintf(stderr, " % 5lld", (long long) values[i
nbobjs + j]);
| ^~~~~~~~~
distances.c:444:26: warning: unknown conversion type character 'l' in format [-Wformat=]
444 | fprintf(stderr, " % 5lld", (long long) values[inbobjs + j]);
| ^
distances.c:444:20: warning: too many arguments for format [-Wformat-extra-args]
444 | fprintf(stderr, " % 5lld", (long long) values[i
nbobjs + j]);
| ^~~~~~~~~
distances.c: In function 'hwloc__find_groups_by_min_distance':
distances.c:929:43: warning: unknown conversion type character 'l' in format [-Wformat=]
929 | hwloc_debug(" found minimal distance %llu between objects\n", (unsigned long long) min_distance);
| ^
distances.c:929:15: warning: too many arguments for format [-Wformat-extra-args]
929 | hwloc_debug(" found minimal distance %llu between objects\n", (unsigned long long) min_distance);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c:980:88: warning: unknown conversion type character 'l' in format [-Wformat=]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ^
distances.c:980:101: warning: format '%f' expects argument of type 'double', but argument 4 has type 'long long unsigned int' [-Wformat=]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ~^
| |
| double
| %I64d
981 | size, (unsigned long long) min_distance, accuracy);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long long unsigned int
distances.c:980:23: warning: too many arguments for format [-Wformat-extra-args]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c:980:88: warning: unknown conversion type character 'l' in format [-Wformat=]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ^
distances.c:980:101: warning: format '%f' expects argument of type 'double', but argument 4 has type 'long long unsigned int' [-Wformat=]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ~^
| |
| double
| %I64d
981 | size, (unsigned long long) min_distance, accuracy);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long long unsigned int
distances.c:980:23: warning: too many arguments for format [-Wformat-extra-args]
980 | fprintf(stderr, " Found transitive graph with %u objects with minimal distance %llu accuracy %f\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c: In function 'hwloc__check_grouping_matrix':
distances.c:1002:60: warning: unknown conversion type character 'l' in format [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^
distances.c:1002:68: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ~^
| |
| unsigned int
| %I64u
distances.c:1002:76: warning: unknown conversion type character 'l' in format [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^
distances.c:1002:20: warning: too many arguments for format [-Wformat-extra-args]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c:1002:60: warning: unknown conversion type character 'l' in format [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^
distances.c:1002:68: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ~^
| |
| unsigned int
| %I64u
distances.c:1002:76: warning: unknown conversion type character 'l' in format [-Wformat=]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^
distances.c:1002:20: warning: too many arguments for format [-Wformat-extra-args]
1002 | fprintf(stderr, " Distance matrix asymmetric ([%u,%u]=%llu != [%u,%u]=%llu), aborting\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c:1009:71: warning: unknown conversion type character 'l' in format [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^
distances.c:1009:79: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ~^
| |
| unsigned int
| %I64u
distances.c:1009:87: warning: unknown conversion type character 'l' in format [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^
distances.c:1009:20: warning: too many arguments for format [-Wformat-extra-args]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
distances.c:1009:71: warning: unknown conversion type character 'l' in format [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^
distances.c:1009:79: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ~^
| |
| unsigned int
| %I64u
distances.c:1009:87: warning: unknown conversion type character 'l' in format [-Wformat=]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^
distances.c:1009:20: warning: too many arguments for format [-Wformat-extra-args]
1009 | fprintf(stderr, " Distance to self not strictly minimal ([%u,%u]=%llu <= [%u,%u]=%llu), aborting\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC components.lo
CC bind.lo
CC bitmap.lo
CC pci-common.lo
CC diff.lo
CC shmem.lo
CC misc.lo
CC base64.lo
CC topology-noos.lo
CC topology-synthetic.lo
topology-synthetic.c: In function 'hwloc__export_synthetic_obj_attr':
topology-synthetic.c:1218:54: warning: unknown conversion type character 'l' in format [-Wformat=]
1218 | snprintf(cachesize, sizeof(cachesize), "%ssize=%llu",
| ^
topology-synthetic.c:1218:44: warning: too many arguments for format [-Wformat-extra-args]
1218 | snprintf(cachesize, sizeof(cachesize), "%ssize=%llu",
| ^~~~~~~~~~~~~
topology-synthetic.c:1223:52: warning: unknown conversion type character 'l' in format [-Wformat=]
1223 | snprintf(memsize, sizeof(memsize), "%smemory=%llu",
| ^
topology-synthetic.c:1223:40: warning: too many arguments for format [-Wformat-extra-args]
1223 | snprintf(memsize, sizeof(memsize), "%smemory=%llu",
| ^~~~~~~~~~~~~~~
CC topology-xml.lo
topology-xml.c: In function 'hwloc__xml_export_object_contents':
topology-xml.c:2106:21: warning: unknown conversion type character 'l' in format [-Wformat=]
2106 | sprintf(tmp, "%llu", (unsigned long long) obj->gp_index);
| ^
topology-xml.c:2106:18: warning: too many arguments for format [-Wformat-extra-args]
2106 | sprintf(tmp, "%llu", (unsigned long long) obj->gp_index);
| ^~~~~~
topology-xml.c:2106:21: warning: unknown conversion type character 'l' in format [-Wformat=]
2106 | sprintf(tmp, "%llu", (unsigned long long) obj->gp_index);
| ^
topology-xml.c:2106:18: warning: too many arguments for format [-Wformat-extra-args]
2106 | sprintf(tmp, "%llu", (unsigned long long) obj->gp_index);
| ^~~~~~
topology-xml.c:2128:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2128 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.local_memory);
| ^
topology-xml.c:2128:20: warning: too many arguments for format [-Wformat-extra-args]
2128 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.local_memory);
| ^~~~~~
topology-xml.c:2128:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2128 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.local_memory);
| ^
topology-xml.c:2128:20: warning: too many arguments for format [-Wformat-extra-args]
2128 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.local_memory);
| ^~~~~~
topology-xml.c:2134:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2134 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].size);
| ^
topology-xml.c:2134:20: warning: too many arguments for format [-Wformat-extra-args]
2134 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].size);
| ^~~~~~
topology-xml.c:2134:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2134 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].size);
| ^
topology-xml.c:2134:20: warning: too many arguments for format [-Wformat-extra-args]
2134 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].size);
| ^~~~~~
topology-xml.c:2136:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2136 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].count);
| ^
topology-xml.c:2136:20: warning: too many arguments for format [-Wformat-extra-args]
2136 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].count);
| ^~~~~~
topology-xml.c:2136:23: warning: unknown conversion type character 'l' in format [-Wformat=]
2136 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].count);
| ^
topology-xml.c:2136:20: warning: too many arguments for format [-Wformat-extra-args]
2136 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->numanode.page_types[i].count);
| ^~~~~~
topology-xml.c:2150:21: warning: unknown conversion type character 'l' in format [-Wformat=]
2150 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->cache.size);
| ^
topology-xml.c:2150:18: warning: too many arguments for format [-Wformat-extra-args]
2150 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->cache.size);
| ^~~~~~
topology-xml.c:2150:21: warning: unknown conversion type character 'l' in format [-Wformat=]
2150 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->cache.size);
| ^
topology-xml.c:2150:18: warning: too many arguments for format [-Wformat-extra-args]
2150 | sprintf(tmp, "%llu", (unsigned long long) obj->attr->cache.size);
| ^~~~~~
topology-xml.c: In function 'hwloc___xml_v2export_distances':
topology-xml.c:2546:34: warning: unknown conversion type character 'l' in format [-Wformat=]
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:34: note: in definition of macro 'EXPORT_TYPE_GPINDEX_ARRAY'
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:40: note: format string is defined here
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^
topology-xml.c:2546:34: warning: too many arguments for format [-Wformat-extra-args]
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:34: note: in definition of macro 'EXPORT_TYPE_GPINDEX_ARRAY'
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:34: warning: unknown conversion type character 'l' in format [-Wformat=]
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:34: note: in definition of macro 'EXPORT_TYPE_GPINDEX_ARRAY'
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:40: note: format string is defined here
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^
topology-xml.c:2546:34: warning: too many arguments for format [-Wformat-extra-args]
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2546:34: note: in definition of macro 'EXPORT_TYPE_GPINDEX_ARRAY'
2546 | _len += sprintf(_tmp+_len, "%s:%llu ", hwloc_obj_type_string((objs)[_i+_j]->type), (unsigned long long) (objs)[_i+_j]->gp_index);
| ^~~~~~~~~~
topology-xml.c:2585:80: warning: unknown conversion type character 'l' in format [-Wformat=]
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2585:83: note: format string is defined here
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^
topology-xml.c:2585:80: warning: too many arguments for format [-Wformat-extra-args]
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2585:80: warning: unknown conversion type character 'l' in format [-Wformat=]
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2585:83: note: format string is defined here
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^
topology-xml.c:2585:80: warning: too many arguments for format [-Wformat-extra-args]
2585 | EXPORT_ARRAY(&state, unsigned long long, nbobjs, dist->indexes, "indexes", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2587:86: warning: unknown conversion type character 'l' in format [-Wformat=]
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjsnbobjs, dist->values, "u64values", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2587:89: note: format string is defined here
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjs
nbobjs, dist->values, "u64values", "%llu", 10);
| ^
topology-xml.c:2587:86: warning: too many arguments for format [-Wformat-extra-args]
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjsnbobjs, dist->values, "u64values", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2587:86: warning: unknown conversion type character 'l' in format [-Wformat=]
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjs
nbobjs, dist->values, "u64values", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c:2587:89: note: format string is defined here
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjsnbobjs, dist->values, "u64values", "%llu", 10);
| ^
topology-xml.c:2587:86: warning: too many arguments for format [-Wformat-extra-args]
2587 | EXPORT_ARRAY(&state, unsigned long long, nbobjs
nbobjs, dist->values, "u64values", "%llu", 10);
| ^~~~~~
topology-xml.c:2525:34: note: in definition of macro 'EXPORT_ARRAY'
2525 | _len += sprintf(_tmp+_len, format " ", (type) (values)[_i+_j]);
| ^~~~~~
topology-xml.c: In function 'hwloc__xml_export_diff':
topology-xml.c:2676:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2676 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.index);
| ^
topology-xml.c:2676:15: warning: too many arguments for format [-Wformat-extra-args]
2676 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.index);
| ^~~~~~
topology-xml.c:2676:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2676 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.index);
| ^
topology-xml.c:2676:15: warning: too many arguments for format [-Wformat-extra-args]
2676 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.index);
| ^~~~~~
topology-xml.c:2678:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2678 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.oldvalue);
| ^
topology-xml.c:2678:15: warning: too many arguments for format [-Wformat-extra-args]
2678 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.oldvalue);
| ^~~~~~
topology-xml.c:2678:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2678 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.oldvalue);
| ^
topology-xml.c:2678:15: warning: too many arguments for format [-Wformat-extra-args]
2678 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.oldvalue);
| ^~~~~~
topology-xml.c:2680:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2680 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.newvalue);
| ^
topology-xml.c:2680:15: warning: too many arguments for format [-Wformat-extra-args]
2680 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.newvalue);
| ^~~~~~
topology-xml.c:2680:18: warning: unknown conversion type character 'l' in format [-Wformat=]
2680 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.newvalue);
| ^
topology-xml.c:2680:15: warning: too many arguments for format [-Wformat-extra-args]
2680 | sprintf(tmp, "%llu", (unsigned long long) diff->obj_attr.diff.uint64.newvalue);
| ^~~~~~
CC topology-xml-nolibxml.lo
CC topology-windows.lo
topology-windows.c: In function 'hwloc_look_windows':
topology-windows.c:822:28: warning: unknown conversion type character 'l' in format [-Wformat=]
822 | hwloc_debug("%s#%u mask %llx\n", hwloc_obj_type_string(type), id, (unsigned long long) procInfo[i].ProcessorMask);
| ^
topology-windows.c:822:14: warning: too many arguments for format [-Wformat-extra-args]
822 | hwloc_debug("%s#%u mask %llx\n", hwloc_obj_type_string(type), id, (unsigned long long) procInfo[i].ProcessorMask);
| ^~~~~~~~~~~~~~~~~~~
topology-windows.c:957:45: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'KAFFINITY' {aka 'long long unsigned int'} [-Wformat=]
957 | hwloc_debug("group %u %d cpus mask %lx\n", id,
| ~~^
| |
| long unsigned int
| %I64x
958 | procInfo->Group.GroupInfo[id].ActiveProcessorCount, mask);
| ~~~~
| |
| KAFFINITY {aka long long unsigned int}
topology-windows.c:993:44: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'KAFFINITY' {aka 'long long unsigned int'} [-Wformat=]
993 | hwloc_debug("%s#%u %d: mask %d:%lx\n", hwloc_obj_type_string(type), id, i, GroupMask[i].Group, GroupMask[i].Mask);
| ~~^ ~~~~~~~~~~~~~~~~~
| | |
| long unsigned int KAFFINITY {aka long long unsigned int}
| %I64x
CC topology-x86.lo
CCLD libhwloc.la
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/hwloc'

Making all in utils
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

Making all in hwloc
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

Making all in .
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

CC hwloc-annotate.o
CCLD hwloc-annotate.exe
CC hwloc-bind.o
CCLD hwloc-bind.exe
CC hwloc-calc.o
CCLD hwloc-calc.exe
CC hwloc-diff.o
CCLD hwloc-diff.exe
CC hwloc-distrib.o
CCLD hwloc-distrib.exe
CC hwloc-info.o
hwloc-info.c: In function 'hwloc_info_show_obj':
hwloc-info.c:79:27: warning: unknown conversion type character 'l' in format [-Wformat=]
79 | printf("%s gp index = %llu\n", prefix, (unsigned long long) obj->gp_index);
| ^
hwloc-info.c:79:10: warning: too many arguments for format [-Wformat-extra-args]
79 | printf("%s gp index = %llu\n", prefix, (unsigned long long) obj->gp_index);
| ^~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:79:27: warning: unknown conversion type character 'l' in format [-Wformat=]
79 | printf("%s gp index = %llu\n", prefix, (unsigned long long) obj->gp_index);
| ^
hwloc-info.c:79:10: warning: too many arguments for format [-Wformat-extra-args]
79 | printf("%s gp index = %llu\n", prefix, (unsigned long long) obj->gp_index);
| ^~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:90:33: warning: unknown conversion type character 'l' in format [-Wformat=]
90 | printf("%s local memory = %llu\n", prefix, (unsigned long long) obj->attr->numanode.local_memory);
| ^
hwloc-info.c:90:12: warning: too many arguments for format [-Wformat-extra-args]
90 | printf("%s local memory = %llu\n", prefix, (unsigned long long) obj->attr->numanode.local_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:90:33: warning: unknown conversion type character 'l' in format [-Wformat=]
90 | printf("%s local memory = %llu\n", prefix, (unsigned long long) obj->attr->numanode.local_memory);
| ^
hwloc-info.c:90:12: warning: too many arguments for format [-Wformat-extra-args]
90 | printf("%s local memory = %llu\n", prefix, (unsigned long long) obj->attr->numanode.local_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:93:33: warning: unknown conversion type character 'l' in format [-Wformat=]
93 | printf("%s total memory = %llu\n", prefix, (unsigned long long) obj->total_memory);
| ^
hwloc-info.c:93:12: warning: too many arguments for format [-Wformat-extra-args]
93 | printf("%s total memory = %llu\n", prefix, (unsigned long long) obj->total_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:93:33: warning: unknown conversion type character 'l' in format [-Wformat=]
93 | printf("%s total memory = %llu\n", prefix, (unsigned long long) obj->total_memory);
| ^
hwloc-info.c:93:12: warning: too many arguments for format [-Wformat-extra-args]
93 | printf("%s total memory = %llu\n", prefix, (unsigned long long) obj->total_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:141:36: warning: unknown conversion type character 'l' in format [-Wformat=]
141 | printf("%s attr cache size = %llu\n", prefix, (unsigned long long) obj->attr->cache.size);
| ^
hwloc-info.c:141:12: warning: too many arguments for format [-Wformat-extra-args]
141 | printf("%s attr cache size = %llu\n", prefix, (unsigned long long) obj->attr->cache.size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hwloc-info.c:141:36: warning: unknown conversion type character 'l' in format [-Wformat=]
141 | printf("%s attr cache size = %llu\n", prefix, (unsigned long long) obj->attr->cache.size);
| ^
hwloc-info.c:141:12: warning: too many arguments for format [-Wformat-extra-args]
141 | printf("%s attr cache size = %llu\n", prefix, (unsigned long long) obj->attr->cache.size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CCLD hwloc-info.exe
CC hwloc-patch.o
CCLD hwloc-patch.exe
CC hwloc-gather-cpuid.o
CCLD hwloc-gather-cpuid.exe
CC common-ps.lo
CCLD libutils_common.la
Creating hwloc.7 man page...
Creating hwloc-annotate.1 man page...
Creating hwloc-bind.1 man page...
Creating hwloc-calc.1 man page...
Creating hwloc-compress-dir.1 man page...
Creating hwloc-diff.1 man page...
Creating hwloc-distrib.1 man page...
Creating hwloc-info.1 man page...
Creating hwloc-patch.1 man page...
Creating hwloc-gather-cpuid.1 man page...
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

Making all in lstopo
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

CC lstopo_no_graphics-lstopo.o
CC lstopo_no_graphics-lstopo-draw.o
lstopo-draw.c: In function 'prepare_text':
lstopo-draw.c:992:25: warning: unknown conversion type character 'l' in format [-Wformat=]
992 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:992:37: warning: unknown conversion type character 'l' in format [-Wformat=]
992 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:992:34: warning: too many arguments for format [-Wformat-extra-args]
992 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^~~~~~~~~
lstopo-draw.c:999:29: warning: unknown conversion type character 'l' in format [-Wformat=]
999 | kb >= 10240 ? "L2 (%llu MB)" : "L2 (%llu kB)",
| ^
lstopo-draw.c:999:46: warning: unknown conversion type character 'l' in format [-Wformat=]
999 | kb >= 10240 ? "L2 (%llu MB)" : "L2 (%llu kB)",
| ^
lstopo-draw.c:999:39: warning: too many arguments for format [-Wformat-extra-args]
999 | kb >= 10240 ? "L2 (%llu MB)" : "L2 (%llu kB)",
| ^~~~~~~~~~~~~~
lstopo-draw.c:1022:25: warning: unknown conversion type character 'l' in format [-Wformat=]
1022 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1022:37: warning: unknown conversion type character 'l' in format [-Wformat=]
1022 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1022:34: warning: too many arguments for format [-Wformat-extra-args]
1022 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^~~~~~~~~
lstopo-draw.c:1033:11: warning: unknown conversion type character 'l' in format [-Wformat=]
1033 | "%llu compute units", cu);
| ^
lstopo-draw.c:1033:8: warning: too many arguments for format [-Wformat-extra-args]
1033 | "%llu compute units", cu);
| ^~~~~~~~~~~~~~~~~~~~
lstopo-draw.c:1039:25: warning: unknown conversion type character 'l' in format [-Wformat=]
1039 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1039:37: warning: unknown conversion type character 'l' in format [-Wformat=]
1039 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1039:34: warning: too many arguments for format [-Wformat-extra-args]
1039 | mb >= 10240 ? "%llu GB" : "%llu MB",
| ^~~~~~~~~
lstopo-draw.c:1051:52: warning: unknown conversion type character 'l' in format [-Wformat=]
1051 | mb >= 10485760 ? "%llu TB" : mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1051:64: warning: unknown conversion type character 'l' in format [-Wformat=]
1051 | mb >= 10485760 ? "%llu TB" : mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1051:26: warning: unknown conversion type character 'l' in format [-Wformat=]
1051 | mb >= 10485760 ? "%llu TB" : mb >= 10240 ? "%llu GB" : "%llu MB",
| ^
lstopo-draw.c:1051:23: warning: too many arguments for format [-Wformat-extra-args]
1051 | mb >= 10485760 ? "%llu TB" : mb >= 10240 ? "%llu GB" : "%llu MB",
| ^~~~~~~~~
CC lstopo_no_graphics-lstopo-fig.o
CC lstopo_no_graphics-lstopo-svg.o
CC lstopo_no_graphics-lstopo-ascii.o
CC lstopo_no_graphics-lstopo-text.o
CC lstopo_no_graphics-lstopo-xml.o
CCLD lstopo-no-graphics.exe
CC lstopo-lstopo.o
CC lstopo-lstopo-draw.o
CC lstopo-lstopo-fig.o
CC lstopo-lstopo-svg.o
CC lstopo-lstopo-ascii.o
CC lstopo-lstopo-text.o
CC lstopo-lstopo-xml.o
CC lstopo-lstopo-windows.o
CCLD lstopo.exe
CC lstopo_win-lstopo.o
CC lstopo_win-lstopo-draw.o
CC lstopo_win-lstopo-fig.o
CC lstopo_win-lstopo-svg.o
CC lstopo_win-lstopo-ascii.o
CC lstopo_win-lstopo-text.o
CC lstopo_win-lstopo-xml.o
CC lstopo_win-lstopo-windows.o
CCLD lstopo-win.exe
Creating lstopo-no-graphics.1 man page...
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[2]: Nada a ser feito para 'all-am'.
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

Making all in tests
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

Making all in hwloc
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

Making all in .
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[3]: Nada a ser feito para 'all-am'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

Making all in ports
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

make[3]: Nada a ser feito para 'all'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

Making all in xml
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

make[3]: Nada a ser feito para 'all'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

Making all in x86
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[3]: Nada a ser feito para 'all'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[2]: Nada a ser feito para 'all-am'.
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

Making all in contrib/systemd
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

make[1]: Nada a ser feito para 'all'.
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

Making all in contrib/misc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

make[1]: Nada a ser feito para 'all'.
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

Making all in contrib/hwloc-ps.www
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

make[1]: Nada a ser feito para 'all'.
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

Making all in doc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make all-recursive
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

Making all in examples
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[3]: Nada a ser feito para 'all'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[3]: Nada a ser feito para 'all-am'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc'

make[1]: Nada a ser feito para 'all-am'.
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc'

serial@corcepts MINGW64 ~/gxminer/go-hwloc/hwloc
$ make install
Making install in include
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

make[2]: Nada a ser feito para 'install-exec-am'.
/usr/bin/mkdir -p '/mingw64/include'
/usr/bin/install -c -m 644 hwloc.h '/mingw64/include'
/usr/bin/mkdir -p '/mingw64/include/hwloc'
/usr/bin/install -c -m 644 hwloc/bitmap.h hwloc/helper.h hwloc/inlines.h hwloc/diff.h hwloc/shmem.h hwloc/distances.h hwloc/export.h hwloc/openfabrics-verbs.h hwloc/opencl.h hwloc/cuda.h hwloc/cudart.h hwloc/nvml.h hwloc/plugins.h hwloc/gl.h hwloc/rename.h hwloc/deprecated.h '/mingw64/include/hwloc'
/usr/bin/mkdir -p '/mingw64/include/hwloc/autogen'
/usr/bin/install -c -m 644 hwloc/autogen/config.h '/mingw64/include/hwloc/autogen'
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/include'

Making install in hwloc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/hwloc'

make[2]: Entering directory '/home/serial/gxminer/go-hwloc/hwloc/hwloc'
/usr/bin/mkdir -p '/mingw64/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libhwloc.la '/mingw64/lib'
libtool: install: /usr/bin/install -c .libs/libhwloc.dll.a /mingw64/lib/libhwloc.dll.a
libtool: install: base_file=basename libhwloc.la
libtool: install: dlpath=/bin/sh 2>&1 -c '. .libs/'libhwloc.la'i; echo libhwloc-0.dll'
libtool: install: dldir=/mingw64/lib/dirname ../bin/libhwloc-0.dll
libtool: install: test -d /mingw64/lib/../bin || mkdir -p /mingw64/lib/../bin
libtool: install: /usr/bin/install -c .libs/libhwloc-0.dll /mingw64/lib/../bin/libhwloc-0.dll
libtool: install: chmod a+x /mingw64/lib/../bin/libhwloc-0.dll
libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /mingw64/lib/../bin/libhwloc-0.dll' || exit 0; fi
libtool: install: /usr/bin/install -c .libs/libhwloc.lai /mingw64/lib/libhwloc.la
make install-exec-hook
make[3]: Entering directory '/home/serial/gxminer/go-hwloc/hwloc/hwloc'
[ ! -r .libs/libhwloc.def ] || /usr/bin/install -c .libs/libhwloc.def /mingw64/lib
make[3]: Leaving directory '/home/serial/gxminer/go-hwloc/hwloc/hwloc'
/usr/bin/mkdir -p '/mingw64/share/hwloc'
/usr/bin/install -c -m 644 ./hwloc.dtd ./hwloc2.dtd ./hwloc2-diff.dtd '/mingw64/share/hwloc'
make[2]: Leaving directory '/home/serial/gxminer/go-hwloc/hwloc/hwloc'
make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/hwloc'

Making install in utils
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

Making install in hwloc
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

Making install in .
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

/usr/bin/mkdir -p '/mingw64/bin'
/bin/sh ../../libtool --mode=install /usr/bin/install -c hwloc-annotate.exe hwloc-bind.exe hwloc-calc.exe hwloc-diff.exe hwloc-distrib.exe hwloc-info.exe hwloc-patch.exe hwloc-gather-cpuid.exe '/mingw64/bin'
libtool: install: /usr/bin/install -c .libs/hwloc-annotate.exe /mingw64/bin/hwloc-annotate.exe
libtool: install: /usr/bin/install -c .libs/hwloc-bind.exe /mingw64/bin/hwloc-bind.exe
libtool: install: /usr/bin/install -c .libs/hwloc-calc.exe /mingw64/bin/hwloc-calc.exe
libtool: install: /usr/bin/install -c .libs/hwloc-diff.exe /mingw64/bin/hwloc-diff.exe
libtool: install: /usr/bin/install -c .libs/hwloc-distrib.exe /mingw64/bin/hwloc-distrib.exe
libtool: install: /usr/bin/install -c .libs/hwloc-info.exe /mingw64/bin/hwloc-info.exe
libtool: install: /usr/bin/install -c .libs/hwloc-patch.exe /mingw64/bin/hwloc-patch.exe
libtool: install: /usr/bin/install -c .libs/hwloc-gather-cpuid.exe /mingw64/bin/hwloc-gather-cpuid.exe
/usr/bin/mkdir -p '/mingw64/bin'
/usr/bin/install -c hwloc-compress-dir '/mingw64/bin'
make install-exec-hook
make[5]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

/usr/bin/sed -e 's/HWLOC_top_builddir/utils/hwloc/bindir/' -e 's/HWLOC_top_builddir/utils/lstopo/bindir/' -e '/HWLOC_top_builddir/d' /mingw64/bin/hwloc-compress-dir > /mingw64/bin/hwloc-compress-dir.tmp && mv -f /mingw64/bin/hwloc-compress-dir.tmp /mingw64/bin/hwloc-compress-dir
chmod +x /mingw64/bin/hwloc-compress-dir
make[5]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

/usr/bin/mkdir -p '/mingw64/share/man/man1'
/usr/bin/install -c -m 644 hwloc-annotate.1 hwloc-bind.1 hwloc-calc.1 hwloc-compress-dir.1 hwloc-diff.1 hwloc-distrib.1 hwloc-info.1 hwloc-patch.1 hwloc-gather-cpuid.1 '/mingw64/share/man/man1'
/usr/bin/mkdir -p '/mingw64/share/man/man7'
/usr/bin/install -c -m 644 hwloc.7 '/mingw64/share/man/man7'
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/hwloc'

Making install in lstopo
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

/usr/bin/mkdir -p '/mingw64/bin'
/bin/sh ../../libtool --mode=install /usr/bin/install -c lstopo-no-graphics.exe lstopo.exe lstopo-win.exe '/mingw64/bin'
libtool: install: /usr/bin/install -c .libs/lstopo-no-graphics.exe /mingw64/bin/lstopo-no-graphics.exe
libtool: install: /usr/bin/install -c .libs/lstopo.exe /mingw64/bin/lstopo.exe
libtool: install: /usr/bin/install -c .libs/lstopo-win.exe /mingw64/bin/lstopo-win.exe
make install-exec-hook
make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

rm -f /mingw64/bin/hwloc-ls.exe
cd /mingw64/bin && cp -pR lstopo-no-graphics.exe hwloc-ls.exe
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

/usr/bin/mkdir -p '/mingw64/share/man/man1'
/usr/bin/install -c -m 644 lstopo-no-graphics.1 '/mingw64/share/man/man1'
make install-data-hook
make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

rm -f /mingw64/share/man/man1/hwloc-ls.1
cd /mingw64/share/man/man1 && cp -pR lstopo-no-graphics.1 hwloc-ls.1
rm -f /mingw64/share/man/man1/lstopo.1
cd /mingw64/share/man/man1 && cp -pR lstopo-no-graphics.1 lstopo.1
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils/lstopo'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[3]: Nada a ser feito para 'install-exec-am'.
make[3]: Nada a ser feito para 'install-data-am'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/utils'

Making install in tests
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

Making install in hwloc
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

Making install in .
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Nada a ser feito para 'install-data-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

Making install in ports
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Nada a ser feito para 'install-data-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/ports'

Making install in xml
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Nada a ser feito para 'install-data-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/xml'

Making install in x86
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Nada a ser feito para 'install-data-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc/x86'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests/hwloc'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[3]: Nada a ser feito para 'install-exec-am'.
make[3]: Nada a ser feito para 'install-data-am'.
make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/tests'

Making install in contrib/systemd
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

make[2]: Nada a ser feito para 'install-exec-am'.
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/systemd'

Making install in contrib/misc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

make[2]: Nada a ser feito para 'install-exec-am'.
make[2]: Nada a ser feito para 'install-data-am'.
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/misc'

Making install in contrib/hwloc-ps.www
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

make[2]: Nada a ser feito para 'install-exec-am'.
/usr/bin/mkdir -p '/mingw64/share/hwloc/hwloc-ps.www'
/usr/bin/install -c -m 644 client.js package.json README '/mingw64/share/hwloc/hwloc-ps.www'
/usr/bin/mkdir -p '/mingw64/share/hwloc/hwloc-ps.www/assets'
/usr/bin/install -c -m 644 assets/index.html assets/main.css assets/script.js assets/style.css '/mingw64/share/hwloc/hwloc-ps.www/assets'
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/contrib/hwloc-ps.www'

Making install in doc
make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make install-recursive
make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

Making install in examples
make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Nada a ser feito para 'install-data-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc/examples'

make[3]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[4]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[4]: Nada a ser feito para 'install-exec-am'.
make[4]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[3]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc/doc'

make[1]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc'

make[2]: Entrando no diretório '/home/serial/gxminer/go-hwloc/hwloc'

make[2]: Nada a ser feito para 'install-exec-am'.
sed -e 's/$/'$'\015'/ < ./README > /mingw64/README.txt
sed -e 's/$/'$'\015'/ < ./NEWS > /mingw64/NEWS.txt
sed -e 's/$/'$'\015'/ < ./COPYING > /mingw64/COPYING.txt
/usr/bin/mkdir -p '/mingw64/etc/bash_completion.d'
/usr/bin/install -c -m 644 contrib/completion/hwloc-completion.bash '/mingw64/etc/bash_completion.d'
/usr/bin/mkdir -p '/mingw64/share/doc/hwloc'
/usr/bin/install -c -m 644 contrib/misc/dynamic_SVG_example.html '/mingw64/share/doc/hwloc'
/usr/bin/mkdir -p '/mingw64/share/hwloc'
/usr/bin/install -c -m 644 contrib/hwloc-valgrind.supp '/mingw64/share/hwloc'
/usr/bin/mkdir -p '/mingw64/lib/pkgconfig'
/usr/bin/install -c -m 644 hwloc.pc '/mingw64/lib/pkgconfig'
make[2]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc'

make[1]: Saindo do diretório '/home/serial/gxminer/go-hwloc/hwloc'

serial@corcepts MINGW64 ~/gxminer/go-hwloc/hwloc
$ cd ..

serial@corcepts MINGW64 ~/gxminer/go-hwloc
$ cd ..

serial@corcepts MINGW64 ~/gxminer
$ bash build.sh random-x
Target random-x
Already on 'random-x'
Your branch is up to date with 'origin/random-x'.
From https://github.com/maoxs2/RandomX

  • branch random-x -> FETCH_HEAD
    Already up to date.
    -- The C compiler identification is GNU 9.2.0
    -- The CXX compiler identification is GNU 9.2.0
    -- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe
    -- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe
    -- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Setting default build type: Release
    -- Performing Test _maes_cxx
    -- Performing Test _maes_cxx - Success
    -- Setting CXX flag -maes
    -- Performing Test _maes_c
    -- Performing Test _maes_c - Success
    -- Setting C flag -maes
    -- Performing Test HAVE_SSSE3
    -- Performing Test HAVE_SSSE3 - Success
    -- Performing Test HAVE_AVX2
    -- Performing Test HAVE_AVX2 - Success
    -- Performing Test HAVE_CXX_ATOMICS
    -- Performing Test HAVE_CXX_ATOMICS - Success
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/msys64/home/serial/GxMiner/go-randomx/RandomX/build
    make[1]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

Scanning dependencies of target randomx
make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

[ 2%] Building CXX object CMakeFiles/randomx.dir/src/aes_hash.cpp.obj
[ 5%] Building C object CMakeFiles/randomx.dir/src/argon2_ref.c.obj
[ 8%] Building C object CMakeFiles/randomx.dir/src/argon2_ssse3.c.obj
[ 11%] Building C object CMakeFiles/randomx.dir/src/argon2_avx2.c.obj
[ 14%] Building CXX object CMakeFiles/randomx.dir/src/bytecode_machine.cpp.obj
[ 17%] Building CXX object CMakeFiles/randomx.dir/src/cpu.cpp.obj
[ 20%] Building CXX object CMakeFiles/randomx.dir/src/dataset.cpp.obj
[ 23%] Building CXX object CMakeFiles/randomx.dir/src/soft_aes.cpp.obj
[ 26%] Building CXX object CMakeFiles/randomx.dir/src/virtual_memory.cpp.obj
[ 29%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted.cpp.obj
[ 32%] Building CXX object CMakeFiles/randomx.dir/src/allocator.cpp.obj
[ 35%] Building CXX object CMakeFiles/randomx.dir/src/instruction.cpp.obj
[ 38%] Building CXX object CMakeFiles/randomx.dir/src/assembly_generator_x86.cpp.obj
[ 41%] Building CXX object CMakeFiles/randomx.dir/src/randomx.cpp.obj
[ 52%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled.cpp.obj
[ 52%] Building CXX object CMakeFiles/randomx.dir/src/blake2_generator.cpp.obj
[ 52%] Building CXX object CMakeFiles/randomx.dir/src/vm_interpreted_light.cpp.obj
[ 52%] Building CXX object CMakeFiles/randomx.dir/src/instructions_portable.cpp.obj
[ 61%] Building C object CMakeFiles/randomx.dir/src/reciprocal.c.obj
[ 61%] Building C object CMakeFiles/randomx.dir/src/argon2_core.c.obj
[ 61%] Building CXX object CMakeFiles/randomx.dir/src/superscalar.cpp.obj
[ 64%] Building CXX object CMakeFiles/randomx.dir/src/virtual_machine.cpp.obj
[ 67%] Building CXX object CMakeFiles/randomx.dir/src/vm_compiled_light.cpp.obj
[ 70%] Building C object CMakeFiles/randomx.dir/src/blake2/blake2b.c.obj
[ 73%] Building CXX object CMakeFiles/randomx.dir/src/jit_compiler_x86.cpp.obj
[ 76%] Building C object CMakeFiles/randomx.dir/src/jit_compiler_x86_static.S.obj
[ 79%] Linking CXX static library librandomx.a
make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

[ 79%] Built target randomx
make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

Scanning dependencies of target randomx-codegen
Scanning dependencies of target randomx-benchmark
make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

Scanning dependencies of target randomx-tests
make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

[ 82%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/benchmark.cpp.obj
[ 88%] Building CXX object CMakeFiles/randomx-codegen.dir/src/tests/code-generator.cpp.obj
[ 88%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/affinity.cpp.obj
make[2]: Entrando no diretório '/home/serial/gxminer/go-randomx/RandomX/build'

[ 91%] Building CXX object CMakeFiles/randomx-tests.dir/src/tests/tests.cpp.obj
[ 94%] Linking CXX executable randomx-codegen.exe
[ 97%] Linking CXX executable randomx-tests.exe
[100%] Linking CXX executable randomx-benchmark.exe
make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

make[2]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

[100%] Built target randomx-codegen
[100%] Built target randomx-benchmark
[100%] Built target randomx-tests
make[1]: Saindo do diretório '/home/serial/gxminer/go-randomx/RandomX/build'

github.com/maoxs2/gxminer/go-hwloc
github.com/maoxs2/gxminer/go-randomx

github.com/maoxs2/gxminer/go-randomx

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrandomx
collect2.exe: error: ld returned 1 exit status

github.com/maoxs2/gxminer/go-hwloc

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhwloc
collect2.exe: error: ld returned 1 exit status
mv: não foi possível obter estado de 'gxminer*': No such file or directory

serial@corcepts MINGW64 ~/gxminer

@c0mm4nd
Copy link
Owner

c0mm4nd commented Feb 13, 2020

  1. Make a dir called "lib" under go-randomx, or just update to this commit mining-pool/go-randomx@ef72dae

  2. Build the static hwloc lib. GxMiner requires the static lib to build a standalone miner, so you should configure the hwloc with static flag before make. Check this official manual https://github.com/open-mpi/hwloc/wiki/StaticBuild

@corcepts
Copy link
Author

Thanks, man! You my hero! Build perfect now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants