|
From: | Dmitri A. Sergatskov |
Subject: | Re: configure test for arpack coredumps with -O2 -fsanitize=leak |
Date: | Wed, 28 Mar 2018 17:18:00 -0500 |
On 03/28/2018 04:39 PM, Dmitri A. Sergatskov wrote:
I am trying to compile the latest stable with "-O2 -fsanitize=leak" and configure
coredumps with:
configure:75374: checking whether the arpack library works
configure:75578: g++ -o conftest -O2 -fsanitize=leak -pthread -fopenmp conftest.cpp -larpack -lopenblas -L/usr/lib/gcc/x86_64-redhat-linux/7 -L/usr/
lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-l inux/7/../../.. -llsan -lgfortran -lm -lq
uadmath -lutil -lm >&5
configure:75578: $? = 0
configure:75578: ./conftest
../configure: line 3774: 27291 Segmentation fault (core dumped) ./conftest$ac_exeext
configure:75578: $? = 139
configure: program exited with status 139
Has anyone see the same? (gcc 7.3.1)
What configure args did you use?
Did you use --enable-address-sanitizer-flags or just set -fsanitize-leak in CXXFLAGS?
I'm trying now with --enable-address-sanitizer-flags and the configure script executed all the way through. Debian, GCC 7.3.0.
jwe
[Prev in Thread] | Current Thread | [Next in Thread] |