* [ISSUE] ccache: missing symlinks for x86_64-unknown-linux-gnu-*
@ 2022-03-27 16:24 tornaria
2022-07-01 2:15 ` github-actions
2022-07-16 2:13 ` [ISSUE] [CLOSED] " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: tornaria @ 2022-03-27 16:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]
New issue by tornaria on void-packages repository
https://github.com/void-linux/void-packages/issues/36379
Description:
Package `gcc-10.2.1pre1_3` ships binaries like `/usr/bin/x86_64-unknown-linux-gnu-gcc`, etc. However, `ccache-4.5.1_2` doesn't ship symlinks for these binaries.
One way this issue shows up is:
- In python3 sysconfig has `CC='x86_64-unknown-linux-gnu-gcc -pthread'`
- Building python extension modules (using setuptools) picks CC from sysconfig
- since ccache doesn't include a symlink for `x86_64-unknown-linux-gnu-gcc` the ccache is bypassed, in spite `/usr/lib/ccache/bin/` being in PATH.
A possible workaround would be to add symlinks for `x86_64-unknown-linux-gnu-gcc` etc in ccache.
NOTE: the cache entries are tagged by the compiler filename, so `gcc` and `x86_64-unknown-linux-gnu-gcc` would NOT share the cache (even if the compilers are the same, as in hardlinks of each other). I think this should not be a problem, since the same build system would use the same binary name.
Another (minor) issue is that `ccache` ships symlinks for `*-cc` compilers, but the gcc packages don't ship those (except for `/usr/bin/cc` which is a symlink to `/usr/bin/gcc`).
The same issue may happen for `x86_64-linux-musl-gcc`, etc. which are also not included in ccache.
CC: @Gottox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ccache: missing symlinks for x86_64-unknown-linux-gnu-*
2022-03-27 16:24 [ISSUE] ccache: missing symlinks for x86_64-unknown-linux-gnu-* tornaria
@ 2022-07-01 2:15 ` github-actions
2022-07-16 2:13 ` [ISSUE] [CLOSED] " github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-07-01 2:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/issues/36379#issuecomment-1171851802
Comment:
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] ccache: missing symlinks for x86_64-unknown-linux-gnu-*
2022-03-27 16:24 [ISSUE] ccache: missing symlinks for x86_64-unknown-linux-gnu-* tornaria
2022-07-01 2:15 ` github-actions
@ 2022-07-16 2:13 ` github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2022-07-16 2:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]
Closed issue by tornaria on void-packages repository
https://github.com/void-linux/void-packages/issues/36379
Description:
Package `gcc-10.2.1pre1_3` ships binaries like `/usr/bin/x86_64-unknown-linux-gnu-gcc`, etc. However, `ccache-4.5.1_2` doesn't ship symlinks for these binaries.
One way this issue shows up is:
- In python3 sysconfig has `CC='x86_64-unknown-linux-gnu-gcc -pthread'`
- Building python extension modules (using setuptools) picks CC from sysconfig
- since ccache doesn't include a symlink for `x86_64-unknown-linux-gnu-gcc` the ccache is bypassed, in spite `/usr/lib/ccache/bin/` being in PATH.
A possible workaround would be to add symlinks for `x86_64-unknown-linux-gnu-gcc` etc in ccache.
NOTE: the cache entries are tagged by the compiler filename, so `gcc` and `x86_64-unknown-linux-gnu-gcc` would NOT share the cache (even if the compilers are the same, as in hardlinks of each other). I think this should not be a problem, since the same build system would use the same binary name.
Another (minor) issue is that `ccache` ships symlinks for `*-cc` compilers, but the gcc packages don't ship those (except for `/usr/bin/cc` which is a symlink to `/usr/bin/gcc`).
The same issue may happen for `x86_64-linux-musl-gcc`, etc. which are also not included in ccache.
CC: @Gottox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-16 2:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-27 16:24 [ISSUE] ccache: missing symlinks for x86_64-unknown-linux-gnu-* tornaria
2022-07-01 2:15 ` github-actions
2022-07-16 2:13 ` [ISSUE] [CLOSED] " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).