[Bug other/55374] [asan] Can't link static libasan with static libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55374 --- Comment #2 from H.J. Lu 2012-11-18 01:29:57 UTC --- Even without -static-libasan, shouldn't -lasan be placed before -lstdc++? [hjl@gnu-tools-1 prev-gcc]$ ./g++ -B./ -faddress-sanitizer x.o -B../prev-x86_64-unknown-linux-gnu/libsani
[Bug other/55374] [asan] Can't link static libasan with static libstdc++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55374 --- Comment #1 from H.J. Lu 2012-11-18 01:18:07 UTC --- -Bstatic -lasan -Bdynamic must be placed before -Bstatic -lstdc++ -Bdynamic.