This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/55374] [asan] -static-libasan -static-libstdc++ doesn't work


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55374

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat
                   |                            |dot ethz.ch

--- Comment #5 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2012-12-20 19:11:01 UTC ---
After applying your patch, I now get to the errors below.... any known
workaround ?

../../gcc/libiberty/regex.c:4497: error: undefined reference to
'__asan_report_store1'
../../gcc/libiberty/regex.c:4497: error: undefined reference to
'__asan_report_load1'
../../gcc/libiberty/regex.c:4497: error: undefined reference to
'__asan_report_load1'
../../gcc/libiberty/regex.c:4497: error: undefined reference to
'__asan_report_load1'
../../gcc/libiberty/regex.c:4493: error: undefined reference to
'__asan_report_load1'
../../gcc/libiberty/regex.c:4447: error: undefined reference to
'__asan_report_load8'
../../gcc/libiberty/regex.c:7682: error: undefined reference to
'__asan_report_store1'
../../gcc/libiberty/regex.c:7653: error: undefined reference to
'__asan_report_load8'
../../gcc/libiberty/regex.c:7725: error: undefined reference to
'__asan_report_store8'
../../gcc/libiberty/regex.c:7592: error: undefined reference to
'__asan_report_store8'
../../gcc/libiberty/regex.c:7505: error: undefined reference to
'__asan_report_load8'
../../gcc/libiberty/regex.c:4835: error: undefined reference to
'__asan_handle_no_return'
../../gcc/libiberty/regex.c:4688: error: undefined reference to
'__asan_report_store1'
../../gcc/libiberty/regex.c:4678: error: undefined reference to
'__asan_report_store1'
../../gcc/libiberty/regex.c:4598: error: undefined reference to
'__asan_report_load8'
../../gcc/libiberty/regex.c:4790: error: undefined reference to
'__asan_report_store8'
../../gcc/libiberty/regex.c:7424: error: undefined reference to
'__asan_handle_no_return'
../../gcc/libiberty/regex.c:6004: error: undefined reference to
'__asan_report_load4'
../../gcc/libiberty/regex.c:6745: error: undefined reference to
'__asan_report_store8'
../../gcc/libiberty/regex.c:6750: error: undefined reference to
'__asan_report_store4'
../../gcc/libiberty/regex.c:6750: error: undefined reference to
'__asan_report_store4'
../../gcc/libiberty/regex.c:6048: error: undefined reference to
'__asan_report_store4'
../../gcc/libiberty/regex.c:5985: error: undefined reference to
'__asan_report_store4'
../../gcc/libiberty/regex.c:7434: error: undefined reference to
'__asan_report_load4'
../../gcc/libiberty/regex.c:7434: error: undefined reference to
'__asan_report_load4'
../../gcc/libiberty/regex.c:7147: error: undefined reference to
'__asan_report_load4'
../../gcc/libiberty/regex.c:287: error: undefined reference to
'__asan_report_load2'
../../gcc/libiberty/regex.c:3292: error: undefined reference to
'__asan_report_load2'
../../gcc/libiberty/regex.c:3279: error: undefined reference to
'__asan_report_load2'
../../gcc/libiberty/regex.c:3295: error: undefined reference to
'__asan_report_load2'
../../gcc/libiberty/regex.c:8081: error: undefined reference to
'__asan_handle_no_return'
../../gcc/libiberty/regex.c:8126: error: undefined reference to
'__asan_unregister_globals'
../../gcc/libiberty/regex.c:8126: error: undefined reference to '__asan_init'
../../gcc/libiberty/regex.c:8126: error: undefined reference to
'__asan_register_globals'
../../gcc/libiberty/fopen_unlocked.c:129: error: undefined reference to
'__asan_init'
../../gcc/libiberty/safe-ctype.c:247: error: undefined reference to
'__asan_unregister_globals'
../../gcc/libiberty/safe-ctype.c:247: error: undefined reference to
'__asan_init'
../../gcc/libiberty/safe-ctype.c:247: error: undefined reference to
'__asan_register_globals'
../../gcc/libiberty/xmalloc.c:137: error: undefined reference to
'__asan_handle_no_return'
../../gcc/libiberty/xmalloc.c:184: error: undefined reference to
'__asan_unregister_globals'
../../gcc/libiberty/xmalloc.c:184: error: undefined reference to '__asan_init'
../../gcc/libiberty/xmalloc.c:184: error: undefined reference to
'__asan_register_globals'
../../gcc/libiberty/xstrerror.c:79: error: undefined reference to
'__asan_unregister_globals'
../../gcc/libiberty/xstrerror.c:79: error: undefined reference to
'__asan_register_globals'
collect2: error: ld returned 1 exit status
make[2]: *** [full-stamp] Error 1
make[2]: Leaving directory `/data/vjoost/gnu/gcc_trunk/obj/fixincludes'
make[1]: *** [all-fixincludes] Error 2
make[1]: *** Waiting for unfinished jobs....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]