On Fri, Apr 05, 2024 at 08:09:21AM +0200, Yves-Alexis Perez wrote:
> > I assume the following patch from Ubuntu fixes this:
> > 
> > --- a/tests/src/libsystem.c
> > +++ b/tests/src/libsystem.c
> > @@ -1,6 +1,9 @@
> >  #define _GNU_SOURCE
> >  #define __USE_GNU
> > 
> > +#undef _FILE_OFFSET_BITS
> > +#undef _TIME_BITS
> > +
> >  #include <config.h>
> > 
> >  #include <stdlib.h>
> 
> Hi, thanks for the patch. It looks a bit strong though, undefining stuff like
> that unconditionally. Do you have pointers to the Ubuntu bug or something?
I haven't checked their bugs manually but the changelog entry doesn't
close any:

lightdm (1.30.0-0ubuntu12) noble; urgency=medium

  * Undefine _FILE_OFFSET_BITS and _TIME_BITS when building preload gadget to
    allow interposition of open and open64 to work.

 -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Fri, 22 Mar 2024 15:08:46 
+1300

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to