[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 0/5] Linux user for 6.0 patches
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PULL 0/5] Linux user for 6.0 patches |
Date: |
Thu, 21 Jan 2021 12:38:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/21/21 12:07 PM, Laurent Vivier wrote:
> Le 21/01/2021 à 11:44, Peter Maydell a écrit :
>> On Wed, 20 Jan 2021 at 19:56, Laurent Vivier <laurent@vivier.eu> wrote:
>>>
>>> The following changes since commit 48202c712412c803ddb56365c7bca322aa4e7506:
>>>
>>> Merge remote-tracking branch
>>> 'remotes/pmaydell/tags/pull-target-arm-2021011=
>>> 9-1' into staging (2021-01-19 15:47:23 +0000)
>>>
>>> are available in the Git repository at:
>>>
>>> git://github.com/vivier/qemu.git tags/linux-user-for-6.0-pull-request
>>>
>>> for you to fetch changes up to 8a7e49050b8d5477a567b0ec5d764a564481abdb:
>>>
>>> linux-user: Remove obsolete F_SHLCK and F_EXLCK translation (2021-01-20
>>> 18:=
>>> 26:46 +0100)
>>>
>>> ----------------------------------------------------------------
>>> linux-user pull request 20210119-v2
>>>
>>> Remove obsolete F_SHLCK and F_EXLCK translation
>>> Update sockopt
>>> Add F_ADD_SEALS and F_GET_SEALS
>>>
>> Now fails with:
>>
>> ../../linux-user/strace.c: In function ‘do_print_sockopt’:
>> ../../linux-user/strace.c:2831:14: error: ‘IPV6_ADDR_PREFERENCES’
>> undeclared (first use in this function)
>> case IPV6_ADDR_PREFERENCES:
I checked on CentOS7 and this part isn't compiled because
TARGET_NR_socketcall is not defined, but I only build the
x86_64-linux-user target there.
>
> Probably the same cause, in a different file.
>
> This should fix the problem.
>
> diff --git a/linux-user/strace.c b/linux-user/strace.c
> index bc3bb6b2f949..7b43668b9b0e 100644
> --- a/linux-user/strace.c
> +++ b/linux-user/strace.c
> @@ -11,6 +11,7 @@
> #include <netinet/udp.h>
> #include <linux/if_packet.h>
> #include <linux/netlink.h>
> +#include <linux/in6.h>
> #include <sched.h>
> #include "qemu.h"
Sounds good.
>
> I will try to reproduce it before re-sending the PR.
>
> Thanks,
> Laurent
>
- [PULL 5/5] linux-user: Remove obsolete F_SHLCK and F_EXLCK translation, (continued)
- [PULL 5/5] linux-user: Remove obsolete F_SHLCK and F_EXLCK translation, Laurent Vivier, 2021/01/19
- Re: [PULL 0/5] Linux user for 6.0 patches, Peter Maydell, 2021/01/20
- [PULL 0/5] Linux user for 6.0 patches, Laurent Vivier, 2021/01/20
- [PULL 1/5] linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls, Laurent Vivier, 2021/01/20
- [PULL 2/5] linux-user: add missing UDP get/setsockopt option, Laurent Vivier, 2021/01/20
- [PULL 4/5] linux-user: Add IPv6 options to do_print_sockopt(), Laurent Vivier, 2021/01/20
- [PULL 5/5] linux-user: Remove obsolete F_SHLCK and F_EXLCK translation, Laurent Vivier, 2021/01/20
- [PULL 3/5] linux-user: add missing IPv6 get/setsockopt option, Laurent Vivier, 2021/01/20
- Re: [PULL 0/5] Linux user for 6.0 patches, Peter Maydell, 2021/01/21
[PULL 0/5] Linux user for 6.0 patches, Laurent Vivier, 2021/01/21
- [PULL 2/5] linux-user: add missing UDP get/setsockopt option, Laurent Vivier, 2021/01/21
- [PULL 1/5] linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls, Laurent Vivier, 2021/01/21
- [PULL 5/5] linux-user: Remove obsolete F_SHLCK and F_EXLCK translation, Laurent Vivier, 2021/01/21
- [PULL 4/5] linux-user: Add IPv6 options to do_print_sockopt(), Laurent Vivier, 2021/01/21
- [PULL 3/5] linux-user: add missing IPv6 get/setsockopt option, Laurent Vivier, 2021/01/21
- Re: [PULL 0/5] Linux user for 6.0 patches, Peter Maydell, 2021/01/22