public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/108834] New: LTO: ltrans temporary file is used as module name in ASAN Date: Fri, 17 Feb 2023 11:23:59 +0000 [thread overview] Message-ID: <bug-108834-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108834 Bug ID: 108834 Summary: LTO: ltrans temporary file is used as module name in ASAN Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- We originally noticed that accidentally in openSUSE bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1208386 $ cat jhead.i int foo; $ gcc -flto -fsanitize=address jhead.i -shared -fPIC -o jhead && md5sum jhead 4e0fb88f928272b4962c6dcd8b845d71 jhead $ gcc -flto -fsanitize=address jhead.i -shared -fPIC -o jhead && md5sum jhead e3c77e7ce9d54afb812add5b87a254d1 jhead $ strings jhead | grep ltrans /tmp/ccIzP3oh.ltrans0.o it comes from ASAN module name: ... .LC2: .string "./jhead.ltrans0.o" .section .data.rel,"aw" .align 32 .type .LASAN0.2, @object .size .LASAN0.2, 64 .LASAN0.2: .quad .LASAN1.0 .quad 4 .quad 64 .quad .LC1 .quad .LC2 which is main_input_filename: gcc/asan.cc:3290 Anyway, I can fix it.
next reply other threads:[~2023-02-17 11:24 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-17 11:23 marxin at gcc dot gnu.org [this message] 2023-02-17 11:24 ` [Bug sanitizer/108834] " marxin at gcc dot gnu.org 2023-02-17 11:48 ` rguenth at gcc dot gnu.org 2023-02-17 13:32 ` marxin at gcc dot gnu.org 2023-02-17 14:39 ` jakub at gcc dot gnu.org 2023-02-17 14:43 ` jakub at gcc dot gnu.org 2023-02-17 14:59 ` marxin at gcc dot gnu.org 2023-02-20 13:59 ` marxin at gcc dot gnu.org 2023-02-20 15:40 ` marxin at gcc dot gnu.org 2023-02-20 15:44 ` jakub at gcc dot gnu.org 2023-02-20 16:03 ` marxin at gcc dot gnu.org 2023-02-20 20:10 ` marxin at gcc dot gnu.org 2023-02-24 15:23 ` cvs-commit at gcc dot gnu.org 2023-02-24 15:24 ` marxin at gcc dot gnu.org 2023-02-27 8:32 ` cvs-commit at gcc dot gnu.org 2023-02-27 8:32 ` marxin at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-108834-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).