[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-devel-list
Subject: Re: Fedora 32 System-Wide Change proposal: Build Python 3 to statically link with libpython3.8.a for
From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= <berrange () redhat ! com>
Date: 2019-11-15 12:31:05
Message-ID: 20191115123105.GD2514891 () redhat ! com
[Download RAW message or body]
On Fri, Nov 15, 2019 at 01:23:09PM +0100, Miroslav Suchý wrote:
> Dne 15. 11. 19 v 10:21 Victor Stinner napsal(a):
> > I'm not sure if we need a Fedora change just for a compiler flag. Again, the only \
> > drawback is that we will no longer be able to override a symbol using LD_PRELOAD. \
> > Honestly, I never did that. I don't see any use case for that. But I used \
> > LD_PRELOAD on the libc multiple times to mock the system clock for example.
> > If someone really needs LD_PRELOAD, it's quite easy to build a custom Python \
> > without -fno-semantic-interposition.
>
> Mock's Nosync plugin use LD_PRELOAD:
> https://github.com/rpm-software-management/mock/wiki/Feature-nosync
IIUC mock would not be affected by this change.
The LD_PRELOAD limitation described applies to symbols that are in
the libpython.so library.
Those docs suggest mock is replacing the fsync() API in glibc with its
LD_PRELOAD, so that should continue to work as normal.
Regards,
Daniel
--
> > https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
> > https://libvirt.org -o- https://fstop138.berrange.com :|
> > https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic