Hi Michael, On a system with only a normal user account, one cannot do anything to the host gcc. But wait... Getting a closer look at your compiler setup makes me believe there is room for improvement: Your compiler does search the assembler and linker binaries using the PATH environment variable. Please execute: ln -s . "/usr/x86_64-redhat-linux" $ ln -s . "/usr/x86_64-redhat-linux" ln: failed to create symbolic link ‘/usr/x86_64-redhat-linux’: Permission denied It is out of our control. The solution is to always have the latest binutils in Gentoo tree. What do you think? Reproducible: Always
What about this one instead: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=521e9fe1fa9853c0895e89229748eba4ddec61fb
erm, without the testing '|| true' of course. https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ce7f5c5a5d8efb40a227d56075debe9dddbb31f1
Yeah, it works for me. Thanks for the update!
Hi Michael, I am taking a closer look at https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=521e9fe1fa9853c0895e89229748eba4ddec61fb. The comment is reproduced as > RHEL's system gcc is set up to use binutils via PATH search. If > the version of our binutils an older one, they may not provide what > the system gcc is configured to use. We need to direct the > system gcc to find the system binutils. The RHEL binutils is always older than Gentoo. Why would this ever happen? Benda
(In reply to Benda Xu from comment #4) > > RHEL's system gcc is set up to use binutils via PATH search. If > > the version of our binutils an older one, they may not provide what > > the system gcc is configured to use. We need to direct the > > system gcc to find the system binutils. > > The RHEL binutils is always older than Gentoo. Why would this ever happen? This may be true for vanilla Prefix on RHEL, not sure about Fedora though. However, I'm doing VeryLongTermSupport (~20 years) releases of Gentoo Prefix, so there is chance to have newer binutils on the host OS. Beyond that, I could think of binutils features the host compiler does use, but are disabled in Prefix binutils.
bot rpath and standalone bootstraps work these days?