------- Comment #10 from amylaar at gcc dot gnu dot org  2010-01-21 07:53 
-------
(In reply to comment #7)
> At this time I don't know --enable-build-with-cxx enough to contribute much to
> the solution of the specific issue having to to with that configure option,
> just wanted to point out that normal uses of the library don't need the
> parallel mode facilities, thus anything having to do with it could be left 
> out,
> in particular src/parallel_list.cc. I'm assuming of course that even when that
> option is used eventually a normal C++ library is built and installed.

This is actually a very good case in point for 'recursive make considered
harmful' .
We have individual files in libiberty depending on an individual header file
from another library.
If instead of all these sub-makes, we had one big make with a makefile that
includes all the sub-makefiles so that it can see the dependencies at once,
it would be straightforward to specify the exact dependency.

I also suspect that the original ordering problem from pr42813 stems
from --enable-build-with-cxx introducing some dependency of libgomp on
libstdc++-v3, and then make drops one edge from the circular dependency.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36101

Reply via email to