www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2017/05/03/18:59:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <590A6154.8010308@gmx.de>
Date: Thu, 04 May 2017 01:01:40 +0200
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: gcc-7.1.0
References: <6953e282-24aa-2b4e-2141-385d8b443111 AT iki DOT fi>
In-Reply-To: <6953e282-24aa-2b4e-2141-385d8b443111@iki.fi>
X-Provags-ID: V03:K0:kxQz55S5HL/iMV8zn91wT1vfGNVcC0evbVCFgeLtxfHYBZ09/TN
ktNd4kmRq4fI11FEMtS9kz7CRI/1D321faL/+8LsrWW57+ANJYqrCDbB6z6Ae3L4uqDIxhr
5/gMPu9nCth0GUTW2a3Lgp2Iu+JfjNeCahAsADDIJ4geen4OovCuKy2IL+fkEEGrYKS6SrJ
ZKdrHYPDlENbXX8CdeoOA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:9Wgo5ZrzOsw=:XuQg6O4TrR++B23t4a4uVe
x+4dLcCS9UgnSglxWjeyjVdDvW/HZ1IBmsD/sDCX21DpF+3Z2yMYG6psPksmp9XbEZeUE6Uys
IETHA6/f08xnQIbEuRRP3oXj/wEohrFTgLdQKWAc1R5LH2zvcRoTOrLY+8BwQmg9kVAKzj0HE
bQGXcBA9RNHULuFo44P275JvTotLW0RWXbB8I4XEJlGMA59tkZy3Bh9eiMyTIrwfOKBeQkrQ6
AVa55tcQCnQOW6eK5Gx+oBE2bELcdAmOsZi6kBXrwVeLeBu+CHgxTPrtcnqXnIEwxhW7krkOF
uGYTPYKGb0TCqEBmLOMHHkVFOArpTlPoB32FOHuwEelQm+3eajCRGm1af92A8McsFVlFyVKDW
LwgolqeI8C5+yRAzV4L3eQzZPymsyO+MI7kFmKC/faXt8MhBB1Fj3qbJ8CXUrpap+eRbfF6Ev
KXIEr50dJ5KkxOWUlV8SzLNkhleosAwBqr+epzMlOX8DMreYXQ+L1lfsTm5pEf5wi93SCzq72
cNOQ7xFjH4f+035/zGWb0e5hqug9IOg7cz3o41xM352ueZUXbxPoytiOSbsLD7WJzMSbk7kCo
fYkMCmbf9/DyHUKQic+yPE6GfsL2AqYB7Sz6krCufpVhQySIpIZGNPcraLg8eMRbVC5hzZzI1
f5K96Yvtl+4Lbgdu9Q87sKr2BC+XMOWg8dCK5FvDuppTrq5DYxCMm5wG9NEtRq5kOof/mxzVe
+jHhP9d6ONJbSsX8NWSB9fHOFEbmGW+hHUGYpSRg/Kl8feyA09TuLKylY4Hxk3VZsjmakJDvu
zosjo2h
Reply-To: djgpp-workers AT delorie DOT com

Am 03.05.2017 06:56, schrieb Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]:
> Files for gcc-7.1.0 for testing are at
>
> http://ap1.pp.fi/djgpp/gcc/7.1.0/
>
> No additional tests done yet except of bootstrapping it (so I see it can compile itself).
>
> I'll upload them to ftp.delorie.com later if no serious problems will be found
>
> Andris
>
>

OFYI, I have compiled some ports I am working on and the C-compiler seems to work.
As a last check I have compiled the library sources and I got the following warning
that makes compilation stop:

gcc ... -c dosexec.c
dosexec.c: In function 'direct_exec_tail':
dosexec.c:409:19: warning: '%04lX' directive writing between 4 and 7 bytes into a region of size 5 [-Wformat-overflow=]
      sprintf (t2, "%04lX", tbuf_beg>>4);
                    ^~~~~
dosexec.c:409:18: note: directive argument in the range [0, 268435455]
      sprintf (t2, "%04lX", tbuf_beg>>4);
                   ^~~~~~~
dosexec.c:409:5: note: 'sprintf' output between 5 and 8 bytes into a destination of size 5
      sprintf (t2, "%04lX", tbuf_beg>>4);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dosexec.c: In function 'go32_exec':
dosexec.c:1109:50: warning: '%04x' directive writing 4 bytes into a region of size between 3 and 13 [-Wformat-overflow=]
    sprintf(proxy_cmdline, "%s=%04x %04x %04x %04x %04x",
                                                   ^~~~
dosexec.c:1109:26: note: directive argument in the range [0, 65535]
    sprintf(proxy_cmdline, "%s=%04x %04x %04x %04x %04x",
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dosexec.c:1109:3: note: 'sprintf' output 26 or more bytes (assuming 36) into a destination of size 34
    sprintf(proxy_cmdline, "%s=%04x %04x %04x %04x %04x",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      __PROXY, argc,
      ~~~~~~~~~~~~~~
     (unsigned)(tbuf_beg >> 4), rm_off & 0xffff,
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     (unsigned)(tbuf_beg >> 4), si_off & 0xffff);
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

After disableing -Werror I have seen no other warnings that would stop the build.

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019