Skip to content

Instantly share code, notes, and snippets.

@FredericBGA
Created March 22, 2021 08:01
Show Gist options
  • Save FredericBGA/c696199937b6121959924ac040008d00 to your computer and use it in GitHub Desktop.
Save FredericBGA/c696199937b6121959924ac040008d00 to your computer and use it in GitHub Desktop.
Diamond 2.0.8 compilation issues. (CentOS release 6.6 (Final)) GCC 10.2.0
[root@universe bin#]as --version
GNU assembler version 2.20.51.0.2-5.42.el6 20100205
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-redhat-linux'.
[root@universe bin#]g++ --version
g++ (GCC) 10.2.0
Copyright (C) 2020 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.
[root@universe bin#]cmake --version
cmake version 2.8.12.2
[root@universe bin#]cmake -DSTATIC_LIBGCC=ON -DSTATIC_LIBSTDC++=ON -DCMAKE_BUILD_MARCH=native -DCMAKE_INSTALL_PREFIX=/softs/bioinfo/diamond-2.0.8 ..
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /softs/gcc/10.2.0/bin/gcc
-- Check for working C compiler: /softs/gcc/10.2.0/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /softs/gcc/10.2.0/bin/g++
-- Check for working CXX compiler: /softs/gcc/10.2.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /softs/SOURCES/bioinfo/diamond/bin
[root@universe bin#]make -j 6
Scanning dependencies of target arch_avx2
Scanning dependencies of target arch_generic
Scanning dependencies of target arch_sse4_1
[ 1%] [ 1%] [ 2%] [ 2%] [ 2%] [ 2%] Building CXX object CMakeFiles/arch_sse4_1.dir/src/dp/swipe/banded_3frame_swipe.cpp.o
Building CXX object CMakeFiles/arch_sse4_1.dir/src/dp/swipe/swipe.cpp.o
Building CXX object CMakeFiles/arch_generic.dir/src/dp/swipe/banded_3frame_swipe.cpp.o
Building CXX object CMakeFiles/arch_sse4_1.dir/src/search/stage1.cpp.o
Building CXX object CMakeFiles/arch_sse4_1.dir/src/dp/swipe/banded_swipe.cpp.o
Building CXX object CMakeFiles/arch_avx2.dir/src/dp/swipe/banded_3frame_swipe.cpp.o
[ 3%] Building CXX object CMakeFiles/arch_avx2.dir/src/dp/swipe/swipe.cpp.o
/tmp/ccbLQq4A.s: Assembler messages:
/tmp/ccbLQq4A.s:1331: Error: no such instruction: `vinserti128 $0x1,%xmm3,%ymm5,%ymm6'
/tmp/ccbLQq4A.s:1423: Error: no such instruction: `vinserti128 $0x1,%xmm1,%ymm7,%ymm4'
/tmp/ccbLQq4A.s:1479: Error: no such instruction: `vinserti128 $0x1,%xmm15,%ymm2,%ymm3'
/tmp/ccbLQq4A.s:1617: Error: no such instruction: `vinserti128 $0x1,%xmm9,%ymm12,%ymm13'
/tmp/ccbLQq4A.s:1722: Error: no such instruction: `vinserti128 $0x1,%xmm6,%ymm10,%ymm11'
/tmp/ccbLQq4A.s:1778: Error: no such instruction: `vinserti128 $0x1,%xmm4,%ymm8,%ymm9'
/tmp/ccbLQq4A.s:1928: Error: no such instruction: `vinserti128 $0x1,%xmm13,%ymm1,%ymm0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment