public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/55379] -static -static-libasan doesn't create static binary
Date: Sun, 18 Nov 2012 14:52:00 -0000	[thread overview]
Message-ID: <bug-55379-4-6O5HLTI7st@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55379-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-18 14:52:24 UTC ---
It should be

[hjl@gnu-tools-1 gcc]$ ./xgcc -B./ x.o  -o x  -faddress-sanitizer
-B../x86_64-unknown-linux-gnu/libsanitizer/asan/.libs/ -static-libasan -static
[hjl@gnu-tools-1 gcc]$ ldd a.out 
    linux-vdso.so.1 =>  (0x00007fff91699000)
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x0000003341200000)
    libm.so.6 => /lib64/libm.so.6 (0x0000003338200000)
    libgomp.so.1 => /lib64/libgomp.so.1 (0x0000003343e00000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000000333aa00000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003337a00000)
    libc.so.6 => /lib64/libc.so.6 (0x0000003337200000)
    /lib64/ld-linux-x86-64.so.2 (0x0000003336e00000)
    librt.so.1 => /lib64/librt.so.1 (0x0000003337e00000)
[hjl@gnu-tools-1 gcc]$


  reply	other threads:[~2012-11-18 14:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 14:51 [Bug driver/55379] New: " hjl.tools at gmail dot com
2012-11-18 14:52 ` hjl.tools at gmail dot com [this message]
2012-11-18 14:56 ` [Bug driver/55379] -static -static-libasan pass -Bdynamic to linker hjl.tools at gmail dot com
2012-11-18 18:58 ` konstantin.s.serebryany at gmail dot com
2012-11-18 19:35 ` hjl.tools at gmail dot com
2012-11-22 11:14 ` [Bug sanitizer/55379] " jakub at gcc dot gnu.org
2012-11-22 11:31 ` jakub at gcc dot gnu.org
2012-11-22 15:17 ` hjl at gcc dot gnu.org
2012-11-22 15:18 ` hjl.tools at gmail dot com
2012-11-22 15:19 ` hjl.tools at gmail dot com

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-55379-4-6O5HLTI7st@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: link
Be 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).