[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/41] The x86_64 port
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 00/41] The x86_64 port |
Date: |
Wed, 10 May 2023 02:55:04 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Hello,
Pushed!
Sergey Bugaev, le mar. 09 mai 2023 00:30:55 +0300, a ecrit:
> One annoying warning that I get a lot of when building the Hurd with
> GCC 13 is -Wenum-int-mismatch; here's one example:
>
> ../../trans/streamio.c:694:1: warning: conflicting types for
> ‘trivfs_S_file_sync’ due to enum/integer mismatch; have ‘error_t(struct
> trivfs_protid *, mach_port_t, mach_msg_type_name_t, int, int)’ {aka
> ‘error_t(struct trivfs_protid *, unsigned int, unsigned int, int, int)’}
> [-Wenum-int-mismatch]
> 694 | trivfs_S_file_sync (struct trivfs_protid *cred,
> | ^~~~~~~~~~~~~~~~~~
> ../libtrivfs/trivfs_fs_S.h:232:15: note: previous declaration of
> ‘trivfs_S_file_sync’ with type ‘kern_return_t(struct trivfs_protid *,
> mach_port_t, mach_msg_type_name_t, int, int)’ {aka ‘int(struct
> trivfs_protid *, unsigned int, unsigned int, int, int)’}
> 232 | kern_return_t trivfs_S_file_sync
> | ^~~~~~~~~~~~~~~~~~
>
> Other than just using -Wno-enum-int-mismatch, perhaps there is some
> way we could tell GCC that this is very intentional that error_t is
> used interchangeably with int and kernl_return_t?
I don't know.
> Sp how much does actually build? Well, "all of it", but note that:
> - I've disabled pfinet,
> - I'm building --without-parted --without-libcrypt --without-libbz2
> --without-libz --without-rump, so I haven't attempted to build anything
> excluded by those switches.
With the available .debs you should now be able to enable these.
Samuel
- [PATCH 31/41] mach-defpager: Port to x86_64, (continued)
- [PATCH 31/41] mach-defpager: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 38/41] trans: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 19/41] exec: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 25/41] daemons: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 40/41] Disable Linux-based pfinet on x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 23/41] storeio: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 24/41] devnode: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 39/41] Look for mach_i386 in mach/machine/, Sergey Bugaev, 2023/05/08
- [PATCH 36/41] term: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 28/41] eth-multiplexer: Port to x86_64, Sergey Bugaev, 2023/05/08
- Re: [PATCH 00/41] The x86_64 port,
Samuel Thibault <=
- Re: [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Samuel Thibault, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Samuel Thibault, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Samuel Thibault, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/10
- Re: [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/10