Yuri,

again i have error:

[root@localhost usb]# ./configure CXXFLAGS="-fsanitize=address -ggdb"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name... 
configure: error: in `/root/usb':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
[root@localhost usb]# gcc -version
gcc: error: unrecognized command line option ‘-version’
gcc: fatal error: no input files
compilation terminated.
[root@localhost usb]# gcc --version
gcc (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10)
Copyright (C) 2014 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@localhost usb]# g++ --version
g++ (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10)
Copyright (C) 2014 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.



On Friday, July 7, 2017 at 10:22:56 AM UTC+4:30, Yuri Gribov wrote:
>
> On Fri, Jul 7, 2017 at 6:41 AM, Ramin Farajpour Cami 
> <[email protected] <javascript:>> wrote: 
> > Hi, 
> > 
> > I going to enable ASAN for my C++ program,i install libasan package, i 
> get 
> > this error message, i don't know how to resolve it? 
>
> You need a newer compiler (gcc 4.7 at least, newer versions are better). 
>
> -Y 
>

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to