delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/28/06:52:57

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=v+NvUnsEM70slFnfeA4o6DNp27hNa
Y98+zsfiXFLgJcwm1vPr3D+CPcxZmTin1FAAZL4dSm1z4+8KEhJ3sabGyhRBluYY
+1S+pyP3Vamg1tb4igRoCEad/IrKrbL5Iy3xueDG6Wccb6mg+SDCNRDtnfIYXiQ6
5Jqs81DbZ8MK1Q=
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:date:message-id:subject:from:to
:content-type; s=default; bh=lx+oXliGWHbPrZUNruKRmd1uYpk=; b=TJx
mj159uzav01p6r+IdfPWgSTagCISq1PB/RzxzsYhP+k/LzX1hzuaTfA78Jqp6VwJ
q+DNNtWAIz5z2MgSB2l6PfokRDWtpN3SO1yJlfLdgum9l5lAPSmK8wbKYAml6JcU
L0XWwAJZAJAHNHeQ+KhZ8izyJC1ske933mkLvsp0=
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.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f172.google.com
MIME-Version: 1.0
X-Received: by 10.50.176.194 with SMTP id ck2mr8131681igc.2.1435488760270; Sun, 28 Jun 2015 03:52:40 -0700 (PDT)
Date: Sun, 28 Jun 2015 12:52:40 +0200
Message-ID: <CAHODtZTJ=2hrC0tj5QtK9mzxh-rqBqBxoCQ8+8uQ856sQbXYNw@mail.gmail.com>
Subject: GCC upgrade to 4.9.3 version request
From: =?UTF-8?B?SmnFmcOtIEVuZ2VsdGhhbGVy?= <engycz AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I would like to request the upgrade GCC to current 4.9.3 version.
4.9.2 version contains invalid code generation issue
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65504) marked with P1
importance which affects also cross compilers generated by 4.9.2
version. In general all binaries compiled with 4.9.2 version should be
rebuild because may be miscompiled.

If you compile this file http://pastebin.com/download.php?i=wvgu8Gz4
with -O2 and without it with 4.9.2 version you will receive different
results.

Also generating cross compiler with 4.9.2 version on Cygwin 32bit will fail.
----------
tar avxf gcc-5.1.0.tar.bz2
mkdir gcc-5.1.0/gmp  && tar avxf gmp-6.0.0a.tar.bz2 -C gcc-5.1.0/gmp
--strip-components=1
mkdir gcc-5.1.0/mpfr && tar avxf mpfr-3.1.2.tar.bz2 -C gcc-5.1.0/mpfr
--strip-components=1
mkdir gcc-5.1.0/mpc  && tar avxf mpc-1.0.3.tar.gz   -C gcc-5.1.0/mpc
--strip-components=1

mkdir build
cd build

../gcc-5.1.0/configure --target=arm-eabi --prefix=${PWD}/../gccbin
--enable-languages=c
make all-gcc
make install-gcc

cd ..

gccbin/bin/arm-eabi-gcc foo.c -O2 -S
--------------
File foo.c
--------------
int foo(int *argz_len , char *entry)
{
  int len = 0;

  len = *entry + 1;
  *argz_len -= len;
}

--
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