Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817020 - sys-devel/gcc-11.2.0[d] does not create link in /usr/bin for gdc
Summary: sys-devel/gcc-11.2.0[d] does not create link in /usr/bin for gdc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-09 04:21 UTC by Paul Preney
Modified: 2022-08-22 19:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Preney 2021-10-09 04:21:24 UTC
The package sys-devel/gcc when USE=d does not place suitable link(s) in /usr/bin. For example with sys-devel/gcc:11 installed this is the output of "equery f sys-devel/gcc:11 | grep gdc":

        /usr/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/man/man1/gdc.1
        /usr/x86_64-pc-linux-gnu/gcc-bin/11.2.0/gdc
        /usr/x86_64-pc-linux-gnu/gcc-bin/11.2.0/x86_64-pc-linux-gnu-gdc

so one cannot simply run "gdc" or "gdc-11.2.0" to run the GCC D compiler. (Such also applies to the v10 and v9 versions of GCC as well.) Since the GCC ebuild is largely tied to the eclass/toolchain, I imagine this needs to be addressed within such.

Can this be rectified?
Comment 1 Mike Gilbert gentoo-dev 2022-07-27 15:39:31 UTC
gcc-config is responsible for creating the symlinks in /usr/bin. It's likely that gcc-config is not called automatically when you change USE flags on sys-devel/gcc.

Please try calling gcc-config to re-select your current GCC profile. That should generate the missing symlinks in /usr/bin.