This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler
- From: "earthengine at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2008 10:31:40 -0000
- Subject: [Bug libstdc++/35942] Self Reference In Dynamic Linked Library builds for building Cross-Compiler
- References: <bug-35942-16052@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from earthengine at gmail dot com 2008-10-22 10:31 -------
Hi, We have found the reason of this problem. The GCC 4.3+ serials can
automaticaly detect the --build parameter (i686-pc-linux-gnu, or something like
that). However, the previous version will use --host parameter if it has been
specified. In some case (especially mutilib-systems) when using configuring
without --build, then the build system will wrongly detect the --build
parameter, which will cause the libstdc++ to be detected should use a pre-build
version. This causes many problems.
We have solve it with explicitly specify the --build parameter. This should be
written to the manual, and then this issue can be closed.
Thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35942