From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19706 invoked by alias); 8 Sep 2017 15:04:17 -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 19274 invoked by uid 89); 8 Sep 2017 15:04:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f181.google.com Received: from mail-pf0-f181.google.com (HELO mail-pf0-f181.google.com) (209.85.192.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Sep 2017 15:04:15 +0000 Received: by mail-pf0-f181.google.com with SMTP id e199so4927162pfh.3 for ; Fri, 08 Sep 2017 08:04:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=J/XGgtFbk3O4AmdXmX56NzZyVYrO0vRe+eqHtKt6j9c=; b=l+3NOCOqd2bnoavT8UXelM/Pj7gOu4U2DvfyeJzN8PrzbkLv8wuThF6jwYtJODCHYd na1yBpRD/bsaoIqSrtsO4/37OVsq2Z80IYN4SYvr6E2wqy2nWkAEbhBdzk8aWn5LzOpa gCFUHZRtBSwSM9AIAPxFbh1EyhxXdpTN++XNKzY65BRFMMpKT5ZHlnLFQPiyqNmUJeiK U0tO6RoT1Hyxw3C6jC3je4oxkMbEzesff8duaJ6gMSZUGtd8fRIu0Zd4TdFqRiDnMjRM QFbBQC/y+oo8VcJdqcqDGyHmITEvuT1Ir7L9+P5ii9bj7n5sCJbufHU6ASUlxRfmgAlk uZvA== X-Gm-Message-State: AHPjjUhlM8J9cK8gQyHaiGSWJUek3l6S7H6/D4xz0YKL6vXkCybENj3s JlZfBnba2rTUrwSL X-Google-Smtp-Source: ADKCNb4tvefNCvX0iD1LqyobiqdJb593HBIWRfQ4QXa6M0ZQjQ/2QU5hIQvqAhRUYxO4AXY1jU957Q== X-Received: by 10.84.232.6 with SMTP id h6mr3791782plk.66.1504883053918; Fri, 08 Sep 2017 08:04:13 -0700 (PDT) Received: from [192.168.130.57] ([50.225.52.145]) by smtp.googlemail.com with ESMTPSA id z89sm4177570pff.13.2017.09.08.08.04.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Sep 2017 08:04:12 -0700 (PDT) Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Fri, 08 Sep 2017 15:04:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00093.txt.bz2 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 > 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) > try cygcheck ./div.exe -- 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