diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-10-01 10:32:33 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2023-10-02 22:38:18 +0100 |
commit | 8008e209d900dc988217ce3721292ba895cd0494 (patch) | |
tree | 2d2e4fe6fe32c5d0425e95a1b3c4a9d7809df811 /NEWS | |
parent | env_update: Write prefixed paths to files and terminal where appropriate (diff) | |
download | portage-8008e209d900dc988217ce3721292ba895cd0494.tar.gz portage-8008e209d900dc988217ce3721292ba895cd0494.tar.bz2 portage-8008e209d900dc988217ce3721292ba895cd0494.zip |
env-update: Write /usr/etc/ld.so.conf to fix bfd in some obscure cases
This is only needed on prefixed systems. bfd currently reads
${EPREFIX}/etc/ld.so.conf and adds the prefix to these paths, but these
paths are already prefixed. We need them to stay prefixed for ldconfig
and the runtime linker. bfd will use ${EPREFIX}/usr/etc/ld.so.conf
instead if that is present, so we can write the unprefixed paths there.
Other linkers do not use these files at all. We tried to patch bfd to
not use them either, as it shouldn't really be necessary, but that
broke some cases, so we are trying this safer approach instead.
env-update does not write the files under /etc/ld.so.conf.d, but we
shouldn't need to handle these in any case, as all known instances are
not affected by this issue.
Bug: https://bugs.gentoo.org/892549
Closes: https://github.com/gentoo/portage/pull/1105
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ Bug fixes: * emerge: fix application count when listing search results for ambiguous packages (bug #915054). +* env-update: Write ${EPREFIX}/usr/etc/ld.so.conf with unprefixed paths on + prefixed systems to fix the bfd linker in some obscure cases (bug #892549). + Cleanups: * vartree: Remove unused variables and parameters |