octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure test for arpack coredumps with -O2 -fsanitize=leak


From: John W. Eaton
Subject: Re: configure test for arpack coredumps with -O2 -fsanitize=leak
Date: Wed, 28 Mar 2018 17:59:03 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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-linux/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]