[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH/RFC] fix crash when using certain keybindings
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH/RFC] fix crash when using certain keybindings |
Date: |
Fri, 04 Apr 2014 23:22:23 +0200 |
On Fri, Apr 4, 2014, at 22:24, Mike Frysinger wrote:
> if you build nano with -fsanitize=address
Hmm, when I try exporting CFLAGS="-g -O2 -fsanitize=address" and then
run configure, it pauses and then fails on the cross-compiling check:
[...]
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in
`/home/ben/NANO':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
In config.log there are seven thousand lines of this:
==12567== AddressSanitizer CHECK failed:
../../../../src/libsanitizer/sanitizer_common/sanitizer_linux.cc:309
"((proc_self_maps_.len)) > ((0))" (0x0, 0x0)
and then:
./configure: line 3493: 12567 Segmentation fault ./conftest$ac_cv_exeext
$ gcc --version | head -1
gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
Benno
--
http://www.fastmail.fm - The way an email service should be