This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59136] [4.9 Regression] llvm-symbolizer shouldn't be started always
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Nov 2013 15:48:00 +0000
- Subject: [Bug sanitizer/59136] [4.9 Regression] llvm-symbolizer shouldn't be started always
- Auto-submitted: auto-generated
- References: <bug-59136-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59136
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alexey Samsonov from comment #6)
> External process will only be launched if a user has llvm-symbolizer binary
> in his PATH. This behaivor can also be turned off with a runtime option
> (ASAN_OPTIONS=symbolize=false).
This makes GCC compiled with ASAN totally unusable since
every configure fails with
llvm-symbolizer: Unknown command line argument '--default-arch=x86_64'. Try:
'/usr/bin/llvm-symbolizer -help'
llvm-symbolizer: Did you mean '-disable-ssc=x86_64'?
ASAN_OPTIONS=symbolize=false should be the default when
built within GCC.