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

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:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=CdrhlprMEFoq9ZQ8Y2xMz5o5cIfLN
wsUegfrG35ffN8XjNMBUzqB8/a23mpwHWKrUdQPyilE2invBMfAa2LaFd9rRJQ/2
ccAvS0E8KHy2gWupVu2Rl0rE7OQLsSB+TftFQ5DRjgCMetdqi6bA5bQ+38DVkKLW
CrvuYaoovPgWts=
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:from:date:message-id:subject:to
:content-type; s=default; bh=wvQTlFlz3HIdK26PQjYy/hJNR9k=; b=gKj
kX0eu+Z332qlDK8p89GqfD4FgsZRNTys82PkOdTdbSl+pwm90LyOBnjdW/cfPKqB
MDb/BsEHxfBFCuB5QLtZJWVvGYQ1z/PkLcZu4upwvgmqkx3UKh7JozRX+EBLDagq
fQeajLooX76fB/HPRLaJM2eo9ogdMx/FQ1bXcZuU=
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=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:923, WINDOWS
X-HELO: mail-it0-f50.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:from:date:message-id:subject:to; bh=93KTvFgk7o6cEjTXPK9QfdRPWtuDg0B12gpkM00+Nng=; b=tLMHfqEYNiSJwRq5iVP/Xt1RSPhH+P+uqh4EerT5LLPGIG/coGB01lvwn7wMqhb4Tm /2Nr/yiIRyxHVsd0LNO98cVkP36p2u2YCdKFgmzgnbUDpN5r4bqx3p68gG6QIUFoainC ipd2GajTCHyvg5la/vrXNIl7Tmj8cidZbEP1OOPYI48J9FIln1Nj95A0FeqRHOElsPej ldLgmua0Hf1bGjU7FYOIoJ4wSDBAnTXIBMujM+WJH4lpvOU+khp363JlMSJYU6GHUH54 vI8ZJG87xtEJeVGrRRA4xpj4eWL/fthraHMKZkfWXJ2hn3r3j+6g9CMFQ8OMY3LYcLQY x7Hw==
X-Gm-Message-State: AHPjjUgdaLJIYoSJRhDhLGQwe5kcQ0Pk05fSbgmChU9XsCbalPT20i5Z sXi2wGko0bhCKiQLkVwMKMqD7vc1Po8iGpz3pJM=
X-Google-Smtp-Source: AOwi7QCjQu1HimO0X1TIpPwJkGT4ai+iAfhXcoGUuADHQGpp4R2TI4PZ7Gi4bT4dbO5S4r6v9QlNTwZNWa4wwLwh4f4=
X-Received: by 10.36.124.131 with SMTP id a125mr899693itd.29.1504880096478; Fri, 08 Sep 2017 07:14:56 -0700 (PDT)
MIME-Version: 1.0
From: Lee <ler762 AT gmail DOT com>
Date: Fri, 8 Sep 2017 10:14:54 -0400
Message-ID: <CAD8GWsusnJQk_Z42o966BUwaFHedZ4xnEvBC7AcEtWe=K0ioKg@mail.gmail.com>
Subject: i686-w64-mingw32-gcc -fstack-protector-strong
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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
  works

$ 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 (0x7ffef5c50000)
        ??? => ??? (0x778f0000)
        wow64.dll => /cygdrive/c/WINDOWS/System32/wow64.dll (0x50e50000)
        wow64win.dll => /cygdrive/c/WINDOWS/System32/wow64win.dll (0x50dd0000)

$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 5.4.0
Copyright (C) 2015 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.

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