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

Re: systemd reproducibility on armhf



On Tue, Dec 21, 2021 at 2:38 AM Michael Biebl <biebl@debian.org> wrote:
>
> On 13.12.21 20:44, Arnd Bergmann wrote:
> > It sounds like there is a compile-time check in systemd that determines which
> > of these to use based on the host architecture, rather than the target
> > architecture.
>
> If that was the case, should we see the same problem with an amd64
> kernel and i386 userland?

It depends on how it's written, they use different exceptions:

- you need normal fadvise64() on 64-bit
- you need fadvise64_64() on x86-32 and most other 32-bit platforms
- you need arm_fadvise64_64() on arm32 only

So anything that explicitly references arm_fadvise64_64() would have to
have a detection for building for 32-bit arm specifically, rather than just
detecting whether it's building for 32-bit or 64-bit.

        Arnd


Reply to: