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=yQayF3+ DzK9b+Cmx6EbbBs2rprrD7N+9U/e7GDJDRHdjRTSxVkREoILAaSfhMZoJ5TetdI5 hGZK1ZfrIoGJkYHfJlPBHC3w/TYQnjEhc2kzLTxa8lgwp6p+kfTdrm2R89X67BGl 10AUQjl0orLedSgY6Pb1MEfuDKMn62N+7ChY= 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=JHthd0SFRl5QK psWMfi+oaMa4po=; b=o3IvPVr/nHwoLz7OEPdSO9YNp4rmVlftsKpMTbYo+R5gl mJDnKNl1SnFjm3ugHOTjx5ssdlboO2k1s4qOJra4BFHDr5vHxwrnkxHI7sa4N9Xr NfgX6oorpicFh0C1eVOLB/6zKTi5k8oMVftHhp2X+n7JH9oqcNBTHdhtgndSKY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=UD:cygcheck.html, cygcheckhtml, cygcheck.html, cygwin-ug-net X-HELO: mail-it0-f43.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=FhE43PA9zCMvgn2dq1Bmfs+puETEgHe5Lad6x1cdDzA=; b=YyKqiNmX3PNrXbHBGcZAayGYaf8tbiSUMb5fYUOPgzijS/7OrDukBZP2P9ya9AMaEB ttq/Yk5/rJHDJU7QDwzWD6PnHbXcDed8Xjv1ENpHBkKNmaPTb/RKXPBAFbKwceWYNXdC 3eOm4z4TdoR6RZnaalinckz64u4JsXZJu5RqTjz7ZkXbpAXMGhqieW9ztIEl5tYAMWUE S3BE/KdRi7iUY5cUyDeK74Jyz9eDmP/8Jf0f0brio2yxW2PPglYXzdxreuTkTPUlAvsp Nabyh3ZGu7BBJrpvW+gwqsM0Yk2mpl9hCvQCvER/UkdXqWOWoc8mj95FeXJFM0861uZU dQ/Q== X-Gm-Message-State: AHPjjUjVjeSGXLYy59QwAOlSkIK/qK7i/oAmXJhhOByaaUuwxCELrQqm k/lngKmmui7fymhz3+CmoCSodxWyL28BAbgU6hQ= X-Google-Smtp-Source: AOwi7QDUp82D+XfLV/ETbzDink3/A4eQfK2DJmzJ94pRMNPAaWZHmuBNotth0Drm/IHKNtPHw83L9gjDQOwIRiFHHq8= X-Received: by 10.36.36.10 with SMTP id f10mr2278913ita.104.1504896822213; Fri, 08 Sep 2017 11:53:42 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Lee Date: Fri, 8 Sep 2017 14:53:41 -0400 Message-ID: Subject: Re: i686-w64-mingw32-gcc -fstack-protector-strong To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes 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 >> 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 nothing useful for a non-cygwin program? $ cygcheck ./div.exe C:\cygwin\home\Lee\t\div.exe vs. built using cygwin: $ gcc -fstack-protector-strong -o div.exe div.c $ ./div works $ cygcheck ./div.exe C:\cygwin\home\Lee\t\div.exe C:\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNELBASE.dll C:\cygwin\bin\cygssp-0.dll Was there ever a man page for cygcheck? I remember looking at one, but maybe I it was https://cygwin.com/cygwin-ug-net/cygcheck.html ?? $ man cygcheck No manual entry for cygcheck $ info cygcheck info: No menu item 'cygcheck' in node '(dir)Top' 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