Libstdc++ Configure Error: Link tests are not allowed after GCC_NO_EXECUTABLES
by rocketfuel from LinuxQuestions.org on (#5BSN5)
Hello everyone! This is my first post, so I apologize in advance for my lack of knowledge. I did a forum search (as well as a Google search, etc.) but have been unable to come up with an answer to this issue.
I'm at the beginning stages of LFS 10.0, specifically section 5.6.1, Libstdc++ compilation. Everything has been working smoothly up to this point, and I successfully ran the sanity check from section 5.5.1 to ensure that everything up to this point is copacetic.
I've run into the following error while trying to compile Libstdc++ that causes the configuration process to fail:
"checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES"
The error occurs after issuing this command:
../libstdc++-v3/configure \
--host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/10.2.0
Can anyone please give me some insight on what's going wrong and/or point me in the right direction to apply a fix?
Thank you very much in advance!


I'm at the beginning stages of LFS 10.0, specifically section 5.6.1, Libstdc++ compilation. Everything has been working smoothly up to this point, and I successfully ran the sanity check from section 5.5.1 to ensure that everything up to this point is copacetic.
I've run into the following error while trying to compile Libstdc++ that causes the configuration process to fail:
"checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES"
The error occurs after issuing this command:
../libstdc++-v3/configure \
--host=$LFS_TGT \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/10.2.0
Can anyone please give me some insight on what's going wrong and/or point me in the right direction to apply a fix?
Thank you very much in advance!