delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2018/05/04/00:25:04

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>
<trinity-75bdb8ba-88c6-451f-80b2-54385bed8bd9-1525375869662 AT 3c-app-gmx-bs48>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
Message-ID: <c3bded34-bbc7-8e0f-bc6f-b1a9cf326560@iki.fi>
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: <trinity-75bdb8ba-88c6-451f-80b2-54385bed8bd9-1525375869662@3c-app-gmx-bs48>
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

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

- Raw text -


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