This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36101] deps on other host libraries incorrect
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2010 23:38:40 -0000
- Subject: [Bug libstdc++/36101] deps on other host libraries incorrect
- References: <bug-36101-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from amylaar at gcc dot gnu dot org 2010-01-21 23:38 -------
(In reply to comment #18)
> Yes, marking libgomp as bootstrappable should make a difference. I
> suggest looking at Makefile.in differences from my patches (in the
> dependencies section).
The libgomp bootstrap rules are conditional on:
@if target-libgomp-bootstrap
and this is decided in configure without regard to the contents of Makefile.def
.
I have a patch to hack the dependency of libstdc++-v3 on libgomp into
configure.ac .
configure(.ac) uses language fragments, but these are not really appropriate
for dependencies: libgomp belongs to the C language, but it needs to be
bootstrapped when libstdc++-v3 is boostrapped - which may or may not be
the case when the C++ language is enabled.
If someone has some spare time, (s)he can rewrite that
bit of configure machinery to use Makefile.def .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36101