GCC 5.1 and sanitizer issue

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

 



Hi all,

I am trying to install GCC 5.1 version on our system. I followed the
instructions on the GCC FAQ page (configure section). The only
difference is that due to some restrictions on our system to access
Internet, I manually downloaded those three prerequisite packages
(GMP, MPFR, and MPC) and untar'ed them into the gcc folder. So, I have
something like this:
gcc-5.1.0            -> gcc files
gcc-5.1.0/gmp    -> latest gmp files
gcc-5.1.0/mpfr    -> latest mpfr files
gcc-5.1.0/mpc    -> latest mpc files

What I am trying to say is that I removed the version numbers to make
them visible to gcc build system.

This is the configuration command:
/home/millad/gcc-5.1.0/configure --prefix=/home/millad/gcc-build/
--enable-languages=c,c++,fortran --disable-bootstrap

But, I still get an error about sanitizer:
g++: braced spec '%:sanitize(address):%{!shared:libasan_preinit%O%s}
%{static-libasan:%{!shared:-Bstatic --whole-archive -lasan
--no-whole-archive -Bdynamic}}%{!static-libasan:-lasan}}
%{%:sanitize(thread):%{static-libtsan:%{!shared:-Bstatic
--whole-archive -ltsan --no-whole-archive
-Bdynamic}}%{!static-libtsan:-ltsan}}
%{%:sanitize(leak):%{static-liblsan:%{!shared:-Bstatic --whole-archive
-llsan --no-whole-archive -Bdynamic}}%{!static-liblsan:-llsan}}' is
invalid at '%'

Any ideas how to solve this issue?


Best Regards,
Millad Ghane




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux