[Bug 822312] -fstack-protector-all results in dynamic dependency on libssp-0.dll

bugzilla at redhat.com bugzilla at redhat.com
Fri May 18 16:40:44 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=822312

--- Comment #6 from Gregory Maxwell <gmaxwell at gmail.com> 2012-05-18 12:40:43 EDT ---

If you say so— though this simply isn't the behavior it has on native binaries:

[gmaxwell at helmholtz tmp]$ gcc test.c -o test -fstack-protector-all
[gmaxwell at helmholtz tmp]$ ldd test
        linux-vdso.so.1 =>  (0x00007fffc618e000)
        libc.so.6 => /lib64/libc.so.6 (0x00000038ef600000)
        /lib64/ld-linux-x86-64.so.2 (0x00000038ef200000)

Though yes indeed, it confuses the heck out of libtool which actually was my
problem in getting it to produce a static binary— intermediate libraries were
introducing the dynamic dependency when -static was only set at the final
linking stage.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the mingw mailing list