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 driver/55379] New: -static -static-libasan doesn't create static binary


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

             Bug #: 55379
           Summary: -static -static-libasan doesn't create static binary
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


[hjl@gnu-tools-1 gcc]$ ./xgcc -B./ x.o  -o x  -faddress-sanitizer
-B../x86_64-unknown-linux-gnu/libsanitizer/asan/.libs/ -static-libasan 
[hjl@gnu-tools-1 gcc]$ ldd a.out 
    linux-vdso.so.1 =>  (0x00007fffc6991000)
    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]$


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