Skip to content

Instantly share code, notes, and snippets.

-mtune=generic -march=x86-64 -g2 -O2 -pipe -fPIC -Wformat -Wformat-security -fomit-frame-pointer -fstack-protector-strong --param ssp-buffer-size=4 -fexceptions -D_FORTIFY_SOURCE=2 -feliminate-unused-debug-types -Wno-error
This file has been truncated, but you can view the full file.
==5428== Memcheck, a memory error detector
==5428== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==5428== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==5428== Command: ./visualboyadvance-m
==5428==
==5428== Invalid read of size 16
==5428== at 0x722FA0D: __wcsnlen_sse4_1 (strlen.S:117)
==5428== by 0x721CF31: wcsrtombs (wcsrtombs.c:104)
==5428== by 0x5D04D8F: wxWC2MB(char*, wchar_t const*, unsigned long) (in /usr/lib64/libwx_baseu-3.0.so.0.3.0)
==5428== by 0x5CB3135: wxMBConv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) const (in /usr/lib64/libwx_baseu-3.0.so.0.3.0)
Found Gettext: D:/Deps/build-root/bin/msgmerge.exe (found version "0.19.7")
CMake Error at cmake/HostCompile.cmake:27 (message):
Failed compiling D:/Deps/visualboyadvance-m/src/wx/bin2c.c for the host:
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26726 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
bin2c.c
Found SFML 2.5.0 in D:/Deps/build-root/include
CMake Error at cmake/HostCompile.cmake:27 (message):
Failed compiling D:/Deps/visualboyadvance-m/src/wx/bin2c.c for the host:
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26729 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
bin2c.c
1>------ Build started: Project: translations_1, Configuration: Release x64 ------
2>------ Build started: Project: vbam, Configuration: Release x64 ------
3>------ Build started: Project: visualboyadvance-m, Configuration: Release x64 ------
2>expr-lex.cpp
2>d:\deps\visualboyadvance-m\build-x64\expr-lex.cpp(495): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
2>Done building project "vbam.vcxproj" -- FAILED.
3>xaudio2.cpp
3>sfml-network-s.lib(Http.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in wxvbam.obj
3>sfml-network-s.lib(IpAddress.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in wxvbam.obj
3>sfml-network-s.lib(Socket.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in wxvbam.obj
cmake ../
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /home/zachbacon/vbam-build-mingw64/root/bin/ccache
-- Check for working C compiler: /home/zachbacon/vbam-build-mingw64/root/bin/ccache -- broken
CMake Error at /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/home/zachbacon/vbam-build-mingw64/root/bin/ccache"
cmake ../../Documents/visualboyadvance-m
-- Found SFML 2.4.2 in /home/zachbacon/vbam-build-mingw64/root/include
-- /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/FindwxWidgets.cmake(166): wxWidgets_FIND_COMPONENTS : xrc;xml;html;adv;net;core;base;gl
-- /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/FindwxWidgets.cmake(166): wxWidgets_SELECT_OPTIONS=--prefix=/home/zachbacon/vbam-build-mingw64/root;--debug=no;--unicode=yes
-- /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/FindwxWidgets.cmake(170): wxWidgets_CXX_FLAGS=-I/home/zachbacon/vbam-build-mingw64/root/lib/wx/include/x86_64-w64-mingw32-msw-unicode-static-3.1 -I/home/zachbacon/vbam-build-mingw64/root/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXMSW__ -fpermissive
-- /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/FindwxWidgets.cmake(170): wxWidgets_DEFINITIONS=_FILE_OFFSET_BITS=64;__WXMSW__
-- /home/zachbacon/vbam-build-mingw64/host/share/cmake-3.13/Modules/FindwxWidgets.cmake(170): wxWi
find /home/linuxbrew/.linuxbrew -name '*-gcc'
/home/linuxbrew/.linuxbrew/bin/x86_64-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/bin/i686-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/Cellar/mingw-w64/5.0.4_1/bin/x86_64-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/Cellar/mingw-w64/5.0.4_1/bin/i686-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/Cellar/mingw-w64/5.0.4_1/toolchain-x86_64/bin/x86_64-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/Cellar/mingw-w64/5.0.4_1/toolchain-i686/bin/i686-w64-mingw32-gcc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/super/llvm-gcc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/x86_64-linux-gnu-gcc
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/llvm-gcc
/usr/bin/install -c ./config/icu-config-top config/icu-config
chmod u+w config/icu-config
make[1]: Entering directory '/home/zachbacon/vbam-build-mingw32/dists/libicu-target/source/config'
rm -rf pkgdata.inc
LC_ALL=C /home/zachbacon/vbam-build-mingw32/root/bin/sed -f ./config/make2sh.sed < ./config/Makefile.inc | grep -v '#M#' | uniq >> config/icu-config
LC_ALL=C /home/zachbacon/vbam-build-mingw32/root/bin/sed -f ./config/make2sh.sed < ./config/mh-mingw | grep -v '#M#' | uniq >> config/icu-config
config/icu-i18n.pc updated.
config/icu-uc.pc updated.
cat ./config/icu-config-bottom >> config/icu-config
chmod u-w config/icu-config
Building dlfcn
Executing: cmake '..' '-DCMAKE_C_COMPILER_LAUNCHER=ccache' '-DCMAKE_CXX_COMPILER_LAUNCHER=ccache' '-DCMAKE_C_COMPILER=gcc' '-DCMAKE_CXX_COMPILER=g++' '-G' 'MSYS Makefiles' '-DCMAKE_IGNORE_PATH=G:/msys64/usr;G:/msys64/usr/include;G:/msys64/usr/lib' '-DBUILD_SHARED_LIBS=NO' '-DENABLE_SHARED=NO' '-DCMAKE_PREFIX_PATH:FILEPATH=G:/msys64/home/zacht/vbam-build-msys2-x86_64/target;;G:/msys64/mingw64/lib;G:/msys64/mingw64/bin;G:/msys64/mingw64/x86_64-w64-mingw32/lib;G:/msys64/mingw64/x86_64-w64-mingw32/bin' '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_INSTALL_PREFIX=/usr'
CMake Error: Could not create named generator MSYS Makefiles
Generators
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.