Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619166 - sys-devel/gcc-6.3.0 untracked / duplicated gcc binaries
Summary: sys-devel/gcc-6.3.0 untracked / duplicated gcc binaries
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2017-05-21 11:04 UTC by Nick Kossifidis
Modified: 2017-10-03 18:46 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Nick Kossifidis 2017-05-21 11:04:13 UTC
I'm using Gentoo hardened and recently, after I updated my system (emerge-webrsync + emerge -vauDN world) I scanned my system for orphaned files. I noticed that gcc binaries on /usr/bin are not tracked by portage (qfile -o reports them) and also exist two times, one with the chost prefix and one without. Also both versions are different (have different md5sums) that the (tracked) binaries in /usr/${CHOST}. What's going on ? Is this the expected behavior ?

Reproducible: Always

Actual Results:  
md5sum /usr/bin/x86_64-pc-linux-gnu-gcc
cd172542f09ffc3cb88a7bb75f82cf00  /usr/bin/x86_64-pc-linux-gnu-gcc
md5sum /usr/bin/gcc
cd172542f09ffc3cb88a7bb75f82cf00  /usr/bin/gcc

md5sum /usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0/x86_64-pc-linux-gnu-gcc
f9cbcf3950a42cd8b7fc8e277ec29990  /usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0/x86_64-pc-linux-gnu-gcc
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-10-03 18:46:37 UTC
Well, some of them should be symlinks generated by gcc-config ... 

Is /usr/bin/x86_64-pc-linux-gnu-gcc a symlink? where does it point? do you have gcc-6.3 selected with gcc-config?

Please check this, if you still think something's wrong please reopen the bug.