X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Subject: Re: Aw: gcc-8.1.0 packages for testing To: djgpp-workers AT delorie DOT com References: <0244cff9-6176-8aec-bbc2-6fc49602c295 AT iki DOT fi> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" Message-ID: Date: Fri, 4 May 2018 07:24:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 05/03/2018 10:31 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp-workers AT delorie DOT com] wrote: >> Gesendet: Donnerstag, 03. Mai 2018 um 05:20 Uhr >> Von: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" >> An: djgpp-workers AT delorie DOT com >> Betreff: gcc-8.1.0 packages for testing >> >> gcc-8.1.0 packages (both DJGPP native compiler and cross-compiler RPMs) >> are available for testing at >> >> >> http://ap1.pp.fi/djgpp/gcc/8.1.0/ >> >> http://ap1.pp.fi/djgpp/gcc/gcc-version-index.html >> >> >> I have not have done any additional testing except of building the >> compiler (bootstrapping native compiler ensures that it works for >> building itself). >> >> I'll upload the same packages to ftp.delorie.com sometime later unless >> serious enough problems found. >> >> >> Happy testing, >> >> >> Andris >> >> >> > Have tried to compile libc from repository and I got the following error message: > > C:/DJGPP-2.05/BIN/make.exe -C compat/stdio > gcc ... -c asnprntf.c > gcc ... -c asprintf.c > gcc ... -c fseeko.c > gcc ... -c fseeko64.c > gcc ... -c ftello.c > gcc ... -c ftello64.c > gcc ... -c mkstemp.c > gcc ... -c mktemp.c > gcc ... -c tempnam.c > j:/djgpp/include/stdio.h: In function 'tempnam': > tempnam.c:51:3: error: 'strncat' output truncated copying between 0 and 8 bytes from a string of length 8 [-Werror=stringop-truncation] > strncat (template, x8, 8 - strlen (pfx)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1.exe: all warnings being treated as errors > make.exe[3]: *** [../../../makefile.inc:90: tempnam.o] Error 1 > make.exe[2]: *** [makefile.sub:25: all_subs] Error 2 > make.exe[1]: *** [../makefile.lib:7: all] Error 2 > make.exe: *** [makefile:44: subs] Error 2 > > > Probaly other issues may be found. It does not seem to DJGPP specific. I guess that correct solution is to add -Wno-stringop-truncation when compiling affected source files (there are more than 1) Andris