delorie.com/archives/browse.cgi | search |
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:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=JYRXBm92FnGGEC+i | |
29JVhknOnIEpllBrwEN463An7qgoYEODP5eSXfgzy/KDSCz3cOMTdVY/3z7agJMP | |
401JfD7L35Atj7pUlz0ktdgzXBAO+naEIQ+LR2ka+RdcncOUQHuXi/XZde0ONjf4 | |
S+kpP2wdGBaq9tLbsVcVuBLJ61E= | |
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:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=JGMk11YnScoYL3Z2U2A276 | |
ZEZdk=; b=WjMIAock2qjW5kibXXl5tp6wtbePX//GWFLpJZyVtSfxuuYN/6HGuQ | |
kApcXsO0RqZCNFGeKPVe/pQtVLWn/w40jEwR2/aKWJ1t0lRH2ylwrqiIYEzHF+BN | |
muGz1y7ZyiGVvbY3zdb02v7O8d0dg/Cf6RBakq+OldUEMS5k5+Tpw= | |
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.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:64.59.136.139, H*RU:64.59.136.139, jeffjeffunitcom, U*jeff |
X-HELO: | smtp-out-so.shaw.ca |
X-Authority-Analysis: | v=2.2 cv=Q++Q2M+a c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=kkLwFqq4AAAA:8 a=CCpqsmhAAAAA:8 a=mDV3o1hIAAAA:8 a=sdnjqSj-g8YOXNZrze8A:9 a=QEXdDO2ut3YA:10 a=ay6N1Hq5UcIA:10 a=i8ZbNWNg3c0A:10 a=o8OmvK1q9j2rsWQQ_NmD:22 a=ul9cdbp4aOFLsgKbc677:22 a=_FVE-zBwftR9WsbkzFJk:22 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: I sent in a bug report and never heard anything back |
References: | <1d53db9147e25c0c5b7e2ba863fd021a DOT squirrel AT webmail DOT weasel DOT com> |
To: | cygwin AT cygwin DOT com |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <2e4955ac-b0ce-5464-c965-0fa564301c74@SystematicSw.ab.ca> |
Date: | Fri, 26 Aug 2016 09:06:54 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <1d53db9147e25c0c5b7e2ba863fd021a.squirrel@webmail.weasel.com> |
X-CMAE-Envelope: | MS4wfBRlOYwtEhhJ5uvnsoWQqnJT5/CSsmSI0wB4efwSbe5opLlgrj0gCop1CtmGGyQyepMlPLkIgNtPE3bc012iVK2yjw44h1CFnBiGOB+kB5jy8Aq7nQB5 PmLr3PpReMiWcKsS8say8DbfRoebDf2yjLgID0KjhOuDhnEh/s1YFD20PKrMU48DN5Fp8ey2sEdVBQ== |
X-IsSubscribed: | yes |
On 2016-08-26 08:30, jeff AT jeffunit DOT com wrote: > In reference to http://sourceware.org/ml/cygwin/2016-08/msg00261.html > I wrote: > I have a small program that generates an internal compiler error. > This only happens on a new dell notebook with an Intel 3825U pentium . > The code compiles and runs fine on an older xeon and amd processors. > Enclosed is the output of cygcheck. > Here is what happens when I try to compile: > sh-4.3$ gcc bug_f2.c > bug_f2.c: In function 'Round': > bug_f2.c:23:5: internal compiler error: Illegal instruction > return floor(d + 0.5); > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > sh-4.3$ exit > Here is the source code: > /#include <string.h> /* strlen */ > #include <math.h> /* floor */ > #include <limits.h> /* INT_MAX, INT_MIN */ > #include <assert.h> /* assert */ > /*+Input: A double. > Output: Rounded input. > Action: Rounded input. +*/ > extern double Round(double d) > { > return floor(d + 0.5); > } > Marco Atzeri wrote: > the code compile on both 32bit and 64 bit version of gcc > for me. > As it is a not stand alone program > gcc -c bug_f2.c > should be used. > My reply: > Thanks for noting the code compiles on 32 and 64 bit architectures. > The code is over a decade old, and has compiled and worked on many ersions > of cygwin > and linux. I specifically mentioned it compiled on cygwin with different > processors. > That was never in question. > The issue is the internal compiler error coming from gcc on my dell with a > specific > intel processor. An internal compiler error does not mean the source code > has a syntax error, > it means the compiler has a bug (which I suspect is related to the > specific cpu). > Based on my experience, the two most likely possibilities are: > 1) somehow my cygwin installation is bad. That is why I included the > output of cygcheck. > 2) there is a cpu specific internal compiler error with gcc. > If 1) is the case, it is possible there is a bug with the cygwin > installer. If 2) is the case, > then the bug should be reported to the gcc maintainers. Since the compiler > is a bit old, > I suspect they will say update the compiler, which is likely something > that cygwin should > do ao it may benefit everyone, not just me. Run Cygwin setup to upgrade everything pending, reboot, and retest. If the compile still fails, provide the info below. You don't specify or provide many details so add the following command inputs and outputs to your report here: * system: uname -srvmo * processors: cat /proc/cpuinfo * memory: cat /proc/meminfo * compiler: gcc --version * preprocessed source: gcc -dM -E bug_f2.c Report those here, and with your source, description, and link to your detailed post here, in a bug report at: https://gcc.gnu.org/bugzilla/ and you may get a better response. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |