Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389163

Summary: sys-devel/gcc: /usr/bin/cc should be removed (?)
Product: Gentoo Linux Reporter: Cedric Sodhi <manday>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: trivial CC: manday, ssuominen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Sodhi 2011-11-01 08:42:01 UTC
GCC is the system compiler these days, CC should not be kept arround, especially not as a separate file. If any packages require CC, which they shouldn't, that will be a bug of these packages.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-11-01 15:33:01 UTC
I see no benefit in removing it. Only breaks backwards compat for no gain. But letting toolchain maintainers close this one.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2011-11-01 15:45:51 UTC
I see no reason to remove `cc`.
Comment 3 SpanKY gentoo-dev 2011-11-01 16:10:50 UTC
what mark said
Comment 4 Cedric Sodhi 2011-11-01 16:30:43 UTC
What about hardlinking it? Not that I'd care, I'd rather want that useless file gone, but a hardlink wouldn't hurt, would it?
Comment 5 SpanKY gentoo-dev 2011-11-01 17:17:44 UTC
updating gcc-config to use hardlinks to its internal wrapper wouldn't be hard, but it would be dangerous imo.  if someone were to modify any of the other binaries, it'd break all of them.  we are talking about ~10KB of waste per wrapped binary.  i would lean towards the existing behavior for safety since the overhead on disk isn't significant.

having a specific target hardlink amongst themselves is probably fine, but they can't hardlink back to the original wrapper.

file a new bug for this request.