odelaneau/shapeit4

Core dump on invoking on CentOS8

brucedesertrat opened this issue · 1 comments

Environment: CentOS Linux release 8.3.2011
Boost and HTSLib from epel

Installed Packages
Name : boost169
Version : 1.69.0
Release : 4.el8
Architecture : x86_64
Size : 1.3 k
Source : boost169-1.69.0-4.el8.src.rpm
Repository : @System
From repo : epel

Installed Packages
Name : htslib
Version : 1.9
Release : 5.el8
Architecture : x86_64
Size : 952 k
Source : htslib-1.9-5.el8.src.rpm
Repository : @System
From repo : epel

makefile (attached as makefile.txt) works and it compiles without any warnings or errors.

running it results in an immediate core dump:

./shapeit4.2 --help
Illegal instruction (core dumped)

abrt report is included as shapeit_cor.tar.gz

shapeit_core.tar.gz

makefile.txt

I was able to get it to function by changing the compiler / linker flag to

CXXFLAG=-O3 -march=native