Skip to content

Instantly share code, notes, and snippets.

@starius
Created January 23, 2017 00:39
Show Gist options
  • Select an option

  • Save starius/d675c777e82a96bba334d3c66042da94 to your computer and use it in GitHub Desktop.

Select an option

Save starius/d675c777e82a96bba334d3c66042da94 to your computer and use it in GitHub Desktop.
make[1]: Entering directory `/home/mxe/mxe-gcc5-b'
uname -a
Linux sd-68075 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
237b08ab89543a8f96f74e80d77d82d7bef278cf - add gcc4 plugin [27 hours ago] [ (HEAD, master)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.15
gcc --version
gcc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ --version
g++ (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
python --version
Python 2.7.3
perl --version 2>&1 | head -3
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 102 registered patches, see perl -V for more detail)
rm -rf '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static'
mkdir -p '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static'
mkdir -p '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2'
mkdir -p '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/readonly'
chmod 0555 '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/readonly'
cd '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static' && tar xzf '/home/mxe/mxe-gcc5-b/pkg/hyperscan-4.3.2.tar.gz'
cd '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2'
(cd '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2' && patch -p1 -u) < /home/mxe/mxe-gcc5-b/src/hyperscan-1-fixes.patch
patching file cmake/config.h.in
patching file src/database.c
patching file src/nfa/limex_shuffle.h
patching file src/nfa/mcclellan_common_impl.h
patching file src/nfa/nfa_internal.h
patching file src/ue2common.h
patching file src/util/bitutils.h
patching file src/util/cpuid_flags.c
patching file src/util/make_unique.h
patching file src/util/popcount.h
patching file src/util/simd_utils.h
patching file src/util/unaligned.h
patching file unit/hyperscan/test_util.h
patching file util/expressions.cpp
patching file CMakeLists.txt
patching file CMakeLists.txt
patching file libhs.pc.in
mkdir '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build'
# Add the following options to run on (virtual) machine without AVX2
# -DCMAKE_C_FLAGS="-march=core2" -DCMAKE_CXX_FLAGS="-march=core2"
cd '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build' && 'i686-w64-mingw32.static-cmake' -DCMAKE_C_FLAGS="-mssse4" -DCMAKE_CXX_FLAGS="-mssse4" -DRAGEL='/home/mxe/mxe-gcc5-b/usr/x86_64-unknown-linux-gnu/bin/ragel' '/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2'
== Using MXE wrapper: /home/mxe/mxe-gcc5-b/usr/bin/i686-w64-mingw32.static-cmake
== Using MXE toolchain: /home/mxe/mxe-gcc5-b/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake
== Using MXE runresult: /home/mxe/mxe-gcc5-b/usr/share/cmake/modules/TryRunResults.cmake
loading initial cache file /home/mxe/mxe-gcc5-b/usr/share/cmake/modules/TryRunResults.cmake
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /home/mxe/mxe-gcc5-b/usr/bin/i686-w64-mingw32.static-gcc
-- Check for working C compiler: /home/mxe/mxe-gcc5-b/usr/bin/i686-w64-mingw32.static-gcc -- broken
CMake Error at /home/mxe/mxe-gcc5-b/usr/x86_64-unknown-linux-gnu/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/home/mxe/mxe-gcc5-b/usr/bin/i686-w64-mingw32.static-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_fb389/fast"
make[2]: Entering directory
`/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_fb389.dir/build.make
CMakeFiles/cmTC_fb389.dir/build
make[3]: Entering directory
`/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fb389.dir/testCCompiler.c.obj
/home/mxe/mxe-gcc5-b/usr/bin/i686-w64-mingw32.static-gcc -mssse4 -o
CMakeFiles/cmTC_fb389.dir/testCCompiler.c.obj -c
/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp/testCCompiler.c
i686-w64-mingw32.static-gcc: error: unrecognized command line option
'-mssse4'
make[3]: *** [CMakeFiles/cmTC_fb389.dir/testCCompiler.c.obj] Error 1
make[3]: Leaving directory
`/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp'
make[2]: *** [cmTC_fb389/fast] Error 2
make[2]: Leaving directory
`/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeTmp'
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeOutput.log".
See also "/home/mxe/mxe-gcc5-b/tmp-hyperscan-i686-w64-mingw32.static/hyperscan-4.3.2.build/CMakeFiles/CMakeError.log".
make[1]: *** [build-only-hyperscan_i686-w64-mingw32.static] Error 1
make[1]: Leaving directory `/home/mxe/mxe-gcc5-b'
real 0m4.159s
user 0m3.968s
sys 0m0.072s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment