https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91636

--- Comment #2 from Chan Lewis <baiwfg2 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #1)
> (In reply to Chan Lewis from comment #0)
> > My gcc 7.3.1 version info is:
> > 
> > [root@VM_11_190_centos /data1/ethencao]# gcc -v
> > Using built-in specs.
> > COLLECT_GCC=gcc
> > COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
> > OFFLOAD_TARGET_NAMES=nvptx-none
> > OFFLOAD_TARGET_DEFAULT=1
> > Target: x86_64-redhat-linux
> > Configured with: ../configure --enable-bootstrap
> > --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr
> > --mandir=/usr/share/man --infodir=/usr/share/info
> > --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
> > --enable-threads=posix --enable-checking=release --enable-multilib
> > --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
> > --with-default-libstdcxx-abi=gcc4-compatible
> 
> As I already told you by email, you're comparing apples with oranges. Your
> GCC 7.3.1 uses the old std::string ABI, as shown by the line above.

I'm sorry for that. I'd thought it's different from devtoolset's gcc. It turns
out I've been always using Redhat's gcc. You mean the cause is just this:
`--with-default-libstdcxx-abi=gcc4-compatible` or is the Redhat gcc itself ?
What's the standard output of GNU gcc -v ?

Reply via email to