qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tests/docker: Update the Fedora image to Fedora


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH] tests/docker: Update the Fedora image to Fedora 30
Date: Fri, 24 May 2019 15:37:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Patchew,

On 5/24/19 3:28 PM, address@hidden wrote:
> Patchew URL: https://patchew.org/QEMU/address@hidden/
> 
> 
> 
> Hi,
> 
> This series failed build test on s390x host. Please find the details below.

"20 days later", not yet a movie title.

>     inlined from ‘fill_psinfo’ at 
> /var/tmp/patchew-tester-tmp-3g8u4fv2/src/linux-user/elfload.c:3208:12,
>     inlined from ‘fill_note_info’ at 
> /var/tmp/patchew-tester-tmp-3g8u4fv2/src/linux-user/elfload.c:3390:5,
>     inlined from ‘elf_core_dump’ at 
> /var/tmp/patchew-tester-tmp-3g8u4fv2/src/linux-user/elfload.c:3539:9:
> /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ 
> specified bound 16 equals destination size [-Werror=stringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
> (__dest));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors

This has been fixed by the following commit, merged earlier today:

commit d7eb2b928a855a2e8038e8e75f7edf1a12226bd3
Author: Alistair Francis <address@hidden>
Date:   Tue Apr 30 23:29:01 2019 +0000

    linux-user/elfload: Fix GCC 9 build warnings

    Fix this warning when building with GCC9 on Fedora 30:
    In function ‘strncpy’,
        inlined from ‘fill_psinfo’ at
/home/alistair/qemu/linux-user/elfload.c:3208:12,
        inlined from ‘fill_note_info’ at
/home/alistair/qemu/linux-user/elfload.c:3390:5,
        inlined from ‘elf_core_dump’ at
/home/alistair/qemu/linux-user/elfload.c:3539:9:
    /usr/include/bits/string_fortified.h:106:10: error:
‘__builtin_strncpy’ specified bound 16 equals destination size
[-Werror=stringop-truncation]
      106 |   return __builtin___strncpy_chk (__dest, __src, __len,
__bos (__dest));
          |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> ---
> Email generated automatically by Patchew [https://patchew.org/].
> Please send your feedback to address@hidden

Done!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]