Summary: | sys-devel/gcc-config: Creates broken symlinks to lto plugin and cc for ROOT != / | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Krzesimir Nowak <qdlacz> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gcc-config/pull/2 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch implementing the relative variant.
Patch implementing no EROOT variant |
Description
Krzesimir Nowak
2022-11-11 12:43:43 UTC
Created attachment 831369 [details, diff]
Patch implementing no EROOT variant
Thanks. Would you mind making a PR at https://github.com/gentoo/gcc-config/pulls? It's not required though. I think I prefer the relative option (thanks for providing both). Filed a PR: https://github.com/gentoo/gcc-config/pull/2 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=d245197378818f66c978d4427b6d0d81fbfaefc6 commit d245197378818f66c978d4427b6d0d81fbfaefc6 Author: Krzesimir Nowak <knowak@microsoft.com> AuthorDate: 2022-11-10 15:45:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-05 00:16:31 +0000 gcc-config: Use relative paths for liblto and cc symlink targets That way, for ROOT different than / (like /build/amd64-usr) these symlinks won't dangle after chrooting into ROOT. Bug: https://bugs.gentoo.org/880977 Signed-off-by: Krzesimir Nowak <knowak@microsoft.com> Closes: https://github.com/gentoo/gcc-config/pull/2 Signed-off-by: Sam James <sam@gentoo.org> gcc-config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37acf1855c6dccbab4b9791ae66395c91974f2a commit d37acf1855c6dccbab4b9791ae66395c91974f2a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-05 00:18:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-05 00:18:47 +0000 sys-devel/gcc-config: add 2.10 Closes: https://bugs.gentoo.org/880977 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc-config/Manifest | 1 + sys-devel/gcc-config/gcc-config-2.10.ebuild | 60 +++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) |