From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109262 invoked by alias); 8 Sep 2017 21:08:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 109253 invoked by uid 89); 8 Sep 2017 21:08:58 -0000 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 Received: from mail-io0-f174.google.com (HELO mail-io0-f174.google.com) (209.85.223.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Sep 2017 21:08:57 +0000 Received: by mail-io0-f174.google.com with SMTP id i14so8175077ioe.2 for ; Fri, 08 Sep 2017 14:08:57 -0700 (PDT) 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 Received: by 10.79.184.1 with HTTP; Fri, 8 Sep 2017 14:08:54 -0700 (PDT) In-Reply-To: <75eecba1-f968-a596-778f-77bbd8bb5c59@gmail.com> References: <80ff03da-8e78-f52a-00ad-cf601bbf4e49@gmail.com> <75eecba1-f968-a596-778f-77bbd8bb5c59@gmail.com> From: Lee Date: Fri, 08 Sep 2017 21:08:00 -0000 Message-ID: Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00100.txt.bz2 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