Summary: | gcc-config not able to handle gcc >=3.4 correctly because gcc libs are now installed to /usr/lib/gcc/ ... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Beutner <imago> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | dietrich.moerman, moonwalker, nefercheprure |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch for gcc-config-1.3.6-r3 |
Description
Peter Beutner
2004-11-26 08:25:20 UTC
Created attachment 44780 [details, diff]
patch for gcc-config-1.3.6-r3
addes handling of new path for gcc libraries in >=gcc-3.4
just seen bug: #72555 which describes the bootstrap failure because of this gcc-config problem(at least i think so) According to the post at http://forums.gentoo.org/viewtopic.php?p=1817027#1817027, this can be fixed by copying /usr/lib/gcc and /usr/lib/gcc-lib over each other. # cp -r /usr/lib/gcc /usr/lib/gcc-lib # cp -r /usr/lib/gcc-lib /usr/lib/gcc @ #3 hmm that would mean to have the libs twice on your hdd ... as the devs seems to intended that new path for gcc>=3.4 (according to toolchain.eclass) the correct way must be to fix gcc-config, not linking/copying the libraries around ;) Yes but this is only a temporary solution of course. oh WOW.... i'm sorry guys, i thought this was taken care of a long time ago, before i removed the gcc->gcc-lib symlink hack from the ebuilds. for the immediate fix that we've been using until recently (due to gentoo utils other than just gcc-config), just make gcc a symlink to gcc-lib. fixed in cvs. *** Bug 72555 has been marked as a duplicate of this bug. *** sys-devel/gcc-3.4.3 and sys-devel/gcc-3.4.3-r1 do not RDEPEND on gcc-config-1.3.6-r4 which was released to fix the bug mentioned here. Currently gcc-3.4.3 and gcc-3.4.3-r1 both contain RDEPEND=>=sys-devel/gcc-config-1.3.1 Based on this, I believe gcc-3.4.3 and gcc-3.4.3-r1 should contain RDEPEND=>=sys-devel/gcc-config-1.3.6-r4 If you run a bootstrap of a stage1 that contains a gcc-config less than 1.3.6-r4 but greater than or equal to 1.3.1 it will not be upgraded when gcc-3.4.3 is installed. The next package installed (glibc in bootstrap at that point) will fail because gcc no longer works, because it's profile is broken. fixed. |