public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* GCC upgrade to 4.9.3 version request
@ 2015-06-28 10:52 Jiří Engelthaler
  2015-06-30 14:40 ` JonY
  0 siblings, 1 reply; 3+ messages in thread
From: Jiří Engelthaler @ 2015-06-28 10:52 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC upgrade to 4.9.3 version request
  2015-06-28 10:52 GCC upgrade to 4.9.3 version request Jiří Engelthaler
@ 2015-06-30 14:40 ` JonY
  2015-07-01 11:12   ` Jiří Engelthaler
  0 siblings, 1 reply; 3+ messages in thread
From: JonY @ 2015-06-30 14:40 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

On 6/28/2015 18:52, Jiří Engelthaler wrote:
> 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.

OK, I'll work on it this weekend.




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC upgrade to 4.9.3 version request
  2015-06-30 14:40 ` JonY
@ 2015-07-01 11:12   ` Jiří Engelthaler
  0 siblings, 0 replies; 3+ messages in thread
From: Jiří Engelthaler @ 2015-07-01 11:12 UTC (permalink / raw)
  To: cygwin

I have compiled GCC 4.9.3 version for both 32 and 64 bit Cygwin.
Binaries are here goo.gl/y3VJRE

EngyCZ

2015-06-30 16:39 GMT+02:00 JonY <10walls@gmail.com>:
> On 6/28/2015 18:52, Jiří Engelthaler wrote:
>> 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.
>
> OK, I'll work on it this weekend.
>
>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-01 11:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-28 10:52 GCC upgrade to 4.9.3 version request Jiří Engelthaler
2015-06-30 14:40 ` JonY
2015-07-01 11:12   ` Jiří Engelthaler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).