[Bug fortran/55341] address-sanitizer and Fortran
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 20 17:31:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55341
--- Comment #36 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-20 17:31:04 UTC ---
(In reply to comment #34)
> (In reply to comment #33)
> > Using--with-build-config=bootstrap-asan should do that for you.
>
> Seems like I'm doing something wrong, this fails for me after configuring with:
>
> ../gcc/configure --prefix=/data/vjoost/gnu/gcc_trunk/install
> --enable-languages=c,c++,fortran --disable-multilib --enable-plugins
> --disable-werror --with-build-config=bootstrap-asan
>
> /data/vjoost/gnu/binutils-2.23.1/install/bin/ld: error:
> /data/vjoost/gnu/gcc_trunk/obj/prev-x86_64-unknown-linux-gnu/libsanitizer/asan/.libs/libasan.a(asan_new_delete.o):
> multiple definition of 'operator new(unsigned long)'
> /data/vjoost/gnu/binutils-2.23.1/install/bin/ld:
> /data/vjoost/gnu/gcc_trunk/obj/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(new_op.o):
This is PR 55374.
More information about the Gcc-bugs
mailing list