| Summary: | sys-devel/binutils-config removes /etc/ld.so.conf.d/05binutils.conf when uninstalling cross toolchain | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
it was added in the 1.9->2 bump when i added initial ld.so.conf.d support. but i can't recall why this would possibly be a good idea since this is a native file. probably a think-o. should be all set now in the tree; thanks for the report! Commit message: Do not delete native ld.so.conf.d fragment when uninstalling cross binutils http://sources.gentoo.org/sys-devel/binutils-config/binutils-config-4-r3.ebuild?rev=1.1 http://sources.gentoo.org/sys-devel/binutils-config/files/binutils-config-4?r1=1.3&r2=1.4 |
After uninstalling of any cross toolchain I need to run binutils-config to regenerate 05binutils.conf. From binutils-config script: uninstall_target() { ----%< snip >%---- rm -f "${ENV_D}"/config-${TARGET} "${ROOT}"/etc/ld.so.conf.d/05binutils.conf ----%< snip >%---- } Steps to reproduce: # cat /etc/ld.so.conf.d/05binutils.conf /usr/x86_64-pc-linux-gnu/lib # crossdev -C armv6j-hardfloat-linux-gnueabi ... # ls -l /etc/ld.so.conf.d/05binutils.conf ls: cannot access /etc/ld.so.conf.d/05binutils.conf: No such file or directory ... # ldd /usr/bin/amuled | grep 'not found' libbfd-2.24.so => not found