delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/08/17:09:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=OqDk2lN
QcEK3kmgU8f9e1o6BZ8t7GhBpAj+2QYNy5Ev+TySV97DUFKJedfKb589LqPaQxSH
lpUCvKTdSBdHorywTCYfJWIOy+sISbx9lNDP/CmKgJ/8u0PXMV68hn9sLyOIXHLE
SvpvSbEmejaOMFRSE760lC9Y7Qmszm76wdWw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=yj7IdGmwCn1WE
PLaHhLKWQcVjxE=; b=Pals6w9cOlp0XGMrlKR4dshW+Hf2HHkY/JmNQJv8ZrfHt
OW3lUQEWcuK3K2Dx3v1LIp/c8/0JLg3sIv6FHxvBddC+VQBnQPJoLM92kScgRl/1
Xrf8o/UVeI5shF5B1Kaxf6D0x0qUDJ2QESFyCGAIRqiRj8fvAkmMd6pFUt2GXQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=thru, luck, clicking
X-HELO: mail-io0-f174.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LBLUGd0msO+nrHggpXXEeF3rJadBPzLUAUHAD8P9Q0A=; b=cdXt19lt/S18oys1c9SXgSA40TsqoWfyWtr1vhqtV6KKJs7MveUhigBoDqhap9Coip RX1J2zeLpSO4MFj91kIeUY2nRSi7/fuPpWvi+Qm+A+1Ecr1x1pR9LkuxvyptFXdsdmSd 7mEz8wSYO9mlV+ETbuol9imT78CmOuQOi5/FY+AX2KXQnqY5GcIGX15dtvoA+/dGPy66 1nZ98MRNKb32cYp9cnSDemPBN6sBTcg+5GilKg6jE314J/64TMZz4M2ZFDhdtB5mt6TJ uRgLil7wVDtoUPmAjFupBLRxKZapVryazObv2BSV+9DEGFyvUE5BLpaFWCF6AN4dD4ly XYOQ==
X-Gm-Message-State: AHPjjUiA/qVctfI+Jx+6sg55gtU49Gd8bzhLTHTXnJxYybKd2ap6QHej pnf77WrDJrJJJFO8OVAwtx3SoxAzrg==
X-Google-Smtp-Source: AOwi7QD8mD56W4QogtayKhwS48bfubFtGQwNc8QPFTpltAV6ToCd+J6O4WklHE56mmoEEj0K8UCiM+olmhaFQzMhi1Y=
X-Received: by 10.107.136.69 with SMTP id k66mr5431963iod.136.1504904935251; Fri, 08 Sep 2017 14:08:55 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <75eecba1-f968-a596-778f-77bbd8bb5c59@gmail.com>
References: <CAD8GWsusnJQk_Z42o966BUwaFHedZ4xnEvBC7AcEtWe=K0ioKg AT mail DOT gmail DOT com> <b7878d31-389b-2d73-b988-34db0b926efb AT gmail DOT com> <CAD8GWsu53ZtB5exta8vmpAJZiNsvAi2xKK0KKctq-hiaW5Fsfw AT mail DOT gmail DOT com> <80ff03da-8e78-f52a-00ad-cf601bbf4e49 AT gmail DOT com> <CAD8GWsuCBxO_8R9uBZwkGnbnJnV5-DdnvMvJ7txF0Ww6McYXoQ AT mail DOT gmail DOT com> <75eecba1-f968-a596-778f-77bbd8bb5c59 AT gmail DOT com>
From: Lee <ler762 AT gmail DOT com>
Date: Fri, 8 Sep 2017 17:08:54 -0400
Message-ID: <CAD8GWsvNi1_9Dm9m50BR+JOE_amcwprWgndA6tdpKsm-tgf9cw@mail.gmail.com>
Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On 9/8/17, Marco Atzeri  wrote:
> On 08/09/2017 22:01, Lee wrote:
>> 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've still got the 'i686-w64-mingw32-gcc -fstack-protector-strong'
>> executable:
>> $ ./div.exe
>> 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
>>
>> https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libssp&arch=x86_64
>> 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?
>>
>
>
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fmingw64-i686-gcc-core%2Fmingw64-i686-gcc-core-6.3.0-1&grep=libssp-0.dll
>
> almost at the end:
>
> usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll

I already have that
$ ls -l /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll
-rwxr-xr-x 1 root None 14336 Feb 22  2017
/usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll

But run setup, nothing shows as pending, switch to full view, find the
line & clicking on the version cycles thru Keep -> Reinstall ->
6.3.0-1 -> Uninstall -> 5.4.0-3 -> Keep

Upgrading to 6.3.0-1 doesn't change anything:
$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ i686-w64-mingw32-gcc -fstack-protector-strong -o div.exe div.c
$ ./div.exe
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
$ ls -l /usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll
-rwxr-xr-x 1 root None 14336 Aug 17 08:26
/usr/i686-w64-mingw32/sys-root/mingw/bin/libssp-0.dll
$

Thanks,
Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019