Closed mounamouna closed 9 years ago
example.cpp is not an executable.
I write in the terminal: make example.cpp the result: Segmentation fault( Core dumped)
Please, check the README. You don't need to type ``make example.cpp''.
@mounamouna
I think that you mean that you typed:
$ cmake .
$ make
./example
and then you got a segmentation fault.
If that is the case, please follow the following instructions:
$ uname -a
$ g++ --version
$ cat /proc/cpuinfo | grep model
$ cmake .
$ make
$ ./unit
(if unit tests do not complete successfully, please report the error)
If you get a segmentation fault, please type:
$ gdb ./unit
gdb> run
(example will stop at the segmentation fault if any)
gdb> where
gdb> list
Then and only then...
$ gdb ./example
gdb> run
(example will stop at the segmentation fault if any)
gdb> where
gdb> list
Please provide a complete output including everything you typed and everything that appeared on screen.
uname -a Linux ubuntu 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:04:15 UTC 2014 i686 i686 i686 GNU/Linux mouna@ubuntu:~/FastPFor-master$ g++ --version g++ (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1 Copyright (C) 2013 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.
mouna@ubuntu:~/FastPFor-master$ cat /proc/cpuinfo | grep model model : 42 model name : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz mouna@ubuntu:~/FastPFor-master$ cmake . -- TEST TEST -- CMAKE_CXX_COMPILER_ID: GNU -- CMAKE_C_COMPILER: 4.8 -- CXX_COMPILER_VERSION: 4.8 -- SSE 4.2 support detected -- Snappy was not found. codecssnappy and inmemorybenchmarksnappy targets are not available. -- Configuring done -- Generating done -- Build files have been written to: /home/mouna/FastPFor-master mouna@ubuntu:~/FastPFor-master$ make [ 40%] Built target FastPFor [ 46%] Built target benchbitpacking [ 53%] Built target codecs [ 60%] Built target csv2maropu [ 66%] Built target entropy Scanning dependencies of target example [ 73%] Building CXX object CMakeFiles/example.dir/example.cpp.o Linking CXX executable example [ 73%] Built target example [ 80%] Built target gapstats [ 86%] Built target inmemorybenchmark [ 93%] Built target partitionbylength [100%] Built target unit mouna@ubuntu:~/FastPFor-master$ ./unit Segmentation fault (core dumped) mouna@ubuntu:~/FastPFor-master$ ./unit Segmentation fault (core dumped) mouna@ubuntu:~/FastPFor-master$ gdb ./unit GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/mouna/FastPFor-master/unit...done. (gdb) run Starting program: /home/mouna/FastPFor-master/./unit
Program received signal SIGSEGV, Segmentation fault. 0x08083bca in FastPForLib::VarIntG8IU::VarIntG8IU() () (gdb) where
ubp_av=0xbfffec44, init=0x80d9240 <__libc_csu_init>,
fini=0x80d92b0 <__libc_csu_fini>, rtld_fini=0xb7fed5f0 <_dl_fini>,
stack_end=0xbfffec3c) at libc-start.c:219
(gdb) list 1 ../sysdeps/i386/dl-procinfo.c: No such file or directory.
@mounamouna
Very useful thank you. This code should run on your machine and you do what is needed. So this looks like a bug. Unfortunately, I cannot reproduce it and nobody else here can either.
We need more information. So the next logical step is to build the software in debug mode. This should help.
We now know that the segmentation fault seems to happen in the constructor of VarIntG8IU(). Let us narrow it down.
Please do the following:
$ git pull
(please sync with the very latest version as to enable debugging was difficult previously)
$ cmake -DCMAKE_BUILD_TYPE=Debug .
$ make
$ gdb ./unit
gdb> run
(unit will stop at the segmentation fault if any)
gdb> where
gdb> list
Please note that your help is necessary at this point.
git pull fatal: Not a git repository (or any of the parent directories): .git mouna@ubuntu:~$ cd FastPFor-master mouna@ubuntu:~/FastPFor-master$ cmake -DCMAKE_BUILD_TYPE=Debug -- TEST TEST -- CMAKE_CXX_COMPILER_ID: GNU -- CMAKE_C_COMPILER: 4.8 -- CXX_COMPILER_VERSION: 4.8 -- SSE 4.2 support detected -- Snappy was not found. codecssnappy and inmemorybenchmarksnappy targets are not available. -- Configuring done -- Generating done -- Build files have been written to: /home/mouna/FastPFor-master mouna@ubuntu:~/FastPFor-master$ make [ 40%] Built target FastPFor [ 46%] Built target benchbitpacking [ 53%] Built target codecs [ 60%] Built target csv2maropu [ 66%] Built target entropy [ 73%] Built target example [ 80%] Built target gapstats [ 86%] Built target inmemorybenchmark [ 93%] Built target partitionbylength [100%] Built target unit mouna@ubuntu:~/FastPFor-master$ gdb ./unit GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/mouna/FastPFor-master/unit...done. (gdb) run Starting program: /home/mouna/FastPFor-master/./unit
Program received signal SIGSEGV, Segmentation fault. 0x08083bca in FastPForLib::VarIntG8IU::VarIntG8IU() () (gdb) where
ubp_av=0xbfffec44, init=0x80d9240 <__libc_csu_init>,
fini=0x80d92b0 <__libc_csu_fini>, rtld_fini=0xb7fed5f0 <_dl_fini>,
stack_end=0xbfffec3c) at libc-start.c:219
(gdb) list 1 ../sysdeps/i386/dl-procinfo.c: No such file or directory.
@mounamouna
Normally one acquires the code from this project for GitHub. As things stand, it is difficult to tell which code you are testing.
Please recover the latest version of the code like so:
$ git clone https://github.com/lemire/FastPFor.git
$ cd FastPFor
$ cmake -DCMAKE_BUILD_TYPE=Debug .
$ make
$ gdb ./unit
gdb> run
(unit will stop at the segmentation fault if any)
gdb> where
gdb> list
and work from there. By issuing a "git pull" in the future will allow you to recover the latest version of the code from GitHub.
As a further sanity test, please run...
$ ulimit -s
the answer should 8192
Sir , this error was appeared: mouna@ubuntu:~/FastPFor$ make Scanning dependencies of target FastPFor [ 5%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o [ 11%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o [ 17%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o [ 23%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o [ 29%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o [ 35%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o Linking CXX static library libFastPFor.a [ 35%] Built target FastPFor Scanning dependencies of target benchbitpacking [ 41%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o Linking CXX executable benchbitpacking [ 41%] Built target benchbitpacking Scanning dependencies of target codecs [ 47%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o In file included from /home/mouna/FastPFor/headers/codecfactory.h:13:0, from /home/mouna/FastPFor/src/codecs.cpp:15: /home/mouna/FastPFor/headers/vsencoding.h: In member function ‘const uint32_t* vsencoding::VSEncodingBlocks::decodeVS(uint32_t, const uint32t, uint32t, uint32t)’: /home/mouna/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’ operand has impossible constraints /__vseblockscopy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:640:85: error: ‘asm’ operand has impossible constraints / FIXME: Is it better to do memcpy() firstly? /__vseblocks_zero32(out);
^
/home/mouna/FastPFor/headers/vsencoding.h:650:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:654:36: error: ‘asm’ operand has impossible constraints __vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:664:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:668:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:677:45: error: ‘asm’ operand has impossible constraints __vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:681:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ make[2]: * [CMakeFiles/codecs.dir/src/codecs.cpp.o] Error 1 make[1]: * [CMakeFiles/codecs.dir/all] Error 2 make: *\ [all] Error 2
2015-04-17 14:41 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
Normally one acquires the code from this project for GitHub. As things stand, it is difficult to tell which code you are testing.
Please recover the latest version of the code like so:
$ git clone https://github.com/lemire/FastPFor.git $ cd FastPFor $ cmake -DCMAKE_BUILD_TYPE=Debug . $ make $ gdb ./unit gdb> run (unit will stop at the segmentation fault if any) gdb> where gdb> list
and work from there. By issuing a "git pull" in the future will allow you to recover the latest version of the code from GitHub.
As a further sanity test, please run...
$ ulimit -s the answer should 8192
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-93978217.
Please Sir, Can you help me! what is the problem ?? How can i correct this error : /home/mouna/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’ operand has impossible constraints ??? It's urgent ? Thanks in advance.
2015-04-25 19:32 GMT+02:00 Mouna Gassara gas.mouna@gmail.com:
Sir , this error was appeared: mouna@ubuntu:~/FastPFor$ make Scanning dependencies of target FastPFor [ 5%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o [ 11%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o [ 17%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o [ 23%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o [ 29%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o [ 35%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o Linking CXX static library libFastPFor.a [ 35%] Built target FastPFor Scanning dependencies of target benchbitpacking [ 41%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o Linking CXX executable benchbitpacking [ 41%] Built target benchbitpacking Scanning dependencies of target codecs [ 47%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o In file included from /home/mouna/FastPFor/headers/codecfactory.h:13:0, from /home/mouna/FastPFor/src/codecs.cpp:15: /home/mouna/FastPFor/headers/vsencoding.h: In member function ‘const uint32_t* vsencoding::VSEncodingBlocks::decodeVS(uint32_t, const uint32t, uint32t, uint32t)’: /home/mouna/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’ operand has impossible constraints /__vseblockscopy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:640:85: error: ‘asm’ operand has impossible constraints / FIXME: Is it better to do memcpy() firstly? /__vseblocks_zero32(out);
^
/home/mouna/FastPFor/headers/vsencoding.h:650:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:654:36: error: ‘asm’ operand has impossible constraints __vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:664:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:668:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:677:45: error: ‘asm’ operand has impossible constraints __vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:681:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ make[2]: * [CMakeFiles/codecs.dir/src/codecs.cpp.o] Error 1 make[1]: * [CMakeFiles/codecs.dir/all] Error 2 make: *\ [all] Error 2
2015-04-17 14:41 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
Normally one acquires the code from this project for GitHub. As things stand, it is difficult to tell which code you are testing.
Please recover the latest version of the code like so:
$ git clone https://github.com/lemire/FastPFor.git $ cd FastPFor $ cmake -DCMAKE_BUILD_TYPE=Debug . $ make $ gdb ./unit gdb> run (unit will stop at the segmentation fault if any) gdb> where gdb> list
and work from there. By issuing a "git pull" in the future will allow you to recover the latest version of the code from GitHub.
As a further sanity test, please run...
$ ulimit -s the answer should 8192
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-93978217.
I find that my gcc version (4.8) has a problem with these instructions :
__asm volatile**( \ "movdqu %4, %%xmm0\n\t" \ "movdqu %5, %%xmm1\n\t" \ "movdqu %6, %%xmm2\n\t" \ "movdqu %7, %%xmm3\n\t" \ "movdqu %%xmm0, %0\n\t" \ "movdqu %%xmm1, %1\n\t" \ "movdqu %%xmm2, %2\n\t" \ "movdqu %%xmm3, %3\n\t" \ :"=m" (dest[0]), "=m" (dest[4]), "=m" (dest[8]), "=m" (dest[12]) \ :"m" (src[0]), "m" (src[4]), "m" (src[8]), "m" (src[12]) \ :"memory", "%xmm0", "%xmm1", "%xmm2", "%xmm3")
__asm volatile**( \ "pxor %%xmm0, %%xmm0\n\t" \ "movdqu %%xmm0, %0\n\t" \ "movdqu %%xmm0, %1\n\t" \ "movdqu %%xmm0, %2\n\t" \ "movdqu %%xmm0, %3\n\t" \ "movdqu %%xmm0, %4\n\t" \ "movdqu %%xmm0, %5\n\t" \ "movdqu %%xmm0, %6\n\t" \ "movdqu %%xmm0, %7\n\t" \ :"=m" (dest[0]), "=m" (dest[4]), "=m" (dest[8]), "=m" (dest[12]) , \ "=m" (dest[16]), "=m" (dest[20]), "=m" (dest[24]), "=m" (dest[28]) \ ::"memory", "%xmm0")
How can I modify this part of code for adapting it to gcc-4.8 ?
2015-04-26 9:58 GMT+02:00 Mouna Gassara gas.mouna@gmail.com:
Please Sir, Can you help me! what is the problem ?? How can i correct this error : /home/mouna/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’ operand has impossible constraints ??? It's urgent ? Thanks in advance.
2015-04-25 19:32 GMT+02:00 Mouna Gassara gas.mouna@gmail.com:
Sir , this error was appeared: mouna@ubuntu:~/FastPFor$ make Scanning dependencies of target FastPFor [ 5%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o [ 11%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o [ 17%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o [ 23%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o [ 29%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o [ 35%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o Linking CXX static library libFastPFor.a [ 35%] Built target FastPFor Scanning dependencies of target benchbitpacking [ 41%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o Linking CXX executable benchbitpacking [ 41%] Built target benchbitpacking Scanning dependencies of target codecs [ 47%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o In file included from /home/mouna/FastPFor/headers/codecfactory.h:13:0, from /home/mouna/FastPFor/src/codecs.cpp:15: /home/mouna/FastPFor/headers/vsencoding.h: In member function ‘const uint32_t* vsencoding::VSEncodingBlocks::decodeVS(uint32_t, const uint32t, uint32t, uint32t)’: /home/mouna/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’ operand has impossible constraints /__vseblockscopy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:640:85: error: ‘asm’ operand has impossible constraints / FIXME: Is it better to do memcpy() firstly? /__vseblocks_zero32(out);
^
/home/mouna/FastPFor/headers/vsencoding.h:650:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:654:36: error: ‘asm’ operand has impossible constraints __vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:664:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:668:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ /home/mouna/FastPFor/headers/vsencoding.h:677:45: error: ‘asm’ operand has impossible constraints __vseblocks_copy16(pblk[B], out); ^ /home/mouna/FastPFor/headers/vsencoding.h:681:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ make[2]: * [CMakeFiles/codecs.dir/src/codecs.cpp.o] Error 1 make[1]: * [CMakeFiles/codecs.dir/all] Error 2 make: *\ [all] Error 2
2015-04-17 14:41 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
Normally one acquires the code from this project for GitHub. As things stand, it is difficult to tell which code you are testing.
Please recover the latest version of the code like so:
$ git clone https://github.com/lemire/FastPFor.git $ cd FastPFor $ cmake -DCMAKE_BUILD_TYPE=Debug . $ make $ gdb ./unit gdb> run (unit will stop at the segmentation fault if any) gdb> where gdb> list
and work from there. By issuing a "git pull" in the future will allow you to recover the latest version of the code from GitHub.
As a further sanity test, please run...
$ ulimit -s the answer should 8192
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-93978217.
@mounamouna
You have not commented on this change in the nature of the problem. It would be nice if you could explain this change: how could the code compile before? That seems a bit suspicious.
You are using GCC 4.8 under Linux. We are also using GCC 4.8 and this code is fine. This is a conventional piece of assembly that abides by the specification, as far as I can tell.
Please give me a complete print out of everything you did from the beginning as I requested: (Please, you need to give us a complete print out...)
$ mkdir newtmp
$ cd newtmp
$ uname -a
$ gcc --version
$ ulimit -s
(the answer should 8192)
$ git clone https://github.com/lemire/FastPFor.git
$ cd FastPFor
$ cmake -DCMAKE_BUILD_TYPE=Debug .
$ make VERBOSE=1
$ gdb ./unit
gdb> run
(unit will stop at the segmentation fault if any)
gdb> where
gdb> list
The output should be as follows... notice that in this particular instance, I am using GCC 4.8 and the code builds and run just fine:
$ mkdir newtmp
$ cd newtmp/
/newtmp$ uname -a
Linux haswell 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
/newtmp$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 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.
/newtmp$ ulimit -s
8192
/newtmp$ git clone https://github.com/lemire/FastPFor.git
Cloning into 'FastPFor'...
remote: Counting objects: 1586, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1586 (delta 1), reused 0 (delta 0), pack-reused 1580
Receiving objects: 100% (1586/1586), 720.98 KiB | 0 bytes/s, done.
Resolving deltas: 100% (971/971), done.
Checking connectivity... done.
/newtmp$ cd FastPFor
/newtmp/FastPFor$ cmake -DCMAKE_BUILD_TYPE=Debug .
-- CMAKE_BUILD_TYPE: Debug
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- TEST TEST
-- Performing Test SUPPORT_SSE42
-- Performing Test SUPPORT_SSE42 - Success
-- Performing Test SUPPORT_AVX
-- Performing Test SUPPORT_AVX - Success
-- Performing Test SUPPORT_AVX2
-- Performing Test SUPPORT_AVX2 - Success
-- CMAKE_CXX_COMPILER_ID: GNU
-- CMAKE_C_COMPILER: 4.8
-- CXX_COMPILER_VERSION: 4.8
-- SSE 4.2 support detected
-- Snappy was not found. codecssnappy and inmemorybenchmarksnappy targets are not available.
-- Configuring done
-- Generating done
-- Build files have been written to: newtmp/FastPFor
/newtmp/FastPFor$ make VERBOSE=1
/usr/bin/cmake -Hnewtmp/FastPFor -Bnewtmp/FastPFor --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start newtmp/FastPFor/CMakeFiles newtmp/FastPFor/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `newtmp/FastPFor'
make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".
Scanning dependencies of target FastPFor
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 1
[ 6%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o -c newtmp/FastPFor/src/bitpacking.cpp
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 2
[ 13%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o -c newtmp/FastPFor/src/bitpackingaligned.cpp
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 3
[ 20%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o -c newtmp/FastPFor/src/bitpackingunaligned.cpp
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 4
[ 26%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o -c newtmp/FastPFor/src/horizontalbitpacking.cpp
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 5
[ 33%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o -c newtmp/FastPFor/src/simdunalignedbitpacking.cpp
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 6
[ 40%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o -c newtmp/FastPFor/src/simdbitpacking.cpp
Linking CXX static library libFastPFor.a
/usr/bin/cmake -P CMakeFiles/FastPFor.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/FastPFor.dir/link.txt --verbose=1
/usr/bin/ar cr libFastPFor.a CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o
/usr/bin/ranlib libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 1 2 3 4 5 6
[ 40%] Built target FastPFor
make -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".
Scanning dependencies of target benchbitpacking
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 7
[ 46%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -c newtmp/FastPFor/src/benchbitpacking.cpp
Linking CXX executable benchbitpacking
/usr/bin/cmake -E cmake_link_script CMakeFiles/benchbitpacking.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -o benchbitpacking -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 7
[ 46%] Built target benchbitpacking
make -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".
Scanning dependencies of target codecs
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 8
[ 53%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/codecs.dir/src/codecs.cpp.o -c newtmp/FastPFor/src/codecs.cpp
Linking CXX executable codecs
/usr/bin/cmake -E cmake_link_script CMakeFiles/codecs.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/codecs.dir/src/codecs.cpp.o -o codecs -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 8
[ 53%] Built target codecs
make -f CMakeFiles/csv2maropu.dir/build.make CMakeFiles/csv2maropu.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/csv2maropu.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/depend.internal".
Scanning dependencies of target csv2maropu
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/csv2maropu.dir/build.make CMakeFiles/csv2maropu.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 9
[ 60%] Building CXX object CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o -c newtmp/FastPFor/src/csv2maropu.cpp
Linking CXX executable csv2maropu
/usr/bin/cmake -E cmake_link_script CMakeFiles/csv2maropu.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o -o csv2maropu -rdynamic
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 9
[ 60%] Built target csv2maropu
make -f CMakeFiles/entropy.dir/build.make CMakeFiles/entropy.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/entropy.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/entropy.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/entropy.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/entropy.dir/depend.internal".
Scanning dependencies of target entropy
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/entropy.dir/build.make CMakeFiles/entropy.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 10
[ 66%] Building CXX object CMakeFiles/entropy.dir/src/entropy.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/entropy.dir/src/entropy.cpp.o -c newtmp/FastPFor/src/entropy.cpp
Linking CXX executable entropy
/usr/bin/cmake -E cmake_link_script CMakeFiles/entropy.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/entropy.dir/src/entropy.cpp.o -o entropy -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 10
[ 66%] Built target entropy
make -f CMakeFiles/example.dir/build.make CMakeFiles/example.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/example.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/example.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/example.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/example.dir/depend.internal".
Scanning dependencies of target example
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/example.dir/build.make CMakeFiles/example.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 11
[ 73%] Building CXX object CMakeFiles/example.dir/example.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/example.dir/example.cpp.o -c newtmp/FastPFor/example.cpp
Linking CXX executable example
/usr/bin/cmake -E cmake_link_script CMakeFiles/example.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/example.dir/example.cpp.o -o example -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 11
[ 73%] Built target example
make -f CMakeFiles/gapstats.dir/build.make CMakeFiles/gapstats.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/gapstats.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/gapstats.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/gapstats.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/gapstats.dir/depend.internal".
Scanning dependencies of target gapstats
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/gapstats.dir/build.make CMakeFiles/gapstats.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 12
[ 80%] Building CXX object CMakeFiles/gapstats.dir/src/gapstats.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/gapstats.dir/src/gapstats.cpp.o -c newtmp/FastPFor/src/gapstats.cpp
Linking CXX executable gapstats
/usr/bin/cmake -E cmake_link_script CMakeFiles/gapstats.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/gapstats.dir/src/gapstats.cpp.o -o gapstats -rdynamic
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 12
[ 80%] Built target gapstats
make -f CMakeFiles/inmemorybenchmark.dir/build.make CMakeFiles/inmemorybenchmark.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/depend.internal".
Scanning dependencies of target inmemorybenchmark
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/inmemorybenchmark.dir/build.make CMakeFiles/inmemorybenchmark.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 13
[ 86%] Building CXX object CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o -c newtmp/FastPFor/src/inmemorybenchmark.cpp
Linking CXX executable inmemorybenchmark
/usr/bin/cmake -E cmake_link_script CMakeFiles/inmemorybenchmark.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o -o inmemorybenchmark -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 13
[ 86%] Built target inmemorybenchmark
make -f CMakeFiles/partitionbylength.dir/build.make CMakeFiles/partitionbylength.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/partitionbylength.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/depend.internal".
Scanning dependencies of target partitionbylength
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/partitionbylength.dir/build.make CMakeFiles/partitionbylength.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 14
[ 93%] Building CXX object CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o -c newtmp/FastPFor/src/partitionbylength.cpp
Linking CXX executable partitionbylength
/usr/bin/cmake -E cmake_link_script CMakeFiles/partitionbylength.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o -o partitionbylength -rdynamic
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 14
[ 93%] Built target partitionbylength
make -f CMakeFiles/unit.dir/build.make CMakeFiles/unit.dir/depend
make[2]: Entering directory `newtmp/FastPFor'
cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/unit.dir/DependInfo.cmake --color=
Dependee "newtmp/FastPFor/CMakeFiles/unit.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/unit.dir/depend.internal".
Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/unit.dir/depend.internal".
Scanning dependencies of target unit
make[2]: Leaving directory `newtmp/FastPFor'
make -f CMakeFiles/unit.dir/build.make CMakeFiles/unit.dir/build
make[2]: Entering directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 15
[100%] Building CXX object CMakeFiles/unit.dir/src/unit.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/unit.dir/src/unit.cpp.o -c newtmp/FastPFor/src/unit.cpp
Linking CXX executable unit
/usr/bin/cmake -E cmake_link_script CMakeFiles/unit.dir/link.txt --verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/unit.dir/src/unit.cpp.o -o unit -rdynamic libFastPFor.a
make[2]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 15
[100%] Built target unit
make[1]: Leaving directory `newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_start newtmp/FastPFor/CMakeFiles 0
/newtmp/FastPFor$ gdb ./unit
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./unit...done.
(gdb) run
Starting program: newtmp/FastPFor/unit
testing... b = 0
testing... b = 1
testing... b = 2
testing... b = 3
testing... b = 4
testing... b = 5
testing... b = 6
testing... b = 7
testing... b = 8
testing... b = 9
testing... b = 10
testing... b = 11
testing... b = 12
testing... b = 13
testing... b = 14
testing... b = 15
testing... b = 16
testing... b = 17
testing... b = 18
testing... b = 19
testing... b = 20
testing... b = 21
testing... b = 22
testing... b = 23
testing... b = 24
testing... b = 25
testing... b = 26
testing... b = 27
testing... b = 28
testing large zipfian arrays...
length = 32
BP32+VariableByte encoding ... decoding ... ok!
JustCopy encoding ... decoding ... ok!
FastBinaryPacking16+VariableByte encoding ... decoding ... ok!
FastBinaryPacking32+VariableByte encoding ... decoding ... ok!
FastBinaryPacking8+VariableByte encoding ... decoding ... ok!
FastPFor128+VariableByte encoding ... decoding ... ok!
FastPFor256+VariableByte encoding ... decoding ... ok!
NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
PFor+VariableByte encoding ... decoding ... ok!
PFor2008+VariableByte encoding ... decoding ... ok!
SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!
SIMDFastPFor128+VariableByte encoding ... decoding ... ok!
SIMDFastPFor256+VariableByte encoding ... decoding ... ok!
SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDPFor+VariableByte encoding ... decoding ... ok!
SIMDSimplePFor+VariableByte encoding ... decoding ... ok!
Simple8b encoding ... decoding ... ok!
Simple8b_RLE encoding ... decoding ... ok!
SimplePFor+VariableByte encoding ... decoding ... ok!
VariableByte encoding ... decoding ... ok!
VarIntG8IU encoding ... decoding ... ok!
varintgb encoding ... decoding ... ok!
VByte encoding ... decoding ... ok!
VSEncoding encoding ... decoding ... ok!
length = 1024
BP32+VariableByte encoding ... decoding ... ok!
JustCopy encoding ... decoding ... ok!
FastBinaryPacking16+VariableByte encoding ... decoding ... ok!
FastBinaryPacking32+VariableByte encoding ... decoding ... ok!
FastBinaryPacking8+VariableByte encoding ... decoding ... ok!
FastPFor128+VariableByte encoding ... decoding ... ok!
FastPFor256+VariableByte encoding ... decoding ... ok!
NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
PFor+VariableByte encoding ... decoding ... ok!
PFor2008+VariableByte encoding ... decoding ... ok!
SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!
SIMDFastPFor128+VariableByte encoding ... decoding ... ok!
SIMDFastPFor256+VariableByte encoding ... decoding ... ok!
SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDPFor+VariableByte encoding ... decoding ... ok!
SIMDSimplePFor+VariableByte encoding ... decoding ... ok!
Simple8b encoding ... decoding ... ok!
Simple8b_RLE encoding ... decoding ... ok!
SimplePFor+VariableByte encoding ... decoding ... ok!
VariableByte encoding ... decoding ... ok!
VarIntG8IU encoding ... decoding ... ok!
varintgb encoding ... decoding ... ok!
VByte encoding ... decoding ... ok!
VSEncoding encoding ... decoding ... ok!
length = 32768
BP32+VariableByte encoding ... decoding ... ok!
JustCopy encoding ... decoding ... ok!
FastBinaryPacking16+VariableByte encoding ... decoding ... ok!
FastBinaryPacking32+VariableByte encoding ... decoding ... ok!
FastBinaryPacking8+VariableByte encoding ... decoding ... ok!
FastPFor128+VariableByte encoding ... decoding ... ok!
FastPFor256+VariableByte encoding ... decoding ... ok!
NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
PFor+VariableByte encoding ... decoding ... ok!
PFor2008+VariableByte encoding ... decoding ... ok!
SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!
SIMDFastPFor128+VariableByte encoding ... decoding ... ok!
SIMDFastPFor256+VariableByte encoding ... decoding ... ok!
SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDPFor+VariableByte encoding ... decoding ... ok!
SIMDSimplePFor+VariableByte encoding ... decoding ... ok!
Simple8b encoding ... decoding ... ok!
Simple8b_RLE encoding ... decoding ... ok!
SimplePFor+VariableByte encoding ... decoding ... ok!
VariableByte encoding ... decoding ... ok!
VarIntG8IU encoding ... decoding ... ok!
varintgb encoding ... decoding ... ok!
VByte encoding ... decoding ... ok!
VSEncoding encoding ... decoding ... ok!
length = 1048576
BP32+VariableByte encoding ... decoding ... ok!
JustCopy encoding ... decoding ... ok!
FastBinaryPacking16+VariableByte encoding ... decoding ... ok!
FastBinaryPacking32+VariableByte encoding ... decoding ... ok!
FastBinaryPacking8+VariableByte encoding ... decoding ... ok!
FastPFor128+VariableByte encoding ... decoding ... ok!
FastPFor256+VariableByte encoding ... decoding ... ok!
NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
PFor+VariableByte encoding ... decoding ... ok!
PFor2008+VariableByte encoding ... decoding ... ok!
SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!
SIMDFastPFor128+VariableByte encoding ... decoding ... ok!
SIMDFastPFor256+VariableByte encoding ... decoding ... ok!
SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!
SIMDPFor+VariableByte encoding ... decoding ... ok!
SIMDSimplePFor+VariableByte encoding ... decoding ... ok!
Simple8b encoding ... decoding ... ok!
Simple8b_RLE encoding ... decoding ... ok!
SimplePFor+VariableByte encoding ... decoding ... ok!
VariableByte encoding ... decoding ... ok!
VarIntG8IU encoding ... decoding ... ok!
varintgb encoding ... decoding ... ok!
VByte encoding ... decoding ... ok!
VSEncoding encoding ... decoding ... ok!
mouna@ubuntu:~$ mkdir newtmp mouna@ubuntu:~$ cd newtmp mouna@ubuntu:~/newtmp$ uname -a Linux ubuntu 3.11.0-26-generic #45-Ubuntu SMP Tue Jul 15 04:04:15 UTC 2014 i686 i686 i686 GNU/Linux mouna@ubuntu:~/newtmp$ gcc -version gcc: error: unrecognized command line option ‘-version’ gcc: fatal error: no input files compilation terminated. mouna@ubuntu:~/newtmp$ gcc --version gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1 Copyright (C) 2013 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.
mouna@ubuntu:~/newtmp$ ulimit -s
8192
mouna@ubuntu:~/newtmp$ git clone https://github.com/lemire/FastPFor.git
Cloning into 'FastPFor'...
remote: Counting objects: 1586, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 1586 (delta 1), reused 0 (delta 0), pack-reused 1580
Receiving objects: 100% (1586/1586), 720.98 KiB | 83.00 KiB/s, done.
Resolving deltas: 100% (971/971), done.
Checking connectivity... done
mouna@ubuntu:~/newtmp$ cd FastPFor
mouna@ubuntu:~/newtmp/FastPFor$ cmake -DCMAKE_BUILD_TYPE=Debug .
-- CMAKE_BUILD_TYPE: Debug
-- The CXX compiler identification is GNU 4.8.1
-- The C compiler identification is GNU 4.8.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- TEST TEST
-- Performing Test SUPPORT_SSE42
-- Performing Test SUPPORT_SSE42 - Success
-- Performing Test SUPPORT_AVX
-- Performing Test SUPPORT_AVX - Success
-- Performing Test SUPPORT_AVX2
-- Performing Test SUPPORT_AVX2 - Success
-- CMAKE_CXX_COMPILER_ID: GNU
-- CMAKE_C_COMPILER: 4.8
-- CXX_COMPILER_VERSION: 4.8
-- SSE 4.2 support detected
-- Snappy was found. Building additional targets codecssnappy and
inmemorybenchmarksnappy.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mouna/newtmp/FastPFor
mouna@ubuntu:~/newtmp/FastPFor$ make VERBOSE=1
/usr/bin/cmake -H/home/mouna/newtmp/FastPFor -B/home/mouna/newtmp/FastPFor
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/mouna/newtmp/FastPFor/CMakeFiles
/home/mouna/newtmp/FastPFor/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory /home/mouna/newtmp/FastPFor' make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/depend make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
cd /home/mouna/newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake
--color=
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake" is
newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is
newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".
Scanning dependencies of target FastPFor
make[2]: Leaving directory /home/mouna/newtmp/FastPFor' make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/build make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 1
[ 5%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o -c
/home/mouna/newtmp/FastPFor/src/bitpacking.cpp
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 2
[ 11%] Building CXX object
CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o
CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o -c
/home/mouna/newtmp/FastPFor/src/bitpackingaligned.cpp
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 3
[ 17%] Building CXX object
CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o
CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o -c
/home/mouna/newtmp/FastPFor/src/bitpackingunaligned.cpp
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 4
[ 23%] Building CXX object
CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o
CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o -c
/home/mouna/newtmp/FastPFor/src/horizontalbitpacking.cpp
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 5
[ 29%] Building CXX object
CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o
CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o -c
/home/mouna/newtmp/FastPFor/src/simdunalignedbitpacking.cpp
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 6
[ 35%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o
-c /home/mouna/newtmp/FastPFor/src/simdbitpacking.cpp
Linking CXX static library libFastPFor.a
/usr/bin/cmake -P CMakeFiles/FastPFor.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/FastPFor.dir/link.txt
--verbose=1
/usr/bin/ar cr libFastPFor.a CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o
CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o
CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o
CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o
CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o
CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o
/usr/bin/ranlib libFastPFor.a
make[2]: Leaving directory /home/mouna/newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report /home/mouna/newtmp/FastPFor/CMakeFiles 1 2 3 4 5 6 [ 35%] Built target FastPFor make -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/depend make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
cd /home/mouna/newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake
--color=
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake"
is newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is
newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".
Scanning dependencies of target benchbitpacking
make[2]: Leaving directory /home/mouna/newtmp/FastPFor' make -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/build make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 7
[ 41%] Building CXX object
CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o
CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -c
/home/mouna/newtmp/FastPFor/src/benchbitpacking.cpp
Linking CXX executable benchbitpacking
/usr/bin/cmake -E cmake_link_script CMakeFiles/benchbitpacking.dir/link.txt
--verbose=1
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed
CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -o
benchbitpacking -rdynamic libFastPFor.a
make[2]: Leaving directory /home/mouna/newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report /home/mouna/newtmp/FastPFor/CMakeFiles 7 [ 41%] Built target benchbitpacking make -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/depend make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
cd /home/mouna/newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor /home/mouna/newtmp/FastPFor
/home/mouna/newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake --color=
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake" is
newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".
Dependee
"/home/mouna/newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is
newer than depender
"/home/mouna/newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".
Scanning dependencies of target codecs
make[2]: Leaving directory /home/mouna/newtmp/FastPFor' make -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/build make[2]: Entering directory
/home/mouna/newtmp/FastPFor'
/usr/bin/cmake -E cmake_progress_report
/home/mouna/newtmp/FastPFor/CMakeFiles 8
[ 47%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o
/usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X
-march=native -Wl,--no-as-needed -I/home/mouna/newtmp/FastPFor/headers
-I/usr/local/include -o CMakeFiles/codecs.dir/src/codecs.cpp.o -c
/home/mouna/newtmp/FastPFor/src/codecs.cpp
In file included from
/home/mouna/newtmp/FastPFor/headers/codecfactory.h:13:0,
from /home/mouna/newtmp/FastPFor/src/codecs.cpp:15:
/home/mouna/newtmp/FastPFor/headers/vsencoding.h: In member function ‘const
uint32_t* vsencoding::VSEncodingBlocks::decodeVS(uint32_t, const uint32t,
uint32t, uint32t)’:
/home/mouna/newtmp/FastPFor/headers/vsencoding.h:636:48: error: ‘asm’
operand has impossible constraints
/__vseblockscopy16(pblk[B], out);
^
/home/mouna/newtmp/FastPFor/headers/vsencoding.h:640:85: error: ‘asm’
operand has impossible constraints
/ FIXME: Is it better to do memcpy() firstly?
/__vseblocks_zero32(out);
^
/home/mouna/newtmp/FastPFor/headers/vsencoding.h:650:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/newtmp/FastPFor/headers/vsencoding.h:654:36: error: ‘asm’ operand has impossible constraints __vseblocks_zero32(out); ^ /home/mouna/newtmp/FastPFor/headers/vsencoding.h:664:45: error: ‘asm’ operand has impossible constraints vseblocks_copy16(pblk[B], out); ^ /home/mouna/newtmp/FastPFor/headers/vsencoding.h:668:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ /home/mouna/newtmp/FastPFor/headers/vsencoding.h:677:45: error: ‘asm’ operand has impossible constraints __vseblocks_copy16(pblk[B], out); ^ /home/mouna/newtmp/FastPFor/headers/vsencoding.h:681:36: error: ‘asm’ operand has impossible constraints vseblocks_zero32(out); ^ make[2]: * [CMakeFiles/codecs.dir/src/codecs.cpp.o] Error 1 make[2]: Leaving directory `/home/mouna/newtmp/FastPFor' make[1]: * [CMakeFiles/codecs.dir/all] Error 2 make[1]: Leaving directory`/home/mouna/newtmp/FastPFor' make: *\ [all] Error 2
2015-04-27 15:34 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
- In a previous comment, you indicated using GCC 4.8 under Linux and it compiled. Your problem was a crash of the compiled code.
- Right now, it appears that your code does not to compile at all.
You have not commented on this change in the nature of the problem. It would be nice if you could explain this change: how could the code compile before? That seems a bit suspicious.
You are using GCC 4.8 under Linux. We are also using GCC 4.8 and this code is fine. This is a conventional piece of assembly that abides by the specification, as far as I can tell.
Please give me a complete print out of everything you did from the beginning as I requested: (Please, you need to give us a complete print out...)
$ mkdir newtmp $ cd newtmp $ uname -a $ gcc -version $ ulimit -s (the answer should 8192) $ git clone https://github.com/lemire/FastPFor.git $ cd FastPFor $ cmake -DCMAKE_BUILD_TYPE=Debug . $ make VERBOSE=1 $ gdb ./unit gdb> run (unit will stop at the segmentation fault if any) gdb> where gdb> list
The output should be as follows... notice that in this particular instance, I am using GCC 4.8 and the code builds and run just fine:
$ mkdir newtmp $ cd newtmp/ /newtmp$ uname -a Linux haswell 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux /newtmp$ gcc --version gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 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. /newtmp$ ulimit -s 8192 /newtmp$ git clone https://github.com/lemire/FastPFor.git Cloning into 'FastPFor'... remote: Counting objects: 1586, done. remote: Compressing objects: 100% (6/6), done. remote: Total 1586 (delta 1), reused 0 (delta 0), pack-reused 1580 Receiving objects: 100% (1586/1586), 720.98 KiB | 0 bytes/s, done. Resolving deltas: 100% (971/971), done. Checking connectivity... done. /newtmp$ cd FastPFor /newtmp/FastPFor$ cmake -DCMAKE_BUILD_TYPE=Debug . -- CMAKE_BUILD_TYPE: Debug -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- TEST TEST -- Performing Test SUPPORT_SSE42 -- Performing Test SUPPORT_SSE42 - Success -- Performing Test SUPPORT_AVX -- Performing Test SUPPORT_AVX - Success -- Performing Test SUPPORT_AVX2 -- Performing Test SUPPORT_AVX2 - Success -- CMAKE_CXX_COMPILER_ID: GNU -- CMAKE_C_COMPILER: 4.8 -- CXX_COMPILER_VERSION: 4.8 -- SSE 4.2 support detected -- Snappy was not found. codecssnappy and inmemorybenchmarksnappy targets are not available. -- Configuring done -- Generating done -- Build files have been written to: newtmp/FastPFor /newtmp/FastPFor$ make VERBOSE=1 /usr/bin/cmake -Hnewtmp/FastPFor -Bnewtmp/FastPFor --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start newtmp/FastPFor/CMakeFiles newtmp/FastPFor/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory
newtmp/FastPFor'make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/FastPFor.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/FastPFor.dir/depend.internal".Scanning dependencies of target FastPFormake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/FastPFor.dir/build.make CMakeFiles/FastPFor.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 1 [ 6%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o -c newtmp/FastPFor/src/bitpacking.cpp /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 2 [ 13%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o -c newtmp/FastPFor/src/bitpackingaligned.cpp /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 3 [ 20%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o -c newtmp/FastPFor/src/bitpackingunaligned.cpp /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 4 [ 26%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o -c newtmp/FastPFor/src/horizontalbitpacking.cpp /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 5 [ 33%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o -c newtmp/FastPFor/src/simdunalignedbitpacking.cpp /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 6 [ 40%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o -c newtmp/FastPFor/src/simdbitpacking.cpp Linking CXX static library libFastPFor.a /usr/bin/cmake -P CMakeFiles/FastPFor.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/FastPFor.dir/link.txt --verbose=1 /usr/bin/ar cr libFastPFor.a CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o /usr/bin/ranlib libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 1 2 3 4 5 6[ 40%] Built target FastPFormake -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/benchbitpacking.dir/depend.internal".Scanning dependencies of target benchbitpackingmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/benchbitpacking.dir/build.make CMakeFiles/benchbitpacking.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 7 [ 46%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -c newtmp/FastPFor/src/benchbitpacking.cpp Linking CXX executable benchbitpacking /usr/bin/cmake -E cmake_link_script CMakeFiles/benchbitpacking.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o -o benchbitpacking -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 7[ 46%] Built target benchbitpackingmake -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/codecs.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/codecs.dir/depend.internal".Scanning dependencies of target codecsmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/codecs.dir/build.make CMakeFiles/codecs.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 8 [ 53%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/codecs.dir/src/codecs.cpp.o -c newtmp/FastPFor/src/codecs.cpp Linking CXX executable codecs /usr/bin/cmake -E cmake_link_script CMakeFiles/codecs.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/codecs.dir/src/codecs.cpp.o -o codecs -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 8[ 53%] Built target codecsmake -f CMakeFiles/csv2maropu.dir/build.make CMakeFiles/csv2maropu.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/csv2maropu.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/csv2maropu.dir/depend.internal".Scanning dependencies of target csv2maropumake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/csv2maropu.dir/build.make CMakeFiles/csv2maropu.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 9 [ 60%] Building CXX object CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o -c newtmp/FastPFor/src/csv2maropu.cpp Linking CXX executable csv2maropu /usr/bin/cmake -E cmake_link_script CMakeFiles/csv2maropu.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o -o csv2maropu -rdynamic make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 9[ 60%] Built target csv2maropumake -f CMakeFiles/entropy.dir/build.make CMakeFiles/entropy.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/entropy.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/entropy.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/entropy.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/entropy.dir/depend.internal".Scanning dependencies of target entropymake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/entropy.dir/build.make CMakeFiles/entropy.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 10 [ 66%] Building CXX object CMakeFiles/entropy.dir/src/entropy.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/entropy.dir/src/entropy.cpp.o -c newtmp/FastPFor/src/entropy.cpp Linking CXX executable entropy /usr/bin/cmake -E cmake_link_script CMakeFiles/entropy.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/entropy.dir/src/entropy.cpp.o -o entropy -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 10[ 66%] Built target entropymake -f CMakeFiles/example.dir/build.make CMakeFiles/example.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/example.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/example.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/example.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/example.dir/depend.internal".Scanning dependencies of target examplemake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/example.dir/build.make CMakeFiles/example.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 11 [ 73%] Building CXX object CMakeFiles/example.dir/example.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/example.dir/example.cpp.o -c newtmp/FastPFor/example.cpp Linking CXX executable example /usr/bin/cmake -E cmake_link_script CMakeFiles/example.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/example.dir/example.cpp.o -o example -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 11[ 73%] Built target examplemake -f CMakeFiles/gapstats.dir/build.make CMakeFiles/gapstats.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/gapstats.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/gapstats.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/gapstats.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/gapstats.dir/depend.internal".Scanning dependencies of target gapstatsmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/gapstats.dir/build.make CMakeFiles/gapstats.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 12 [ 80%] Building CXX object CMakeFiles/gapstats.dir/src/gapstats.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/gapstats.dir/src/gapstats.cpp.o -c newtmp/FastPFor/src/gapstats.cpp Linking CXX executable gapstats /usr/bin/cmake -E cmake_link_script CMakeFiles/gapstats.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/gapstats.dir/src/gapstats.cpp.o -o gapstats -rdynamic make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 12[ 80%] Built target gapstatsmake -f CMakeFiles/inmemorybenchmark.dir/build.make CMakeFiles/inmemorybenchmark.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/inmemorybenchmark.dir/depend.internal".Scanning dependencies of target inmemorybenchmarkmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/inmemorybenchmark.dir/build.make CMakeFiles/inmemorybenchmark.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 13 [ 86%] Building CXX object CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o -c newtmp/FastPFor/src/inmemorybenchmark.cpp Linking CXX executable inmemorybenchmark /usr/bin/cmake -E cmake_link_script CMakeFiles/inmemorybenchmark.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o -o inmemorybenchmark -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 13[ 86%] Built target inmemorybenchmarkmake -f CMakeFiles/partitionbylength.dir/build.make CMakeFiles/partitionbylength.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/partitionbylength.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/partitionbylength.dir/depend.internal".Scanning dependencies of target partitionbylengthmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/partitionbylength.dir/build.make CMakeFiles/partitionbylength.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 14 [ 93%] Building CXX object CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o -c newtmp/FastPFor/src/partitionbylength.cpp Linking CXX executable partitionbylength /usr/bin/cmake -E cmake_link_script CMakeFiles/partitionbylength.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o -o partitionbylength -rdynamic make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 14[ 93%] Built target partitionbylengthmake -f CMakeFiles/unit.dir/build.make CMakeFiles/unit.dir/dependmake[2]: Entering directory
newtmp/FastPFor'cd newtmp/FastPFor && /usr/bin/cmake -E cmake_depends "Unix Makefiles" newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor newtmp/FastPFor/CMakeFiles/unit.dir/DependInfo.cmake --color=Dependee "newtmp/FastPFor/CMakeFiles/unit.dir/DependInfo.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/unit.dir/depend.internal".Dependee "newtmp/FastPFor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "newtmp/FastPFor/CMakeFiles/unit.dir/depend.internal".Scanning dependencies of target unitmake[2]: Leaving directorynewtmp/FastPFor'make -f CMakeFiles/unit.dir/build.make CMakeFiles/unit.dir/buildmake[2]: Entering directory
newtmp/FastPFor' /usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 15 [100%] Building CXX object CMakeFiles/unit.dir/src/unit.cpp.o /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed -Inewtmp/FastPFor/headers -o CMakeFiles/unit.dir/src/unit.cpp.o -c newtmp/FastPFor/src/unit.cpp Linking CXX executable unit /usr/bin/cmake -E cmake_link_script CMakeFiles/unit.dir/link.txt --verbose=1 /usr/bin/c++ -Wall -Wcast-align -ggdb -lm -lrt -std=c++11 -DHAVE_CXX0X -march=native -Wl,--no-as-needed CMakeFiles/unit.dir/src/unit.cpp.o -o unit -rdynamic libFastPFor.a make[2]: Leaving directorynewtmp/FastPFor'/usr/bin/cmake -E cmake_progress_report newtmp/FastPFor/CMakeFiles 15[100%] Built target unitmake[1]: Leaving directory
newtmp/FastPFor'/usr/bin/cmake -E cmake_progress_start newtmp/FastPFor/CMakeFiles 0/newtmp/FastPFor$ gdb ./unitGNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1Copyright (C) 2014 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.htmlThis is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law. Type "show copying"and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:http://www.gnu.org/software/gdb/bugs/.Find the GDB manual and other documentation resources online at:http://www.gnu.org/software/gdb/documentation/.For help, type "help".Type "apropos word" to search for commands related to "word"...Reading symbols from ./unit...done.(gdb) runStarting program: newtmp/FastPFor/unittesting... b = 0testing... b = 1testing... b = 2testing... b = 3testing... b = 4testing... b = 5testing... b = 6testing... b = 7testing... b = 8testing... b = 9testing... b = 10testing... b = 11testing... b = 12testing... b = 13testing... b = 14testing... b = 15testing... b = 16testing... b = 17testing... b = 18testing... b = 19testing... b = 20testing... b = 21testing... b = 22testing... b = 23testing... b = 24testing... b = 25testing... b = 26testing... b = 27testing... b = 28 testing large zipfian arrays...length = 32BP32+VariableByte encoding ... decoding ... ok!JustCopy encoding ... decoding ... ok!FastBinaryPacking16+VariableByte encoding ... decoding ... ok!FastBinaryPacking32+VariableByte encoding ... decoding ... ok!FastBinaryPacking8+VariableByte encoding ... decoding ... ok!FastPFor128+VariableByte encoding ... decoding ... ok!FastPFor256+VariableByte encoding ... decoding ... ok!NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!PFor+VariableByte encoding ... decoding ... ok!PFor2008+VariableByte encoding ... decoding ... ok!SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!SIMDFastPFor128+VariableByte encoding ... decoding ... ok!SIMDFastPFor256+VariableByte encoding ... decoding ... ok!SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDPFor+VariableByte encoding ... decoding ... ok!SIMDSimplePFor+VariableByte encoding ... decoding ... ok!Simple8b encoding ... decoding ... ok!Simple8b_RLE encoding ... decoding ... ok!SimplePFor+VariableByte encoding ... decoding ... ok!VariableByte encoding ... decoding ... ok!VarIntG8IU encoding ... decoding ... ok!varintgb encoding ... decoding ... ok!VByte encoding ... decoding ... ok!VSEncoding encoding ... decoding ... ok!length = 1024BP32+VariableByte encoding ... decoding ... ok!JustCopy encoding ... decoding ... ok!FastBinaryPacking16+VariableByte encoding ... decoding ... ok!FastBinaryPacking32+VariableByte encoding ... decoding ... ok!FastBinaryPacking8+VariableByte encoding ... decoding ... ok!FastPFor128+VariableByte encoding ... decoding ... ok!FastPFor256+VariableByte encoding ... decoding ... ok!NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!PFor+VariableByte encoding ... decoding ... ok!PFor2008+VariableByte encoding ... decoding ... ok!SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!SIMDFastPFor128+VariableByte encoding ... decoding ... ok!SIMDFastPFor256+VariableByte encoding ... decoding ... ok!SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDPFor+VariableByte encoding ... decoding ... ok!SIMDSimplePFor+VariableByte encoding ... decoding ... ok!Simple8b encoding ... decoding ... ok!Simple8b_RLE encoding ... decoding ... ok!SimplePFor+VariableByte encoding ... decoding ... ok!VariableByte encoding ... decoding ... ok!VarIntG8IU encoding ... decoding ... ok!varintgb encoding ... decoding ... ok!VByte encoding ... decoding ... ok!VSEncoding encoding ... decoding ... ok!length = 32768BP32+VariableByte encoding ... decoding ... ok!JustCopy encoding ... decoding ... ok!FastBinaryPacking16+VariableByte encoding ... decoding ... ok!FastBinaryPacking32+VariableByte encoding ... decoding ... ok!FastBinaryPacking8+VariableByte encoding ... decoding ... ok!FastPFor128+VariableByte encoding ... decoding ... ok!FastPFor256+VariableByte encoding ... decoding ... ok!NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!PFor+VariableByte encoding ... decoding ... ok!PFor2008+VariableByte encoding ... decoding ... ok!SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!SIMDFastPFor128+VariableByte encoding ... decoding ... ok!SIMDFastPFor256+VariableByte encoding ... decoding ... ok!SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDPFor+VariableByte encoding ... decoding ... ok!SIMDSimplePFor+VariableByte encoding ... decoding ... ok!Simple8b encoding ... decoding ... ok!Simple8b_RLE encoding ... decoding ... ok!SimplePFor+VariableByte encoding ... decoding ... ok!VariableByte encoding ... decoding ... ok!VarIntG8IU encoding ... decoding ... ok!varintgb encoding ... decoding ... ok!VByte encoding ... decoding ... ok!VSEncoding encoding ... decoding ... ok!length = 1048576BP32+VariableByte encoding ... decoding ... ok!JustCopy encoding ... decoding ... ok!FastBinaryPacking16+VariableByte encoding ... decoding ... ok!FastBinaryPacking32+VariableByte encoding ... decoding ... ok!FastBinaryPacking8+VariableByte encoding ... decoding ... ok!FastPFor128+VariableByte encoding ... decoding ... ok!FastPFor256+VariableByte encoding ... decoding ... ok!NewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!OPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!PFor+VariableByte encoding ... decoding ... ok!PFor2008+VariableByte encoding ... decoding ... ok!SIMDBinaryPacking+VariableByte encoding ... decoding ... ok!SIMDFastPFor128+VariableByte encoding ... decoding ... ok!SIMDFastPFor256+VariableByte encoding ... decoding ... ok!SIMDNewPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDOPTPFor<4,Simple16>+VariableByte encoding ... decoding ... ok!SIMDPFor+VariableByte encoding ... decoding ... ok!SIMDSimplePFor+VariableByte encoding ... decoding ... ok!Simple8b encoding ... decoding ... ok!Simple8b_RLE encoding ... decoding ... ok!SimplePFor+VariableByte encoding ... decoding ... ok!VariableByte encoding ... decoding ... ok!VarIntG8IU encoding ... decoding ... ok!varintgb encoding ... decoding ... ok!VByte encoding ... decoding ... ok!VSEncoding encoding ... decoding ... ok!— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96653573.
@mounamouna
Have you found out why you were able to compile the code before?
I just noticed that you appear to be running a 32-bit OS. Is there any particular reason for this choice? This software assumes a recent 64-bit system. You should still be able to cross-compile a 64-bit binary, but this may require some work on your part. The simplest path would be to use a 64-bit system.
I would be interested in the output of this command:
$ gcc -march=native -dM -E - < /dev/null
I am going to close this issue since I do not think it is reasonable to support 32-bit systems.
Thanks for all your feedback and sorry for not catching up earlier on the issue.
Please upgrade to a 64-bit system. If the problem still persists, I will be glad to help further.
Sir, I don't compile this code before. mouna@ubuntu:~$ gcc -march=native -dM -E - < /dev/null
Please Sir, can you help me. For my thesis work, I installed NS3 simulator in this system in order to implement a proactive solution for ip traceback in wireless mesh networks. So i couldn't change completly the system but i want to integrate this package FastPFor in my ns3 implementation because i need to compress two successive ipv4 addresses in one address(using this library and another technics). How can i transform my system to 64-bit system, if possible??
Thanks in advance.
2015-04-27 17:28 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
Have you found out why you were able to compile the code before?
I just noticed that you appear to be running a 32-bit OS. Is there any particular reason for this choice? This software assumes a recent 64-bit system. You should still be able to cross-compile a 64-bit binary, but this may require some work on your part. The simplest path would be to use a 64-bit system.
I would be interested in the output of this command:
$ gcc -march=native -dM -E - < /dev/null
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96709111.
I don't compile this code before.
It sure looks like what you describe doing there:
https://github.com/lemire/FastPFor/issues/19#issuecomment-93853901
For my thesis work, I installed NS3 simulator in this system in order to implement a proactive solution for ip traceback in wireless mesh networks. So i couldn't change completly the system but i want to integrate this package FastPFor in my ns3 implementation because i need to compress two successive ipv4 addresses in one address(using this library and another technics). How can i transform my system to 64-bit system, if possible??
Is your NS3 implementation requiring you to have a 32-bit system? I would think not.
The simplest thing would be reinstall your operating system, and choose a 64-bit version of Ubuntu. Frankly, you have to go out of your way to install a 32-bit Ubuntu these days. Unless you have old hardware (or old binary software), it makes little sense to have a 32-bit version of Ubuntu. You do not appear to have old hardware... so why are you using a 32-bit version of Ubuntu?
I think #19 (comment) https://github.com/lemire/FastPFor/issues/19#issuecomment-93853901 is another version of FastPFor (I will try to find it), but the newest one given by "git clone https://github.com/lemire/FastPFor.git" don't work for me. I installed ubuntu 13.0 in Vmware Player (in windows 7). Initially, i don't care about the system type 32-bit or 64-bit just i think about installing NS3 simulator in my machine. The installation of this simulator was very difficult and took a lot of time.
2015-04-27 18:41 GMT+02:00 Daniel Lemire notifications@github.com:
I don't compile this code before.
It sure looks like what you describe doing there:
19 (comment)
https://github.com/lemire/FastPFor/issues/19#issuecomment-93853901
For my thesis work, I installed NS3 simulator in this system in order to implement a proactive solution for ip traceback in wireless mesh networks. So i couldn't change completly the system but i want to integrate this package FastPFor in my ns3 implementation because i need to compress two successive ipv4 addresses in one address(using this library and another technics). How can i transform my system to 64-bit system, if possible??
Is your NS3 implementation requiring you to have a 32-bit system? I would think not.
The simplest thing would be reinstall your operating system, and choose a 64-bit version of Ubuntu. Frankly, you have to go out of your way to install a 32-bit Ubuntu these days. Unless you have old hardware (or old binary software), it makes little sense to have a 32-bit version of Ubuntu. You do not appear to have old hardware... so why are you using a 32-bit version of Ubuntu?
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96734559.
I find FastPFor -master version: mouna@ubuntu:~$ cd FastPFor-master mouna@ubuntu:~/FastPFor-master$ cmake -DCMAKE_BUILD_TYPE=Debug . -- The CXX compiler identification is GNU 4.8.1 -- The C compiler identification is GNU 4.8.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- TEST TEST -- Performing Test SUPPORT_SSE42 -- Performing Test SUPPORT_SSE42 - Success -- Performing Test SUPPORT_AVX -- Performing Test SUPPORT_AVX - Success -- Performing Test SUPPORT_AVX2 -- Performing Test SUPPORT_AVX2 - Success -- CMAKE_CXX_COMPILER_ID: GNU -- CMAKE_C_COMPILER: 4.8 -- CXX_COMPILER_VERSION: 4.8 -- SSE 4.2 support detected -- Snappy was found. Building additional targets codecssnappy and inmemorybenchmarksnappy. -- Configuring done -- Generating done -- Build files have been written to: /home/mouna/FastPFor-master mouna@ubuntu:~/FastPFor-master$ make Scanning dependencies of target FastPFor [ 5%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpacking.cpp.o [ 11%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingaligned.cpp.o [ 17%] Building CXX object CMakeFiles/FastPFor.dir/src/bitpackingunaligned.cpp.o [ 23%] Building CXX object CMakeFiles/FastPFor.dir/src/horizontalbitpacking.cpp.o [ 29%] Building CXX object CMakeFiles/FastPFor.dir/src/simdunalignedbitpacking.cpp.o [ 35%] Building CXX object CMakeFiles/FastPFor.dir/src/simdbitpacking.cpp.o Linking CXX static library libFastPFor.a [ 35%] Built target FastPFor Scanning dependencies of target benchbitpacking [ 41%] Building CXX object CMakeFiles/benchbitpacking.dir/src/benchbitpacking.cpp.o Linking CXX executable benchbitpacking [ 41%] Built target benchbitpacking Scanning dependencies of target codecs [ 47%] Building CXX object CMakeFiles/codecs.dir/src/codecs.cpp.o Linking CXX executable codecs [ 47%] Built target codecs Scanning dependencies of target codecssnappy [ 52%] Building CXX object CMakeFiles/codecssnappy.dir/src/codecs.cpp.o Linking CXX executable codecssnappy [ 52%] Built target codecssnappy Scanning dependencies of target csv2maropu [ 58%] Building CXX object CMakeFiles/csv2maropu.dir/src/csv2maropu.cpp.o Linking CXX executable csv2maropu [ 58%] Built target csv2maropu Scanning dependencies of target entropy [ 64%] Building CXX object CMakeFiles/entropy.dir/src/entropy.cpp.o Linking CXX executable entropy [ 64%] Built target entropy Scanning dependencies of target example [ 70%] Building CXX object CMakeFiles/example.dir/example.cpp.o Linking CXX executable example [ 70%] Built target example Scanning dependencies of target gapstats [ 76%] Building CXX object CMakeFiles/gapstats.dir/src/gapstats.cpp.o Linking CXX executable gapstats [ 76%] Built target gapstats Scanning dependencies of target inmemorybenchmark [ 82%] Building CXX object CMakeFiles/inmemorybenchmark.dir/src/inmemorybenchmark.cpp.o Linking CXX executable inmemorybenchmark [ 82%] Built target inmemorybenchmark Scanning dependencies of target inmemorybenchmarksnappy [ 88%] Building CXX object CMakeFiles/inmemorybenchmarksnappy.dir/src/inmemorybenchmark.cpp.o Linking CXX executable inmemorybenchmarksnappy [ 88%] Built target inmemorybenchmarksnappy Scanning dependencies of target partitionbylength [ 94%] Building CXX object CMakeFiles/partitionbylength.dir/src/partitionbylength.cpp.o Linking CXX executable partitionbylength [ 94%] Built target partitionbylength Scanning dependencies of target unit [100%] Building CXX object CMakeFiles/unit.dir/src/unit.cpp.o Linking CXX executable unit [100%] Built target unit mouna@ubuntu:~/FastPFor-master$ gdb ./unit GNU gdb (GDB) 7.6.1-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/mouna/FastPFor-master/unit...done. (gdb) run Starting program: /home/mouna/FastPFor-master/./unit
Program received signal SIGSEGV, Segmentation fault. 0x08083bca in FastPForLib::VarIntG8IU::VarIntG8IU() () (gdb) where
ubp_av=0xbfffec04, init=0x80d9240 <__libc_csu_init>,
fini=0x80d92b0 <__libc_csu_fini>, rtld_fini=0xb7fed5f0 <_dl_fini>,
stack_end=0xbfffebfc) at libc-start.c:219
(gdb) list 1 ../sysdeps/i386/dl-procinfo.c: No such file or directory.
What is the problem???
2015-04-27 19:06 GMT+02:00 Mouna Gassara gas.mouna@gmail.com:
I think #19 (comment) https://github.com/lemire/FastPFor/issues/19#issuecomment-93853901 is another version of FastPFor (I will try to find it), but the newest one given by "git clone https://github.com/lemire/FastPFor.git" don't work for me. I installed ubuntu 13.0 in Vmware Player (in windows 7). Initially, i don't care about the system type 32-bit or 64-bit just i think about installing NS3 simulator in my machine. The installation of this simulator was very difficult and took a lot of time.
2015-04-27 18:41 GMT+02:00 Daniel Lemire notifications@github.com:
I don't compile this code before.
It sure looks like what you describe doing there:
19 (comment)
https://github.com/lemire/FastPFor/issues/19#issuecomment-93853901
For my thesis work, I installed NS3 simulator in this system in order to implement a proactive solution for ip traceback in wireless mesh networks. So i couldn't change completly the system but i want to integrate this package FastPFor in my ns3 implementation because i need to compress two successive ipv4 addresses in one address(using this library and another technics). How can i transform my system to 64-bit system, if possible??
Is your NS3 implementation requiring you to have a 32-bit system? I would think not.
The simplest thing would be reinstall your operating system, and choose a 64-bit version of Ubuntu. Frankly, you have to go out of your way to install a 32-bit Ubuntu these days. Unless you have old hardware (or old binary software), it makes little sense to have a 32-bit version of Ubuntu. You do not appear to have old hardware... so why are you using a 32-bit version of Ubuntu?
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96734559.
@mounamouna
I am able to cross-compile a 32-bit binary on my 64-bit OS (using GCC's -m32 flag). I am thus perfectly able to reproduce your problems now. If you type cmake -DCMAKE_BUILD_TYPE=Debug .
, you end up with the compilation error your just described. If you just do cmake .
, then you end up with a segmentation fault in FastPForLib::VarIntG8IU::VarIntG8IU() ()
.
So it seems like everything is explained: the problem is with the fact that you have a 32-bit system. You need to upgrade to a 64-bit system.
Thanks for the bug report, we have upgraded the documentation to make sure that people know that a 32-bit system is required.
The installation of this simulator was very difficult and took a lot of time.
I am sure it was.
Supporting 32-bit systems in FastPFor would be very difficult and take a lot of time.
So it seems like either you upgrade your system to a 64-bit system... which, I am sure, is going to take you a couple of days... or you find someone willing to spend the necessary time to make FastPFor run on 32-bit systems. As I just wrote, I do not consider this task to be a reasonable one... but you might find someone who is willing to spend the time. Of course, it might help if you were willing to pay for the work in question.
Good luck!
Thank you sir. I have to resolve my problems lonely ;)
2015-04-27 19:48 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
I am able to cross-compile a 32-bit binary on my 64-bit OS (using GCC's -m32 flag). I am thus perfectly able to reproduce your problems now. If you type cmake -DCMAKE_BUILD_TYPE=Debug ., you end up with the compilation error your just described. If you just do cmake ., then you end up with a segmentation fault in FastPForLib::VarIntG8IU::VarIntG8IU() ().
So it seems like everything is explained: the problem is with the fact that you have a 32-bit system. You need to upgrade to a 64-bit system.
Thanks for the bug report, we have upgraded the documentation to make sure that people know that a 32-bit system is required.
The installation of this simulator was very difficult and took a lot of time.
I am sure it was.
Supporting 32-bit systems in FastPFor would be very difficult and take a lot of time.
So it seems like either you upgrade your system to a 64-bit system... which, I am sure, is going to take you a couple of days... or you find someone willing to spend the necessary time to make FastPFor run on 32-bit systems. As I just wrote, I do not consider this task to be a reasonable one... but you might find someone who is willing to spend the time. Of course, it might help if you were willing to pay for the work in question.
Good luck!
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96755488.
@mounamouna
What is the problem???
You have a 32-bit system. This is not supported.
I have modified the cmake script so that it warns you if you do not have a 64-bit system.
The problem is that i have to reinstall all things Ubuntu NS3 eclipse . . . FastPFor :( Return to the step zero
2015-04-27 19:56 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
What is the problem???
You have a 32-bit system. This is not supported.
I have modified the cmake script so that it warns you if you do not have a 64-bit version.
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96758632.
mouna@ubuntu:~$ cd simdcomp-master mouna@ubuntu:~/simdcomp-master$ make cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -c ./src/simdbitpacking.c -Iinclude cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -c ./src/simdintegratedbitpacking.c -Iinclude cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -c ./src/simdcomputil.c -Iinclude cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -c ./src/simdpackedsearch.c -Iinclude cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -c ./src/simdpackedselect.c -Iinclude cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -o unit ./src/unit.c -Iinclude simdbitpacking.o simdintegratedbitpacking.o simdcomputil.o simdpackedsearch.o simdpackedselect.o ./src/unit.c: In function ‘test_simdpackedselect_advanced’: ./src/unit.c:277:49: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-optimizations] buffer[i] = ((uint32_t)(1431655765 * i + 0xFFFFFFFF)) ; ^ ./src/unit.c:276:9: note: containing loop for (i = 0; i < 128; i++) { ^ ./src/unit.c:277:49: warning: iteration 2u invokes undefined behavior [-Waggressive-loop-optimizations] buffer[i] = ((uint32_t)(1431655765 * i + 0xFFFFFFFF)) ; ^ ./src/unit.c:276:9: note: containing loop for (i = 0; i < 128; i++) { ^ cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -o unit_chars ./src/unit_chars.c -Iinclude simdbitpacking.o simdintegratedbitpacking.o simdcomputil.o simdpackedsearch.o simdpackedselect.o cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -o libsimdcomp.so.0.0.3 simdbitpacking.o simdintegratedbitpacking.o simdcomputil.o simdpackedsearch.o simdpackedselect.o -shared mouna@ubuntu:~/simdcomp-master$ make test ./unit gap = 1 make: *\ [test] Segmentation fault (core dumped)
bad luck for me :(
2015-04-27 21:37 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
You can use simpler libraries...
https://github.com/lemire/simdcomp
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96791434.
@mounamouna
Please have a look at the actual line 277 in unit.c of the project your refer to :
https://github.com/lemire/simdcomp/blob/master/src/unit.c#L277
I modified this line but the same error: mouna@ubuntu:~/simdcomp-master$ make cc -fPIC -std=c89 -O3 -march=native -Wall -Wextra -pedantic -o unit ./src/unit.c -Iinclude simdbitpacking.o simdintegratedbitpacking.o simdcomputil.o simdpackedsearch.o simdpackedselect.o mouna@ubuntu:~/simdcomp-master$ make test ./unit gap = 1 make: *\ [test] Segmentation fault (core dumped)
2015-04-27 22:09 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
Please have a look at the actual line 277 in unit.c of the project your refer to :
https://github.com/lemire/simdcomp/blob/master/src/unit.c#L277
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96800794.
@mounamouna
I am not sure you understand how this is supposed to work. I recommend you read up on GitHub and how it works. You should probably familiarize yourself with the culture of open source as well.
@mounamouna
Just a few pointers on the culture of GitHub:
About open source:
just one question: it is compatible with my 32-bit system??
2015-04-27 23:50 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
I am not sure you understand how this is supposed to work. I recommend you read up on GitHub and how it works. You should probably familiarize yourself with the culture of open source as well.
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96831093.
Probably not, but as Daniel pointed out, we have no time/desire/incentives to figure this out. In that, reinstalling your virtual system takes very little time.
I am sorry Sir for wasting your time. You are a gentil man.
2015-04-28 0:03 GMT+02:00 Mouna Gassara gas.mouna@gmail.com:
just one question: it is compatible with my 32-bit system??
2015-04-27 23:50 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna
I am not sure you understand how this is supposed to work. I recommend you read up on GitHub and how it works. You should probably familiarize yourself with the culture of open source as well.
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96831093.
@mounamouna The C library simdcomp should run on a 32-bit system. It is very simple C code with nothing fancy. Of course, you need to run it from a fresh clone, not some hand-modified version. It is also probably entirely useless to compress IP addresses, but that is another story.
As @searchivarius pointed out, reinstalling your virtual system so that it is 64-bit (as it should IMHO) takes very little time compared to the effort needed to make complex 64-bit code run on 32-bit systems. Compared to the effort needed to test and integrate something like FastPFor in a software implementation... installing a 64-bit OS is a walk in the park.
Thank you Sir.
2015-04-28 0:31 GMT+02:00 Daniel Lemire notifications@github.com:
@mounamouna https://github.com/mounamouna The C library simdcomp should run on a 32-bit system. It is very simple C code with nothing fancy. Of course, you need to run from a fresh clone, not some hand-modified version. It is also probably entirely useless to compress IP addresses, but that is another story.
As @searchivarius https://github.com/searchivarius pointed out, reinstalling your virtual system so that it is 64-bit (as it should IMHO) takes very little time compared to the effort needed to make complex 64-bit code run on 32-bit systems. Compared to the effort needed to test and integrate something like FastPFor in a software implementation... installing a 64-bit OS is a walk in the park.
— Reply to this email directly or view it on GitHub https://github.com/lemire/FastPFor/issues/19#issuecomment-96839120.
I have Ubuntu 13.0 in Vmware player. I installed FastPFor library by executing: Cmake . make After that, I tried to run the example.cpp but this error was occured: Segmentation fault( Core dumped). What is the problem and how can i correct it?????,