Re: i686-w64-mingw32-gcc -fstack-protector-strong
- Date: Fri, 8 Sep 2017 16:01:22 -0400
- From: Lee <ler762@xxxxxxxxx>
- Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong
On 9/8/17, Marco Atzeri wrote:
> On 08/09/2017 20:53, Lee wrote:
>> On 9/8/17, Marco Atzeri wrote:
>>> On 08/09/2017 16:14, Lee wrote:
>>>> I'm hoping that I'm just missing a library, but which one? Even
>>>> better, how to tell which one?
>>>> $ i686-w64-mingw32-gcc -o div.exe div.c
>>>> $ ./div
>>>> $ i686-w64-mingw32-gcc -fstack-protector-strong -o div.exe div.c
>>>> $ ./div
>>>> C:/cygwin/home/Lee/t/div.exe: error while loading shared libraries: ?:
>>>> cannot open shared object file: No such file or directory
>>>> $ ldd div.exe
>>>> ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
>>>> ??? => ??? (0x778f0000)
>>>> wow64.dll => /cygdrive/c/WINDOWS/System32/wow64.dll
>>>> wow64win.dll => /cygdrive/c/WINDOWS/System32/wow64win.dll
>>> cygcheck ./div.exe
>> nothing useful for a non-cygwin program?
>> $ cygcheck ./div.exe
> cygcheck works also for not cygwin program
> ( cygcheck --help for details)
<.. snip examples ..>
> You can also use
> $ objdump -x ./net.exe |grep -i "dll name"
<.. snip output..>
I've still got the 'i686-w64-mingw32-gcc -fstack-protector-strong' executable:
C:/cygwin/home/Lee/t/div.exe: error while loading shared libraries: ?:
cannot open shared object file: No such file or directory
$ objdump -x ./div.exe | egrep -i "dll name"
DLL Name: KERNEL32.dll
DLL Name: msvcrt.dll
DLL Name: libssp-0.dll
shows libssp0 as the GCC Stack-Smashing Protection runtime library
but I don't see anything like that with a leading "mingw64-i686-"
name, so I'm out of luck?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple