public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How to build gcc with address sanitizer?
@ 2019-12-09 16:58 Qing Zhao
  0 siblings, 0 replies; only message in thread
From: Qing Zhao @ 2019-12-09 16:58 UTC (permalink / raw)
  To: gcc

Hello,

When using gcc8.2.1 to build one application, it’s out of memory during “cc1”, We suspect that there are some memory leak problem in “cc1”, therefore tried to build
Gcc with address sanitizer in order to detect the memory leak during compilation. 

However, it took me a lot of time in order to build the gcc (or just “cc1”) with address sanitizer. Still cannot do this successfully till now. 

Did anyone do this before? Any documentation on how to do this?

Thanks a lot for any help.

Qing

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-09 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 16:58 How to build gcc with address sanitizer? Qing Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).