Without the attached patch the following error occurs on amd64-linux due to multilib paths: $ gcc-config 1 * Switching native-compiler to x86_64-pc-linux-gnu-4.3.3 ... /tmp/gentoo/usr/bin/gcc-config: line 558: pushd: /tmp/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3:/tmp/gentoo/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/.: No such file or directory (The extraction of the first path of LDPATH has been copied from line 345.)
Created attachment 188818 [details, diff] gcc-config.patch
(In reply to comment #1) > Created an attachment (id=188818) [edit] > gcc-config.patch > grobian: plz2review, I'll fix it with your ack.
That comment sounds familiar, is it something that's in 1.4.0 by chance? Then I just forgot to add it back to 1.4.1. In that case it's ok to commit.
@spanky: doesn't this apply to gentoo-x86 as well? It seems to me LDPATH is resourced again from gcc's env.d file, where LDPATH can contain more than one path (toolchain.eclass:665), hence we need to do the same prayers as before, right?
i cant coordinate that change with what's in gentoo-x86 cvs, so i cant really comment on it (it certainly doesnt apply at all)
I checked the wrong source file, sorry for bothering.
similar patch applied, hope that solves the issue.