This is the mail archive of the
mailing list for the GCC project.
Re: Link tests after GCC_NO_EXECUTABLES
Mark Mitchell wrote:
> Note that libstdc++/configure.ac carefully avoids linking except for
> $GLIBCXX_IS_NATIVE. It's a design property that you should not need to
> link. Where in libstdc++ is it requiring linking?
Jie started the thread back in September, and posted the following call
"libstdc++-v3/configure.ac" AM_PROG_LIBTOOL -> "libtool.m4" LT_INIT ->
_LT_SETUP -> _LT_LANG_C_CONFIG -> LT_SYS_DLOPEN_SELF
which leads to
checking for shl_load... configure: error: Link tests are not allowed
make: *** [configure-target-libstdc++-v3] Error 1
Jie had a patch for that, but I decided to fix it by just making things
link, since I've seen other occurrences of this problem over the years.
It just seems more robust not to require the configure scripts to avoid
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif