Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644698 - sys-devel/gcc-7.2.0-r1 with 17.1 profile - ld: skipping incompatible /usr/lib/../lib/libc.so when searching for -lc
Summary: sys-devel/gcc-7.2.0-r1 with 17.1 profile - ld: skipping incompatible /usr/lib...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 21:30 UTC by Stefan Böhmann
Modified: 2018-01-16 22:52 UTC (History)
2 users (show)

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


Attachments
emerge --info '=sys-devel/gcc-7.2.0-r1::gentoo' (emerge_info_gcc-7.2.0-r1.txt,6.84 KB, text/plain)
2018-01-15 21:30 UTC, Stefan Böhmann
Details
emerge -pqv '=sys-devel/gcc-7.2.0-r1::gentoo' (emerge_pqv_gcc-7.2.0-r1.txt,392 bytes, text/plain)
2018-01-15 21:31 UTC, Stefan Böhmann
Details
gcc-build-logs.tar.bz2 (gcc-build-logs.tar.bz2,109.60 KB, application/x-bzip-compressed-tar)
2018-01-15 21:33 UTC, Stefan Böhmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Böhmann 2018-01-15 21:30:59 UTC
Created attachment 514992 [details]
emerge --info '=sys-devel/gcc-7.2.0-r1::gentoo'

For some time now gcc-7.2.0 and gcc-7.2.0-r1 fails to compile with error:  cannot find -lc
Comment 1 Stefan Böhmann 2018-01-15 21:31:27 UTC
Created attachment 514994 [details]
emerge -pqv '=sys-devel/gcc-7.2.0-r1::gentoo'
Comment 2 Stefan Böhmann 2018-01-15 21:33:37 UTC
Created attachment 514996 [details]
gcc-build-logs.tar.bz2
Comment 3 Mike Gilbert gentoo-dev 2018-01-15 22:40:51 UTC
It looks like you have the 17.1 profile selected. This profile is NOT intended for general usage.

Did you follow the instructions in the news item?

https://www.gentoo.org/support/news-items/2017-12-26-experimental-amd64-17-1-profiles.html
Comment 4 Stefan Böhmann 2018-01-16 22:25:44 UTC
damn, I've changed blindly from an outdated profile to the latest one. 
My fault... thank you Mike for your help!
Comment 5 Mike Gilbert gentoo-dev 2018-01-16 22:52:59 UTC
(In reply to Stefan Böhmann from comment #4)
> damn, I've changed blindly from an outdated profile to the latest one. 
> My fault... thank you Mike for your help!

No problem. I suspect you could get things working again by restoring the /lib and /usr/lib symlinks, but that's just a guess. If you need further help, I suggest dropping by #gentoo on the Freenode IRC network.