Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-28 Thread Arnd Bergmann
On Tue, Jan 28, 2025, at 10:39, Jérémy Lal wrote: > Le mar. 28 janv. 2025 à 10:21, Arnd Bergmann a écrit : >> On Tue, Jan 28, 2025, at 09:38, Jérémy Lal wrote: >> > Le mar. 28 janv. 2025 à 09:29, Arnd Bergmann a écrit : >> >> Can you debug into this file on i386 to see which symbol >> it picks u

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-28 Thread Jérémy Lal
Le mar. 28 janv. 2025 à 10:21, Arnd Bergmann a écrit : > On Tue, Jan 28, 2025, at 09:38, Jérémy Lal wrote: > > Le mar. 28 janv. 2025 à 09:29, Arnd Bergmann a écrit : > >> > >> The bit I don't understand is why libuv was ever getting built > >> without largefile support. It probably makes sense t

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-28 Thread Arnd Bergmann
On Tue, Jan 28, 2025, at 09:38, Jérémy Lal wrote: > Le mar. 28 janv. 2025 à 09:29, Arnd Bergmann a écrit : >> >> The bit I don't understand is why libuv was ever getting built >> without largefile support. It probably makes sense to change that >> for all architectures regardless of time64 suppor

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-28 Thread Jérémy Lal
Le mar. 28 janv. 2025 à 09:29, Arnd Bergmann a écrit : > On Mon, Jan 27, 2025, at 19:31, Jérémy Lal wrote: > > Le lun. 27 janv. 2025 à 17:41, Arnd Bergmann a écrit : > >> On Mon, Jan 27, 2025, at 15:19, Jérémy Lal wrote: > >> > >>if ((sizeof(long)< sizeof(off_t)) > >> p = dlsym(R

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-28 Thread Arnd Bergmann
On Mon, Jan 27, 2025, at 19:31, Jérémy Lal wrote: > Le lun. 27 janv. 2025 à 17:41, Arnd Bergmann a écrit : >> On Mon, Jan 27, 2025, at 15:19, Jérémy Lal wrote: >> >>if ((sizeof(long)< sizeof(off_t)) >> p = dlsym(RTLD_DEFAULT, is_pread ? "preadv64" : "pwritev64"); >>else >>

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-27 Thread Jérémy Lal
Le lun. 27 janv. 2025 à 17:41, Arnd Bergmann a écrit : > On Mon, Jan 27, 2025, at 15:19, Jérémy Lal wrote: > > Hi, > > > > as discussed in > > https://github.com/libuv/libuv/issues/4678 > > > > and associated build failures > > https://buildd.debian.org/status/package.php?p=libuv1&suite=experimen

Re: issue with preadv/pwritev and gcc on armel/armhf

2025-01-27 Thread Arnd Bergmann
On Mon, Jan 27, 2025, at 15:19, Jérémy Lal wrote: > Hi, > > as discussed in > https://github.com/libuv/libuv/issues/4678 > > and associated build failures > https://buildd.debian.org/status/package.php?p=libuv1&suite=experimental > > It seems that gcc is doing something wrong with the offset param

issue with preadv/pwritev and gcc on armel/armhf

2025-01-27 Thread Jérémy Lal
Hi, as discussed in https://github.com/libuv/libuv/issues/4678 and associated build failures https://buildd.debian.org/status/package.php?p=libuv1&suite=experimental It seems that gcc is doing something wrong with the offset parameter of preadv, pwritev. The same problem happens with optimizatio