[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/19] Linux user for 5.1 patches
From: |
Laurent Vivier |
Subject: |
Re: [PULL 00/19] Linux user for 5.1 patches |
Date: |
Fri, 5 Jun 2020 21:20:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Le 05/06/2020 à 18:45, Peter Maydell a écrit :
> On Fri, 5 Jun 2020 at 12:48, Laurent Vivier <laurent@vivier.eu> wrote:
>>
>> The following changes since commit ddc760832fa8cf5e93b9d9e6e854a5114ac63510:
>>
>> Merge remote-tracking branch 'remotes/gkurz/tags/9p-next-2020-05-26' into
>> s=
>> taging (2020-05-26 14:05:53 +0100)
>>
>> are available in the Git repository at:
>>
>> git://github.com/vivier/qemu.git tags/linux-user-for-5.1-pull-request
>>
>> for you to fetch changes up to aa3d2045d4ca760bd8c22935a2d73ee4f3480bd5:
>>
>> stubs: Restrict ui/win32-kbd-hook to system-mode (2020-06-05 11:36:00
>> +0200)
>>
>> ----------------------------------------------------------------
>> linux-user pull request 20200605
>>
>> Implement F_OFD_ fcntl() command, /proc/cpuinfo for hppa
>> Fix socket(), prnctl() error codes, underflow in target_mremap,
>> epoll_create() strace, oldumount for alpha
>> User-mode build dependencies improvement
>>
>> ----------------------------------------------------------------
>
> Hi; this failed to compile on s390 and ppc when building hppa-linux-user:
>
> /home/ubuntu/qemu/linux-user/syscall.c: In function ‘do_openat’:
> /home/ubuntu/qemu/linux-user/syscall.c:7484:42: error: ‘is_proc’
> undeclared (first use in this function); did you mean ‘
> is_error’?
> { "/proc/cpuinfo", open_cpuinfo, is_proc },
> ^~~~~~~
> is_error
> /home/ubuntu/qemu/linux-user/syscall.c:7484:42: note: each undeclared
> identifier is reported only once for each function
> it appears in
> /home/ubuntu/qemu/rules.mak:69: recipe for target 'linux-user/syscall.o'
> failed
>
> Looks like this is because the #if condition guarding the
> is_proc() definition doesn't line up with the uses (missing
> a check on TARGET_HPPA).
You're right.
I was thinking this kind of problem would be detected by the travis-ci
builds, but in fact ppc64 and s390 builds don't build other architecture
linux-user targets.
I update my PR.
Thanks,
Laurent
- [PULL 05/19] linux-user/mmap.c: fix integer underflow in target_mremap, (continued)
- [PULL 05/19] linux-user/mmap.c: fix integer underflow in target_mremap, Laurent Vivier, 2020/06/05
- [PULL 16/19] target/i386: Restrict CpuClass::get_crash_info() to system-mode, Laurent Vivier, 2020/06/05
- [PULL 10/19] tests/Makefile: Restrict some softmmu-only tests, Laurent Vivier, 2020/06/05
- [PULL 08/19] configure: Avoid building TCG when not needed, Laurent Vivier, 2020/06/05
- [PULL 07/19] Makefile: Only build virtiofsd if system-mode is enabled, Laurent Vivier, 2020/06/05
- [PULL 17/19] target/s390x: Restrict CpuClass::get_crash_info() to system-mode, Laurent Vivier, 2020/06/05
- [PULL 14/19] exec: Assert CPU migration is not used on user-only build, Laurent Vivier, 2020/06/05
- [PULL 15/19] arch_init: Remove unused 'qapi-commands-misc.h' include, Laurent Vivier, 2020/06/05
- [PULL 18/19] hw/core: Restrict CpuClass::get_crash_info() to system-mode, Laurent Vivier, 2020/06/05
- Re: [PULL 00/19] Linux user for 5.1 patches, Peter Maydell, 2020/06/05